I see. Interesting way of assigning the random seed though.
It is difficult to say why you don’t have atoms in your defined group from this incomplete snippet of the log file. From the doc page “Inserted particles have the specified atom type and are assigned to two groups”. See if it works when you use the assigned group.