Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3.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.TestStodolaTurbine3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8623/0.8623, allocations: 150.9 MB / 167.2 MB, free: 14.5 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.385e-05/4.418e-05, allocations: 5.406 kB / 237.8 MB, free: 1.922 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.TestStodolaTurbine3): time 1.832/1.832, allocations: 296.7 MB / 0.522 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05544/1.887, allocations: 44.87 MB / 0.5658 GB, free: 14.58 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005897/1.888, allocations: 7.938 kB / 0.5658 GB, free: 14.57 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/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). Notification: Performance of NFTyping.typeComponents: time 0.0009561/1.889, allocations: 307.6 kB / 0.5661 GB, free: 14.27 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001188/1.89, allocations: 369.6 kB / 0.5664 GB, free: 13.91 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.04069/1.931, allocations: 13.23 MB / 0.5793 GB, free: 0.668 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001566/1.932, allocations: 1.203 MB / 0.5805 GB, free: 15.46 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004295/1.933, allocations: 273.9 kB / 0.5808 GB, free: 15.19 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006225/1.933, allocations: 418.4 kB / 0.5812 GB, free: 14.78 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004067/1.934, allocations: 342.3 kB / 0.5815 GB, free: 14.45 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.335e-05/1.934, allocations: 52 kB / 0.5816 GB, free: 14.39 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05561/1.989, allocations: 22.96 MB / 0.604 GB, free: 7.402 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.001375/1.991, allocations: 1.227 MB / 0.6052 GB, free: 6.16 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.000502/1.991, allocations: 0.8428 MB / 0.606 GB, free: 5.305 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002221/1.992, allocations: 115.8 kB / 0.6061 GB, free: 5.191 MB / 494.1 MB Notification: Performance of FrontEnd: time 0.0001632/1.992, allocations: 19.88 kB / 0.6061 GB, free: 5.172 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: 224 (120) * Number of variables: 224 (224) Notification: Performance of Bindings: time 0.004845/1.997, allocations: 4.537 MB / 0.6106 GB, free: 480 kB / 494.1 MB Notification: Performance of FunctionAlias: time 0.001315/1.998, allocations: 1.15 MB / 0.6117 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of Early Inline: time 0.004145/2.002, allocations: 3.998 MB / 0.6156 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simplify1: time 0.000228/2.002, allocations: 227.6 kB / 0.6158 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of Alias: time 0.005388/2.008, allocations: 4.132 MB / 0.6198 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of simplify2: time 0.0004782/2.008, allocations: 175.7 kB / 0.62 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of Detect States: time 0.0009521/2.009, allocations: 0.7456 MB / 0.6207 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of Events: time 0.0008649/2.01, allocations: 0.5589 MB / 0.6213 GB, free: 5 MB / 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.