Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.Examples.Book.SimpleExamples.Volume.TestDynamicDrum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.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.883/0.883, allocations: 150.9 MB / 167.2 MB, free: 14.52 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.877e-05/2.886e-05, allocations: 2.828 kB / 237.7 MB, free: 1.824 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.TestDynamicDrum): time 1.926/1.926, allocations: 300.1 MB / 0.5252 GB, free: 7.855 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.7434/2.669, allocations: 190.4 MB / 0.7112 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002181/2.671, allocations: 21.62 kB / 0.7112 GB, free: 1.781 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/SinkP.mo:33:3-34:47: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.001842/2.673, allocations: 496.8 kB / 0.7117 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003598/2.677, allocations: 0.9704 MB / 0.7126 GB, free: 1.781 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.05748/2.734, allocations: 12.8 MB / 0.7251 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008405/2.743, allocations: 3.486 MB / 0.7285 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002492/2.745, allocations: 1.081 MB / 0.7296 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004549/2.75, allocations: 1.477 MB / 0.731 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003972/2.754, allocations: 1.343 MB / 0.7323 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007141/2.755, allocations: 197 kB / 0.7325 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05275/2.807, allocations: 17.73 MB / 0.7498 GB, free: 324 kB / 0.5762 GB Notification: Performance of combineBinaries: time 0.007335/2.815, allocations: 3.456 MB / 0.7532 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.002717/2.818, allocations: 2.201 MB / 0.7553 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001135/2.819, allocations: 280.2 kB / 0.7556 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0006209/2.819, allocations: 48.09 kB / 0.7556 GB, free: 13.41 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: 1512 (315) * Number of variables: 6332 (453) Notification: Performance of Bindings: time 0.017/2.836, allocations: 12.22 MB / 0.7676 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.003067/2.839, allocations: 2.374 MB / 0.7699 GB, free: 7.246 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.02038/2.86, allocations: 9.498 MB / 0.7792 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of simplify1: time 0.0009422/2.861, allocations: 387.1 kB / 0.7795 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of Alias: time 0.01476/2.876, allocations: 8.862 MB / 0.7882 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of simplify2: time 0.0009365/2.877, allocations: 304 kB / 0.7885 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of Detect States: time 0.002873/2.88, allocations: 2.293 MB / 0.7907 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of Events: time 0.002279/2.882, allocations: 1.307 MB / 0.792 GB, free: 3.629 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.