Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine.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.TestStodolaTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9003/0.9003, allocations: 150.9 MB / 167.2 MB, free: 14.47 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.025e-05/3.027e-05, allocations: 5.297 kB / 237.8 MB, free: 1.77 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.TestStodolaTurbine): time 1.859/1.859, allocations: 297.3 MB / 0.5225 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05878/1.917, allocations: 45.49 MB / 0.5669 GB, free: 13.21 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000845/1.918, allocations: 8 kB / 0.567 GB, free: 13.21 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/WaterSteam/Volumes/Tank.mo:71:3-72:53: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/Tank.mo:73:3-74:53: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/Volumes/Tank.mo:78:3-79:55: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/Tank.mo:80:3-81:51: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/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). Notification: Performance of NFTyping.typeComponents: time 0.001149/1.919, allocations: 312.6 kB / 0.5673 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001319/1.921, allocations: 381.3 kB / 0.5676 GB, free: 12.53 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.04416/1.965, allocations: 13.54 MB / 0.5808 GB, free: 14.98 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002132/1.967, allocations: 1.424 MB / 0.5822 GB, free: 13.55 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00053/1.968, allocations: 434.7 kB / 0.5826 GB, free: 13.14 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006149/1.968, allocations: 0.506 MB / 0.5831 GB, free: 12.63 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005011/1.969, allocations: 485.8 kB / 0.5836 GB, free: 12.15 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001067/1.969, allocations: 76 kB / 0.5837 GB, free: 12.08 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03916/2.008, allocations: 23.03 MB / 0.6062 GB, free: 5.023 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.001709/2.01, allocations: 1.541 MB / 0.6077 GB, free: 3.465 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005884/2.01, allocations: 0.9775 MB / 0.6086 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002409/2.011, allocations: 151.6 kB / 0.6088 GB, free: 2.324 MB / 494.1 MB Notification: Performance of FrontEnd: time 0.0001873/2.011, allocations: 23.88 kB / 0.6088 GB, free: 2.301 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: 241 (162) * Number of variables: 241 (241) Notification: Performance of Bindings: time 0.005367/2.016, allocations: 5.062 MB / 0.6137 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of FunctionAlias: time 0.001414/2.018, allocations: 1.156 MB / 0.6149 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of Early Inline: time 0.005105/2.023, allocations: 4.51 MB / 0.6193 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of simplify1: time 0.0003224/2.023, allocations: 307.6 kB / 0.6196 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of Alias: time 0.005696/2.029, allocations: 4.613 MB / 0.6241 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of simplify2: time 0.0003576/2.029, allocations: 259.6 kB / 0.6243 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of Detect States: time 0.0008522/2.03, allocations: 0.8249 MB / 0.6251 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of Events: time 0.0008285/2.031, allocations: 0.6753 MB / 0.6258 GB, free: 140 kB / 0.4981 GB Error: Internal error NBVariable.getVarPointer failed for $FUN_1.x, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.