Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.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.Book.SimpleExamples.Volume.TestDynamicDrum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestDynamicDrum") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestDynamicDrum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestDynamicDrum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8752/0.8752, allocations: 150.9 MB / 167.2 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.251e-05/4.313e-05, allocations: 3.047 kB / 237.7 MB, free: 1.82 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.Book.SimpleExamples.Volume.TestDynamicDrum): time 1.816/1.816, allocations: 301.5 MB / 0.5265 GB, free: 6.449 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6603/2.476, allocations: 200.3 MB / 0.7222 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002114/2.479, allocations: 29.47 kB / 0.7222 GB, free: 1.891 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/SinkP.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.001972/2.481, allocations: 0.5466 MB / 0.7227 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004366/2.485, allocations: 1.122 MB / 0.7238 GB, free: 1.871 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.05368/2.539, allocations: 15.26 MB / 0.7387 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007307/2.546, allocations: 4.234 MB / 0.7429 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002338/2.548, allocations: 1.501 MB / 0.7443 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003723/2.552, allocations: 1.807 MB / 0.7461 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003198/2.555, allocations: 1.683 MB / 0.7477 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006368/2.556, allocations: 281.2 kB / 0.748 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04479/2.601, allocations: 20 MB / 0.7675 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.008165/2.609, allocations: 4.414 MB / 0.7719 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.003206/2.612, allocations: 2.727 MB / 0.7745 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00167/2.614, allocations: 400.6 kB / 0.7749 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0007957/2.615, allocations: 73.5 kB / 0.775 GB, free: 10.05 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: 1868 (520) * Number of variables: 6688 (605) Notification: Performance of Bindings: time 0.02419/2.639, allocations: 15.17 MB / 0.7898 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of FunctionAlias: time 0.003305/2.642, allocations: 2.507 MB / 0.7922 GB, free: 10.71 MB / 0.6075 GB Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_21.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_21.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_21.u Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_21.s Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_21.cp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_21.ddhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_21.ddph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_21.duph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_21.duhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_21.x Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_35.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_35.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_35.u Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_35.s Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_35.cp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_35.ddhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_35.ddph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_35.duph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_35.duhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_35.x Notification: Performance of Early Inline: time 0.01634/2.659, allocations: 11.44 MB / 0.8034 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of simplify1: time 0.0009352/2.66, allocations: 464.6 kB / 0.8038 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of Alias: time 0.02161/2.681, allocations: 13.86 MB / 0.8174 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of simplify2: time 0.0008821/2.682, allocations: 288.1 kB / 0.8177 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of Detect States: time 0.003204/2.685, allocations: 2.295 MB / 0.8199 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of Events: time 0.002618/2.688, allocations: 1.38 MB / 0.8212 GB, free: 11.98 MB / 0.6387 GB Error: Internal error NBVariable.getVarPointer failed for $FUN_3.x, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.