Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.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.Fluid.Examples.SimpleExamples.TestSteamEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8723/0.8723, allocations: 150.9 MB / 167.2 MB, free: 14.53 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.172e-05/4.164e-05, allocations: 3.812 kB / 237.8 MB, free: 1.773 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.Fluid.Examples.SimpleExamples.TestSteamEngine): time 1.867/1.867, allocations: 295.3 MB / 0.5206 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.7539/2.621, allocations: 196.2 MB / 0.7122 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004812/2.621, allocations: 8.25 kB / 0.7122 GB, free: 1.676 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/SteamEngine.mo:41:3-42:53:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/SteamEngine.mo:43:3-44:51:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0007775/2.622, allocations: 241.2 kB / 0.7124 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004431/2.623, allocations: 178.2 kB / 0.7126 GB, free: 1.672 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. [/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.05284/2.675, allocations: 14.62 MB / 0.7269 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00113/2.677, allocations: 0.5683 MB / 0.7274 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003502/2.677, allocations: 217.8 kB / 0.7276 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003152/2.677, allocations: 227.5 kB / 0.7278 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002754/2.678, allocations: 201.6 kB / 0.728 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.874e-05/2.678, allocations: 33.81 kB / 0.7281 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05258/2.73, allocations: 24.56 MB / 0.752 GB, free: 15 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.0009514/2.731, allocations: 0.6823 MB / 0.7527 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.000432/2.732, allocations: 450.7 kB / 0.7531 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001808/2.732, allocations: 73.08 kB / 0.7532 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0001436/2.732, allocations: 11.83 kB / 0.7532 GB, free: 14.5 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 (90) * Number of variables: 115 (115) Notification: Performance of Bindings: time 0.003006/2.735, allocations: 2.379 MB / 0.7556 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.0003738/2.735, allocations: 248.8 kB / 0.7558 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of Early Inline: time 0.002/2.737, allocations: 1.625 MB / 0.7574 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of simplify1: time 0.000118/2.738, allocations: 102.1 kB / 0.7575 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of Alias: time 0.003533/2.741, allocations: 2.598 MB / 0.76 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of simplify2: time 6.556e-05/2.741, allocations: 62.78 kB / 0.7601 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of Detect States: time 0.0002757/2.741, allocations: 247 kB / 0.7603 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of Events: time 0.0001675/2.742, allocations: 91.2 kB / 0.7604 GB, free: 11.97 MB / 0.5919 GB Error: Internal error NBVariable.getVarPointer failed for $FUN_1.x, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.