Dynamic contact processes in systems of thermoviscoelastic bars