Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicDrum.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.Fluid.Examples.SimpleExamples.TestDynamicDrum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicDrum") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicDrum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicDrum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.917/0.917, allocations: 150.9 MB / 167.2 MB, free: 14.5 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.887e-05/3.923e-05, allocations: 2.828 kB / 237.8 MB, free: 1.957 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.Fluid.Examples.SimpleExamples.TestDynamicDrum): time 1.958/1.959, allocations: 301 MB / 0.5261 GB, free: 7.07 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6634/2.622, allocations: 200.1 MB / 0.7216 GB, free: 2 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002556/2.625, allocations: 23.94 kB / 0.7216 GB, free: 2 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Volumes/DynamicDrum.mo:134:3-135:75:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Volumes/DynamicDrum.mo:136:3-137:75:writable] Warning: Connector Cm is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Volumes/DynamicDrum.mo:138:3-139:77:writable] Warning: Connector Cd is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Volumes/DynamicDrum.mo:140:3-141:65:writable] Warning: Connector Cv is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Volumes/DynamicDrum.mo:155:3-157:58:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Volumes/DynamicDrum.mo:158:3-159:76:writable] Warning: Connector Ce3 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Volumes/DynamicDrum.mo:160:3-161:66:writable] Warning: Connector Cs is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/ControlValve.mo:44:3-45:68:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/ControlValve.mo:46:3-47:66:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/ControlValve.mo:44:3-45:68:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/ControlValve.mo:46:3-47:66:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/DynamicTwoPhaseFlowPipe.mo:233:3-234:54:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/DynamicTwoPhaseFlowPipe.mo:237:3-238:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/LumpedStraightPipe.mo:54:3-55:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/LumpedStraightPipe.mo:56:3-57:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkQ.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.001582/2.626, allocations: 466.7 kB / 0.722 GB, free: 2 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003484/2.63, allocations: 1.05 MB / 0.7231 GB, free: 1.977 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/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T 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.05579/2.685, allocations: 15.16 MB / 0.7379 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007983/2.693, allocations: 3.969 MB / 0.7418 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003428/2.697, allocations: 1.313 MB / 0.743 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005085/2.702, allocations: 1.72 MB / 0.7447 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004673/2.707, allocations: 1.617 MB / 0.7463 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001494/2.708, allocations: 255.5 kB / 0.7465 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05194/2.76, allocations: 19.88 MB / 0.766 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.006944/2.767, allocations: 4.101 MB / 0.77 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.002493/2.77, allocations: 2.524 MB / 0.7724 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001043/2.771, allocations: 365.7 kB / 0.7728 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.000558/2.771, allocations: 56.75 kB / 0.7728 GB, free: 10.87 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: 1826 (478) * Number of variables: 6646 (563) Notification: Performance of Bindings: time 0.01636/2.788, allocations: 14.16 MB / 0.7867 GB, free: 192 kB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.002818/2.791, allocations: 2.471 MB / 0.7891 GB, free: 13.77 MB / 0.6075 GB Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_28.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_28.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_28.u Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_28.s Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_28.cp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_28.ddhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_28.ddph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_28.duph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_28.duhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_28.x Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_44.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_44.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_44.u Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_44.s Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_44.cp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_44.ddhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_44.ddph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_44.duph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_44.duhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_44.x Notification: Performance of Early Inline: time 0.01436/2.805, allocations: 11.08 MB / 0.7999 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of simplify1: time 0.001362/2.806, allocations: 435.9 kB / 0.8003 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of Alias: time 0.0255/2.832, allocations: 12.25 MB / 0.8123 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of simplify2: time 0.0009414/2.833, allocations: 262.2 kB / 0.8125 GB, free: 4.914 MB / 0.6231 GB Notification: Performance of Detect States: time 0.003626/2.837, allocations: 1.613 MB / 0.8141 GB, free: 3.305 MB / 0.6231 GB Notification: Performance of Events: time 0.003995/2.841, allocations: 1.715 MB / 0.8158 GB, free: 1.609 MB / 0.6231 GB Error: Internal error NBVariable.getVarPointer failed for $FUN_10.x, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.