Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum3.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.TestDynamicDrum3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum3") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8501/0.8501, allocations: 150.9 MB / 167.2 MB, free: 14.55 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.217e-05/4.219e-05, allocations: 4.812 kB / 237.8 MB, free: 1.754 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.TestDynamicDrum3): time 1.877/1.877, allocations: 299.5 MB / 0.5247 GB, free: 8.508 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.7091/2.586, allocations: 190.2 MB / 0.7104 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001525/2.588, allocations: 13.59 kB / 0.7105 GB, free: 1.824 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.001264/2.589, allocations: 404.9 kB / 0.7108 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002602/2.591, allocations: 0.8762 MB / 0.7117 GB, free: 1.824 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.04602/2.637, allocations: 12.68 MB / 0.7241 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006173/2.644, allocations: 3.113 MB / 0.7271 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001794/2.645, allocations: 0.8387 MB / 0.7279 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0033/2.649, allocations: 1.351 MB / 0.7293 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002826/2.652, allocations: 1.201 MB / 0.7304 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003645/2.652, allocations: 163.8 kB / 0.7306 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04249/2.695, allocations: 17.62 MB / 0.7478 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.004946/2.7, allocations: 3.075 MB / 0.7508 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.002191/2.702, allocations: 1.945 MB / 0.7527 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007375/2.702, allocations: 237.2 kB / 0.7529 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0003605/2.703, allocations: 38.47 kB / 0.753 GB, free: 14.4 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.01246/2.715, allocations: 10.91 MB / 0.7636 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.002858/2.718, allocations: 2.149 MB / 0.7657 GB, free: 8.848 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.01032/2.729, allocations: 8.616 MB / 0.7741 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of simplify1: time 0.0005792/2.729, allocations: 330.4 kB / 0.7744 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of Alias: time 0.01155/2.741, allocations: 7.352 MB / 0.7816 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of simplify2: time 0.0005609/2.741, allocations: 271.7 kB / 0.7819 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of Detect States: time 0.002518/2.744, allocations: 2.053 MB / 0.7839 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of Events: time 0.001819/2.746, allocations: 1.234 MB / 0.7851 GB, free: 10.56 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.