The root cause of this issue is when user renames a HW, the mapping name of this HW on Communication Pattern is not changed. There are 2 ways to rename a HW on the interactive simulation window:
Double click on HW node and then rename it.
Right click on HW node and choose "edit".
I have handled both methods above, now user can rename HW without worrying about CP connection.
You can test this issue by the model "TTool/modeling/DIPLODOCUS/Zigbee_Andrea.xml" or you can create a new CP with any model for testing.