update hpm.pu simtools.py