Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicDrum_CC.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_CC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicDrum_CC") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicDrum_CC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicDrum_CC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8603/0.8603, allocations: 150.9 MB / 167.2 MB, free: 14.51 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/1.978e-05, allocations: 3.594 kB / 237.8 MB, free: 1.762 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_CC): time 1.896/1.896, allocations: 301.5 MB / 0.5267 GB, free: 6.617 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.7388/2.634, allocations: 200.3 MB / 0.7223 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002025/2.636, allocations: 34.69 kB / 0.7223 GB, free: 1.914 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.001316/2.638, allocations: 0.5386 MB / 0.7229 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00269/2.641, allocations: 1.125 MB / 0.724 GB, free: 1.895 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.05215/2.693, allocations: 15.26 MB / 0.7389 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007931/2.701, allocations: 4.237 MB / 0.743 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002947/2.704, allocations: 1.504 MB / 0.7445 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004275/2.708, allocations: 1.797 MB / 0.7462 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002797/2.711, allocations: 1.691 MB / 0.7479 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004442/2.711, allocations: 285.2 kB / 0.7481 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04769/2.759, allocations: 20 MB / 0.7677 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.006236/2.765, allocations: 4.413 MB / 0.772 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.002413/2.768, allocations: 2.734 MB / 0.7746 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001075/2.769, allocations: 402.2 kB / 0.775 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0006604/2.769, allocations: 66.44 kB / 0.7751 GB, free: 10.14 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.01861/2.788, allocations: 15.16 MB / 0.7899 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of FunctionAlias: time 0.003253/2.791, allocations: 2.516 MB / 0.7924 GB, free: 10.79 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.01453/2.806, allocations: 11.44 MB / 0.8035 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of simplify1: time 0.0008263/2.807, allocations: 466 kB / 0.804 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of Alias: time 0.01923/2.826, allocations: 13.85 MB / 0.8175 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of simplify2: time 0.0007384/2.827, allocations: 290.5 kB / 0.8178 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of Detect States: time 0.002701/2.829, allocations: 2.3 MB / 0.82 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of Events: time 0.002198/2.832, allocations: 1.389 MB / 0.8214 GB, free: 12.04 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.