Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCompressor.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.TestCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCompressor") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8982/0.8982, allocations: 150.9 MB / 167.2 MB, free: 14.51 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.329e-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.TestCompressor): time 1.884/1.884, allocations: 295.7 MB / 0.521 GB, free: 11.92 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6371/2.521, allocations: 193.1 MB / 0.7095 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004374/2.521, allocations: 4.375 kB / 0.7095 GB, free: 2.07 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/Compressor.mo:19:3-21:16: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/Compressor.mo:22:3-23:52: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/BoundaryConditions/Sink.mo:17:3-19:16: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/SourcePQ.mo:29:3-30:52: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/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.0006825/2.522, allocations: 250.6 kB / 0.7098 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004488/2.522, allocations: 211.8 kB / 0.71 GB, free: 2.07 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.03853/2.561, allocations: 13.51 MB / 0.7231 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009758/2.562, allocations: 0.7136 MB / 0.7238 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003356/2.562, allocations: 233.3 kB / 0.7241 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004819/2.563, allocations: 265.2 kB / 0.7243 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003801/2.563, allocations: 231.2 kB / 0.7245 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.215e-05/2.563, allocations: 35.59 kB / 0.7246 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04251/2.606, allocations: 22.2 MB / 0.7462 GB, free: 1 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.0009785/2.607, allocations: 0.824 MB / 0.7471 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0003406/2.607, allocations: 0.5456 MB / 0.7476 GB, free: 380 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001894/2.607, allocations: 86.98 kB / 0.7477 GB, free: 380 kB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0001474/2.608, allocations: 13.27 kB / 0.7477 GB, free: 380 kB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 (95) * Number of variables: 138 (138) Notification: Performance of Bindings: time 0.003033/2.611, allocations: 2.872 MB / 0.7505 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.000452/2.611, allocations: 381.6 kB / 0.7509 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of Early Inline: time 0.002213/2.613, allocations: 2.043 MB / 0.7528 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of simplify1: time 0.0001204/2.613, allocations: 137.2 kB / 0.753 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of Alias: time 0.003065/2.617, allocations: 2.761 MB / 0.7557 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of simplify2: time 9.399e-05/2.617, allocations: 97.78 kB / 0.7558 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of Detect States: time 0.0002922/2.617, allocations: 360.1 kB / 0.7561 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of Events: time 0.0001811/2.617, allocations: 128.1 kB / 0.7562 GB, free: 13.48 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.