Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPressurizer_CC.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.TestPressurizer_CC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPressurizer_CC") translateModel(ThermoSysPro.Examples.SimpleExamples.TestPressurizer_CC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPressurizer_CC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8942/0.8942, allocations: 150.9 MB / 167.2 MB, free: 14.49 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.541e-05/2.541e-05, allocations: 3.391 kB / 237.8 MB, free: 1.777 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.TestPressurizer_CC): time 1.856/1.856, allocations: 297.8 MB / 0.523 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.7381/2.594, allocations: 189.1 MB / 0.7077 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/2.595, allocations: 13.5 kB / 0.7077 GB, free: 2.055 MB / 0.5762 GB [/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). [/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). [/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/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/BoundaryConditions/SinkQ.mo:24:3-26: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/Volumes/Pressurizer.mo:63:3-65:43:writable] Warning: Connector Cas 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/Pressurizer.mo:66:3-67:83: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/Volumes/Pressurizer.mo:83:3-84:83:writable] Warning: Connector Cex 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/SinkQ.mo:24:3-26:16: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.001262/2.597, allocations: 395.7 kB / 0.7081 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001249/2.598, allocations: 479.5 kB / 0.7085 GB, free: 2.055 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. Notification: Performance of NFTyping.typeClassSections: time 0.04213/2.64, allocations: 12.28 MB / 0.7205 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002945/2.643, allocations: 1.663 MB / 0.7221 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/2.644, allocations: 0.7163 MB / 0.7228 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009879/2.645, allocations: 0.5893 MB / 0.7234 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006823/2.646, allocations: 0.5871 MB / 0.724 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001425/2.646, allocations: 107.3 kB / 0.7241 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03516/2.681, allocations: 17.54 MB / 0.7412 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.002179/2.683, allocations: 1.837 MB / 0.743 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0007825/2.684, allocations: 1.182 MB / 0.7442 GB, free: 436 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004573/2.685, allocations: 193.9 kB / 0.7444 GB, free: 412 kB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0003507/2.685, allocations: 39.03 kB / 0.7444 GB, free: 400 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: 273 (206) * Number of variables: 273 (273) Notification: Performance of Bindings: time 0.006038/2.691, allocations: 5.89 MB / 0.7501 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.001103/2.692, allocations: 1.086 MB / 0.7512 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of Early Inline: time 0.003985/2.696, allocations: 4.033 MB / 0.7551 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of simplify1: time 0.0003452/2.696, allocations: 275.8 kB / 0.7554 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of Alias: time 0.007071/2.704, allocations: 5.789 MB / 0.7611 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of simplify2: time 0.0003654/2.704, allocations: 195.8 kB / 0.7612 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of Detect States: time 0.000874/2.705, allocations: 0.8674 MB / 0.7621 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of Events: time 0.0003415/2.705, allocations: 257.5 kB / 0.7623 GB, free: 10.21 MB / 0.5919 GB Error: Internal error NBVariable.getVarPointer failed for $FUN_2.x, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.