Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicTwoPhaseFlowRiser.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.TestDynamicTwoPhaseFlowRiser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicTwoPhaseFlowRiser") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicTwoPhaseFlowRiser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicTwoPhaseFlowRiser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8939/0.8939, allocations: 150.9 MB / 167.2 MB, free: 14.5 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.377e-05/4.416e-05, allocations: 5.734 kB / 237.8 MB, free: 1.941 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.TestDynamicTwoPhaseFlowRiser): time 1.959/1.959, allocations: 297.4 MB / 0.5226 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.7149/2.674, allocations: 193 MB / 0.7111 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000707/2.675, allocations: 19.06 kB / 0.7111 GB, free: 1.984 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/DynamicTwoPhaseFlowRiser.mo:243:3-244:52: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/DynamicTwoPhaseFlowRiser.mo:247:3-248:50: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.0008552/2.676, allocations: 320.1 kB / 0.7114 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001554/2.677, allocations: 0.7394 MB / 0.7121 GB, free: 1.984 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.04358/2.721, allocations: 12.88 MB / 0.7247 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004721/2.725, allocations: 2.511 MB / 0.7272 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009528/2.726, allocations: 0.6957 MB / 0.7278 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002242/2.729, allocations: 1.255 MB / 0.7291 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/2.73, allocations: 1.067 MB / 0.7301 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002049/2.73, allocations: 135.7 kB / 0.7302 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03949/2.77, allocations: 20.02 MB / 0.7498 GB, free: 172 kB / 0.5762 GB Notification: Performance of combineBinaries: time 0.0032/2.773, allocations: 2.369 MB / 0.7521 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.001102/2.774, allocations: 1.482 MB / 0.7535 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003234/2.775, allocations: 162.1 kB / 0.7537 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0002581/2.775, allocations: 22.23 kB / 0.7537 GB, free: 14.71 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: 1654 (202) * Number of variables: 6474 (245) Notification: Performance of Bindings: time 0.007743/2.783, allocations: 8.562 MB / 0.7621 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.001553/2.784, allocations: 1.544 MB / 0.7636 GB, free: 10.71 MB / 0.5919 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 Notification: Performance of Early Inline: time 0.006672/2.791, allocations: 7.035 MB / 0.7705 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of simplify1: time 0.0002058/2.791, allocations: 112.8 kB / 0.7706 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of Alias: time 0.006479/2.798, allocations: 4.863 MB / 0.7753 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of simplify2: time 0.0001379/2.798, allocations: 64.52 kB / 0.7754 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of Detect States: time 0.001471/2.799, allocations: 1.114 MB / 0.7765 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of Events: time 0.001628/2.801, allocations: 1.206 MB / 0.7776 GB, free: 2.422 MB / 0.5919 GB Error: Internal error NBVariable.getVarPointer failed for $FUN_29.x, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.