Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestStaticDrum3.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.Book.SimpleExamples.Volume.TestStaticDrum3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestStaticDrum3") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestStaticDrum3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestStaticDrum3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8879/0.8879, allocations: 150.9 MB / 167.2 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.39e-05/3.45e-05, allocations: 3.156 kB / 237.7 MB, free: 1.789 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.Book.SimpleExamples.Volume.TestStaticDrum3): time 1.906/1.906, allocations: 298.9 MB / 0.5241 GB, free: 8.949 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.7819/2.688, allocations: 189.7 MB / 0.7093 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/2.689, allocations: 14.84 kB / 0.7093 GB, free: 1.93 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Junctions/StaticDrum.mo:11:3-13:24:writable] Warning: Connector Ce_eva 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/Junctions/StaticDrum.mo:14:3-16:24:writable] Warning: Connector Ce_eco 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/Junctions/StaticDrum.mo:17:3-18:82:writable] Warning: Connector Cs_sup 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/Junctions/StaticDrum.mo:19:3-21:17:writable] Warning: Connector Cs_eva 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/Junctions/StaticDrum.mo:22:3-23:82:writable] Warning: Connector Cs_sur 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/Junctions/StaticDrum.mo:24:3-26:17:writable] Warning: Connector Cs_purg 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/Junctions/StaticDrum.mo:27:3-29:17:writable] Warning: Connector Ce_steam 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/Junctions/StaticDrum.mo:30:3-32:17:writable] Warning: Connector Ce_sup 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/SingularPressureLoss.mo:25:3-27: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/PressureLosses/SingularPressureLoss.mo:28:3-29: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/PressureLosses/SingularPressureLoss.mo:25:3-27: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/PressureLosses/SingularPressureLoss.mo:28:3-29: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/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/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/Thermal/BoundaryConditions/HeatSink.mo:11:3-13:67:writable] Warning: Connector C is not balanced: The number of potential variables (0) is not equal to the number of flow variables (1). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27: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/PressureLosses/SingularPressureLoss.mo:28:3-29: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/HeatExchangers/DynamicTwoPhaseFlowPipe.mo:184:3-185:48: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/HeatExchangers/DynamicTwoPhaseFlowPipe.mo:188:3-189:46: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/Volumes/VolumeA.mo:25:3-27:42: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/VolumeA.mo:28:3-30:37: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/VolumeA.mo:31:3-33:37: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/Volumes/VolumeA.mo:38:3-40:43:writable] Warning: Connector Cs2 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.001074/2.69, allocations: 375.9 kB / 0.7096 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001581/2.692, allocations: 0.7563 MB / 0.7104 GB, free: 1.93 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.03993/2.732, allocations: 12.44 MB / 0.7225 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005291/2.737, allocations: 2.736 MB / 0.7252 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001577/2.739, allocations: 0.8134 MB / 0.726 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003383/2.742, allocations: 1.2 MB / 0.7272 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001595/2.744, allocations: 1.06 MB / 0.7282 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002309/2.744, allocations: 145.7 kB / 0.7283 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03708/2.781, allocations: 17.6 MB / 0.7455 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.003799/2.785, allocations: 2.776 MB / 0.7482 GB, free: 368 kB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.001525/2.786, allocations: 1.787 MB / 0.75 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005046/2.787, allocations: 233.1 kB / 0.7502 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0003093/2.787, allocations: 38.28 kB / 0.7502 GB, free: 15.25 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: 1367 (287) * Number of variables: 6187 (389) Notification: Performance of Bindings: time 0.01147/2.799, allocations: 10.08 MB / 0.7601 GB, free: 11 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.001955/2.801, allocations: 1.662 MB / 0.7617 GB, free: 10.44 MB / 0.5919 GB Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_8.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_8.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_8.u Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_8.s Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_8.cp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_8.ddhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_8.ddph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_8.duph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_8.duhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_8.x Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_18.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_18.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_18.u Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_18.s Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_18.cp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_18.ddhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_18.ddph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_18.duph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_18.duhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_18.x Notification: Performance of Early Inline: time 0.009708/2.81, allocations: 7.744 MB / 0.7693 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of simplify1: time 0.0004739/2.811, allocations: 260.2 kB / 0.7695 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of Alias: time 0.01182/2.823, allocations: 7.941 MB / 0.7773 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of simplify2: time 0.0004918/2.823, allocations: 168.3 kB / 0.7774 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of Detect States: time 0.002298/2.826, allocations: 1.487 MB / 0.7789 GB, free: 28 kB / 0.5919 GB Notification: Performance of Events: time 0.001898/2.828, allocations: 1.28 MB / 0.7801 GB, free: 14.73 MB / 0.6075 GB Error: Internal error NBVariable.getVarPointer failed for $FUN_3.x, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.