Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestTank.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.TestTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestTank") translateModel(ThermoSysPro.Examples.SimpleExamples.TestTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9183/0.9183, allocations: 150.9 MB / 167.2 MB, free: 14.5 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.45e-05/2.453e-05, allocations: 5.266 kB / 237.8 MB, free: 1.746 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.TestTank): time 1.833/1.833, allocations: 297.1 MB / 0.5223 GB, free: 10.83 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6039/2.437, allocations: 187.4 MB / 0.7053 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005498/2.437, allocations: 7 kB / 0.7053 GB, free: 2.047 MB / 0.5762 GB [/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/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/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/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/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/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/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). Notification: Performance of NFTyping.typeComponents: time 0.0007252/2.438, allocations: 231.8 kB / 0.7055 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007083/2.439, allocations: 348.8 kB / 0.7059 GB, free: 2.047 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.03344/2.472, allocations: 11.81 MB / 0.7174 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001713/2.474, allocations: 1.32 MB / 0.7187 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005227/2.474, allocations: 444 kB / 0.7191 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007215/2.475, allocations: 481.7 kB / 0.7196 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005159/2.476, allocations: 460.5 kB / 0.72 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001044/2.476, allocations: 74.7 kB / 0.7201 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03565/2.511, allocations: 19.48 MB / 0.7391 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.001431/2.513, allocations: 1.485 MB / 0.7405 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0004717/2.513, allocations: 0.9389 MB / 0.7415 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002864/2.514, allocations: 152.9 kB / 0.7416 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.000186/2.514, allocations: 26.22 kB / 0.7416 GB, free: 0.7188 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 (161) * Number of variables: 224 (224) Notification: Performance of Bindings: time 0.004229/2.518, allocations: 4.689 MB / 0.7462 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.001412/2.52, allocations: 1.053 MB / 0.7472 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of Early Inline: time 0.004735/2.524, allocations: 3.812 MB / 0.751 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of simplify1: time 0.0004957/2.525, allocations: 270.9 kB / 0.7512 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of Alias: time 0.005426/2.53, allocations: 4.602 MB / 0.7557 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of simplify2: time 0.0003094/2.531, allocations: 206.6 kB / 0.7559 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of Detect States: time 0.0006387/2.531, allocations: 0.6669 MB / 0.7566 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of Events: time 0.0005975/2.532, allocations: 467.1 kB / 0.757 GB, free: 11.67 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.