Thanks very much for your notification. The problem occurs only at properties added by user. The change will be saved in the model but the problem is that the model is not marked as modified. We will deal with it. CR # 46 805.
Current workaround:
To save the changes right after you executed the script:
a] select Save As
b] make a manual change in the model (e.g. just move an entity box in WS) and select Save.