Do run double precision. The message it too small but it seems you are executing a macro which transforms an interior to wall and back I guess. Probably here an issue is occurring. Are you using dynamic mesh events? Can you try that without any events:, just try changing boundaries back and forth for testing.