With a rhythmic whistle, a black train was moving along the track and draining thick black smoke.