Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSwitchValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9176/0.9176, allocations: 152.6 MB / 170.8 MB, free: 6.219 MB / 142.1 MB " [Timeout remaining time 179] 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.TestSwitchValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSwitchValve") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSwitchValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSwitchValve") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.789e-05/2.789e-05, allocations: 3.828 kB / 247.5 MB, free: 6.25 MB / 206.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.TestSwitchValve): time 1.794/1.794, allocations: 302.1 MB / 0.5367 GB, free: 8.602 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5404/2.335, allocations: 187.4 MB / 0.7197 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000426/2.335, allocations: 4 kB / 0.7197 GB, free: 5.723 MB / 0.5762 GB [/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/SwitchValve.mo:37:3-39: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/SwitchValve.mo:40:3-42: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/LumpedStraightPipe.mo:49:3-50: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/LumpedStraightPipe.mo:51:3-53: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/PressureLosses/LumpedStraightPipe.mo:49:3-50: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/LumpedStraightPipe.mo:51:3-53:37:writable] Warning: Connector C2 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.0005875/2.336, allocations: 166.9 kB / 0.7199 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005586/2.336, allocations: 226.3 kB / 0.7201 GB, free: 5.336 MB / 0.5762 GB [/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.03869/2.375, allocations: 11.58 MB / 0.7314 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001468/2.376, allocations: 0.8934 MB / 0.7323 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003487/2.377, allocations: 248.1 kB / 0.7325 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000486/2.377, allocations: 350.7 kB / 0.7328 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003171/2.377, allocations: 250.8 kB / 0.7331 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.919e-05/2.378, allocations: 40 kB / 0.7331 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04061/2.418, allocations: 19.5 MB / 0.7522 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of combineBinaries: time 0.001126/2.419, allocations: 0.9733 MB / 0.7531 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of replaceArrayConstructors: time 0.0004532/2.42, allocations: 0.6314 MB / 0.7537 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001637/2.42, allocations: 91.75 kB / 0.7538 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of FrontEnd: time 0.0001168/2.42, allocations: 19.88 kB / 0.7538 GB, free: 2.734 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 (99) * Number of variables: 145 (145) Notification: Performance of Bindings: time 0.002813/2.423, allocations: 2.525 MB / 0.7563 GB, free: 52 kB / 0.6075 GB Notification: Performance of FunctionAlias: time 0.0004916/2.423, allocations: 376.6 kB / 0.7567 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of Early Inline: time 0.00204/2.425, allocations: 1.726 MB / 0.7584 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of Simplify 1: time 0.0003502/2.426, allocations: 259.5 kB / 0.7586 GB, free: 13.61 MB / 0.6231 GB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of Alias: time 0.003178/2.429, allocations: 2.24 MB / 0.7608 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of Simplify 2: time 0.0002277/2.429, allocations: 187.7 kB / 0.761 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of Remove Stream: time 0.0002232/2.429, allocations: 175.6 kB / 0.7611 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of Detect States: time 0.0003948/2.43, allocations: 324.5 kB / 0.7614 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of Events: time 0.0002284/2.43, allocations: 158.9 kB / 0.7616 GB, free: 10.23 MB / 0.6231 GB Error: Internal error NBVariable.getVarPointer failed for $FUN_2.T, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace. " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 4.340284968726337]