Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1.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.TestStodolaTurbine1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8679/0.8679, allocations: 150.9 MB / 167.2 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.54e-05/3.561e-05, allocations: 3.391 kB / 237.8 MB, free: 1.75 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.TestStodolaTurbine1): time 2.01/2.01, allocations: 296.7 MB / 0.5219 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05519/2.065, allocations: 44.94 MB / 0.5658 GB, free: 15.24 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006009/2.066, allocations: 4 kB / 0.5658 GB, free: 15.23 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/StodolaTurbine.mo:59:3-61:16:writable] Warning: Connector Ce 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/Machines/StodolaTurbine.mo:62:3-63:52:writable] Warning: Connector Cs 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/Machines/StodolaTurbine.mo:67:3-71:23:writable] Warning: Connector M is not balanced: The number of potential variables (2) 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/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/Machines/DynamicCentrifugalPump.mo:71:3-75:23:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/DynamicCentrifugalPump.mo:76:3-77:48: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/Machines/DynamicCentrifugalPump.mo:78:3-79:45: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/ElectroMechanics/Machines/Shaft.mo:13:3-15:47:writable] Warning: Connector C2 is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/ElectroMechanics/Machines/Shaft.mo:16:3-18:49:writable] Warning: Connector C1 is not balanced: The number of potential variables (2) 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/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). Notification: Performance of NFTyping.typeComponents: time 0.0008267/2.067, allocations: 290.1 kB / 0.5661 GB, free: 14.95 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000731/2.068, allocations: 325.7 kB / 0.5664 GB, free: 14.63 MB / 462.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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1445:9-1445:35:writable] Warning: h 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_Ps.mo:71:3-71: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_Ps.mo:71:3-71: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. Notification: Performance of NFTyping.typeClassSections: time 0.03901/2.107, allocations: 13.27 MB / 0.5794 GB, free: 1.359 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001931/2.109, allocations: 1.126 MB / 0.5805 GB, free: 236 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004596/2.109, allocations: 308.9 kB / 0.5807 GB, free: 15.93 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005475/2.11, allocations: 402.3 kB / 0.5811 GB, free: 15.54 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003802/2.11, allocations: 350.2 kB / 0.5815 GB, free: 15.2 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.279e-05/2.11, allocations: 56 kB / 0.5815 GB, free: 15.14 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0428/2.153, allocations: 22.98 MB / 0.604 GB, free: 8.133 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.00115/2.154, allocations: 1.208 MB / 0.6051 GB, free: 6.91 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.000455/2.154, allocations: 0.8081 MB / 0.6059 GB, free: 6.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002018/2.155, allocations: 123.6 kB / 0.606 GB, free: 5.969 MB / 494.1 MB Notification: Performance of FrontEnd: time 0.0001788/2.155, allocations: 23.88 kB / 0.6061 GB, free: 5.945 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 (129) * Number of variables: 208 (208) Notification: Performance of Bindings: time 0.003824/2.159, allocations: 4.254 MB / 0.6102 GB, free: 1.602 MB / 494.1 MB Notification: Performance of FunctionAlias: time 0.0009547/2.16, allocations: 0.9977 MB / 0.6112 GB, free: 0.582 MB / 494.1 MB Notification: Performance of Early Inline: time 0.003445/2.163, allocations: 3.459 MB / 0.6146 GB, free: 13.07 MB / 0.4982 GB Notification: Performance of simplify1: time 0.0002258/2.163, allocations: 219.7 kB / 0.6148 GB, free: 12.86 MB / 0.4982 GB Notification: Performance of Alias: time 0.00465/2.168, allocations: 3.915 MB / 0.6186 GB, free: 8.629 MB / 0.4982 GB Notification: Performance of simplify2: time 0.0002522/2.168, allocations: 171.7 kB / 0.6188 GB, free: 8.461 MB / 0.4982 GB Notification: Performance of Detect States: time 0.0007144/2.169, allocations: 0.6551 MB / 0.6194 GB, free: 7.781 MB / 0.4982 GB Notification: Performance of Events: time 0.0003846/2.169, allocations: 333.2 kB / 0.6197 GB, free: 7.453 MB / 0.4982 GB Error: Internal error NBVariable.getVarPointer failed for $FUN_1.x, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.