Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicTwoPhaseFlowPipe.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.TestDiffusion_DynamicTwoPhaseFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicTwoPhaseFlowPipe") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicTwoPhaseFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicTwoPhaseFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9395/0.9395, allocations: 150.9 MB / 167.2 MB, free: 14.52 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.517e-05/4.519e-05, allocations: 5.469 kB / 237.8 MB, free: 1.746 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.TestDiffusion_DynamicTwoPhaseFlowPipe): time 1.999/1.999, allocations: 300.5 MB / 0.5256 GB, free: 7.219 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.7284/2.727, allocations: 195.7 MB / 0.7168 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001655/2.729, allocations: 32.19 kB / 0.7168 GB, free: 1.477 MB / 0.5762 GB [/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/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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SwitchValve.mo:36:3-37:55: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/SwitchValve.mo:38:3-40:35: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/BoundaryConditions/SourceQ.mo:62:3-63: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.001335/2.73, allocations: 495.2 kB / 0.7173 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003518/2.734, allocations: 1.32 MB / 0.7186 GB, free: 1.461 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.04841/2.782, allocations: 13.76 MB / 0.732 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008169/2.79, allocations: 4.59 MB / 0.7365 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002178/2.793, allocations: 1.336 MB / 0.7378 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004896/2.797, allocations: 2.249 MB / 0.74 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004381/2.802, allocations: 1.957 MB / 0.7419 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000815/2.803, allocations: 258.4 kB / 0.7422 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06272/2.865, allocations: 21.14 MB / 0.7628 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.008135/2.874, allocations: 4.404 MB / 0.7671 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.003217/2.877, allocations: 2.74 MB / 0.7698 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001051/2.878, allocations: 314.1 kB / 0.7701 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0004872/2.878, allocations: 55.8 kB / 0.7701 GB, free: 9.727 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: 3006 (408) * Number of variables: 12646 (494) Notification: Performance of Bindings: time 0.02227/2.901, allocations: 16.12 MB / 0.7859 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of FunctionAlias: time 0.004528/2.905, allocations: 3.062 MB / 0.7889 GB, free: 10.7 MB / 0.6075 GB Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_7.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_7.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_7.u Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_7.s Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_7.cp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_7.ddhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_7.ddph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_7.duph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_7.duhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_7.x Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_23.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_23.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_23.u Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_23.s Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_23.cp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_23.ddhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_23.ddph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_23.duph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_23.duhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_23.x Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_45.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_45.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_45.u Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_45.s Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_45.cp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_45.ddhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_45.ddph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_45.duph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_45.duhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_45.x Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_61.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_61.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_61.u Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_61.s Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_61.cp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_61.ddhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_61.ddph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_61.duph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_61.duhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_61.x Notification: Performance of Early Inline: time 0.02021/2.925, allocations: 13.77 MB / 0.8023 GB, free: 13 MB / 0.6231 GB Notification: Performance of simplify1: time 0.0004899/2.926, allocations: 236.4 kB / 0.8025 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of Alias: time 0.01536/2.941, allocations: 10.41 MB / 0.8127 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of simplify2: time 0.0003797/2.942, allocations: 129.9 kB / 0.8128 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of Detect States: time 0.002809/2.945, allocations: 2.082 MB / 0.8148 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of Events: time 0.003567/2.948, allocations: 2.373 MB / 0.8172 GB, free: 13.34 MB / 0.6387 GB Error: Internal error NBVariable.getVarPointer failed for $FUN_29.x, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.