Dusty galaxies in the Epoch of Reionization: simulations