Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.Examples.SimpleExamples.TestDynamicDrum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9278/0.9278, allocations: 150.9 MB / 167.2 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.066e-05/3.069e-05, allocations: 2.828 kB / 237.8 MB, free: 1.758 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.TestDynamicDrum): time 1.888/1.888, allocations: 299.5 MB / 0.5247 GB, free: 8.336 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6419/2.53, allocations: 190.2 MB / 0.7104 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/2.531, allocations: 12.89 kB / 0.7105 GB, free: 1.836 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/DynamicDrum.mo:96:3-98:48: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/DynamicDrum.mo:99:3-101:48:writable] Warning: Connector Cm 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/DynamicDrum.mo:102:3-104:50:writable] Warning: Connector Cd 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/DynamicDrum.mo:105:3-107:46:writable] Warning: Connector Cv 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/DynamicDrum.mo:121:3-123:47: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/DynamicDrum.mo:124:3-126:49:writable] Warning: Connector Ce3 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/DynamicDrum.mo:127:3-129:47: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/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/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/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). Notification: Performance of NFTyping.typeComponents: time 0.001142/2.532, allocations: 406 kB / 0.7108 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001901/2.534, allocations: 0.8726 MB / 0.7117 GB, free: 1.836 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.03992/2.574, allocations: 12.69 MB / 0.7241 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005599/2.58, allocations: 3.113 MB / 0.7271 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001345/2.581, allocations: 0.8386 MB / 0.728 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002203/2.583, allocations: 1.349 MB / 0.7293 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001637/2.585, allocations: 1.204 MB / 0.7304 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002601/2.585, allocations: 161 kB / 0.7306 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04126/2.626, allocations: 17.63 MB / 0.7478 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.005223/2.632, allocations: 3.069 MB / 0.7508 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.001897/2.633, allocations: 1.942 MB / 0.7527 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005793/2.634, allocations: 238.3 kB / 0.7529 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0003354/2.634, allocations: 35.5 kB / 0.753 GB, free: 14.36 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: 1459 (271) * Number of variables: 6279 (400) Notification: Performance of Bindings: time 0.01194/2.646, allocations: 10.91 MB / 0.7636 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.002465/2.649, allocations: 2.153 MB / 0.7657 GB, free: 8.777 MB / 0.5919 GB Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_15.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_15.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_15.u Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_15.s Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_15.cp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_15.ddhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_15.ddph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_15.duph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_15.duhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_15.x Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_25.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_25.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_25.u Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_25.s Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_25.cp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_25.ddhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_25.ddph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_25.duph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_25.duhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_25.x Notification: Performance of Early Inline: time 0.009795/2.659, allocations: 8.606 MB / 0.7741 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of simplify1: time 0.0005509/2.659, allocations: 333.2 kB / 0.7745 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of Alias: time 0.01106/2.67, allocations: 7.366 MB / 0.7816 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of simplify2: time 0.0004047/2.671, allocations: 266.2 kB / 0.7819 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of Detect States: time 0.002525/2.673, allocations: 2.053 MB / 0.7839 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of Events: time 0.001881/2.675, allocations: 1.225 MB / 0.7851 GB, free: 10.45 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.