Molecular dynamics simulation of the inverted temperature gradient phenomenon