How long can a locomotive run for