Hi Michele,
Omar Valsson suggested an (admittedly ad hoc) solution.
We can use any conversion factor in PLUMED for the time units.
As a result, simply adding UNITS TIME=2.4188843e-05/20.0 to the plumed.dat file should print the correct physical time in PLUMED in a.u. (assuming a time step of 20 a.u. is used in i-PI, otherwise this factor needs to be changed).
Notice that if you are using different units in i-PI, for example fs with a time step of 0.5 fs, this factor will be UNITS TIME=2.4188843e-05/0.5
Lastly, note that, as written in the PLUMED manual, all input/output will then be made using the i-PI units.
To conclude, you can add UNITS TIME=2.4188843e-05/iPI_TIMESTEP to plumed.dat to get the physical time printed in COLVAR in i-PI units.
Michele, do you think this fix may cause any problems while interfacing with i-PI? I guess not, because i-PI has its own variables keeping track of the time..
Thanks,
Barak