Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestThreeWayValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestThreeWayValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestThreeWayValve") translateModel(ThermoSysPro.Examples.SimpleExamples.TestThreeWayValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestThreeWayValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.919/0.919, allocations: 150.9 MB / 167.2 MB, free: 14.5 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.458e-05, allocations: 3.375 kB / 237.8 MB, free: 1.781 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestThreeWayValve): time 1.801/1.801, allocations: 296.9 MB / 0.5222 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05456/1.856, allocations: 35.31 MB / 0.5567 GB, free: 7.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007913/1.856, allocations: 8 kB / 0.5567 GB, free: 7.742 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/ThreeWayValve.mo:25:3-27:68:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/ThreeWayValve.mo:28:3-30:66:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/ControlValve.mo:45:3-47:43:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/ControlValve.mo:48:3-50:38:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/ThreeWayValve.mo:43:3-44:54:writable] Warning: Connector C3 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/ControlValve.mo:45:3-47:43:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/ControlValve.mo:48:3-50:38:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeA.mo:25:3-27:42:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeA.mo:28:3-30:37:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeA.mo:31:3-33:37:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeA.mo:38:3-40:43:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/PipePressureLoss.mo:35:3-37:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/PipePressureLoss.mo:38:3-40:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0009792/1.857, allocations: 230.6 kB / 0.5569 GB, free: 7.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001254/1.859, allocations: 357.5 kB / 0.5572 GB, free: 7.168 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.03612/1.895, allocations: 10.1 MB / 0.5671 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002218/1.897, allocations: 1.213 MB / 0.5683 GB, free: 11.86 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008212/1.898, allocations: 469.2 kB / 0.5687 GB, free: 11.41 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008976/1.899, allocations: 422.4 kB / 0.5691 GB, free: 11 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006958/1.899, allocations: 386.1 kB / 0.5695 GB, free: 10.62 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001902/1.9, allocations: 76 kB / 0.5696 GB, free: 10.55 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03357/1.933, allocations: 17.34 MB / 0.5865 GB, free: 9.184 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.001655/1.935, allocations: 1.347 MB / 0.5878 GB, free: 7.82 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 0.000502/1.935, allocations: 0.8928 MB / 0.5887 GB, free: 6.914 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003284/1.936, allocations: 151.6 kB / 0.5888 GB, free: 6.766 MB / 478.1 MB Notification: Performance of FrontEnd: time 0.0002068/1.936, allocations: 23.81 kB / 0.5888 GB, free: 6.742 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 (160) * Number of variables: 223 (223) Notification: Performance of Bindings: time 0.00438/1.94, allocations: 4.685 MB / 0.5934 GB, free: 1.879 MB / 478.1 MB Notification: Performance of FunctionAlias: time 0.0009758/1.941, allocations: 0.8845 MB / 0.5943 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of Early Inline: time 0.003644/1.945, allocations: 3.62 MB / 0.5978 GB, free: 13.29 MB / 494.1 MB Notification: Performance of simplify1: time 0.0001912/1.945, allocations: 203.7 kB / 0.598 GB, free: 13.09 MB / 494.1 MB Notification: Performance of Alias: time 0.006031/1.951, allocations: 5.27 MB / 0.6032 GB, free: 7.438 MB / 494.1 MB Notification: Performance of simplify2: time 0.000204/1.952, allocations: 139.8 kB / 0.6033 GB, free: 7.301 MB / 494.1 MB Notification: Performance of Detect States: time 0.0007745/1.952, allocations: 0.5675 MB / 0.6039 GB, free: 6.711 MB / 494.1 MB Notification: Performance of Events: time 0.0003949/1.953, allocations: 320.2 kB / 0.6042 GB, free: 6.395 MB / 494.1 MB Error: Internal error NBVariable.getVarPointer failed for $FUN_2.x, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.