Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicFlueGasesMultiFluidHeatExchanger.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.TestDynamicFlueGasesMultiFluidHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicFlueGasesMultiFluidHeatExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicFlueGasesMultiFluidHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicFlueGasesMultiFluidHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9185/0.9185, allocations: 150.9 MB / 167.2 MB, free: 14.55 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.732e-05/2.754e-05, allocations: 2.281 kB / 237.8 MB, free: 1.766 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.TestDynamicFlueGasesMultiFluidHeatExchanger): time 1.92/1.921, allocations: 299.4 MB / 0.5246 GB, free: 8.164 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6787/2.599, allocations: 196.3 MB / 0.7163 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00184/2.601, allocations: 29.72 kB / 0.7163 GB, free: 2.262 MB / 0.5762 GB [/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/HeatExchangers/StaticWallFlueGasesExchanger.mo:123:3-124: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/StaticWallFlueGasesExchanger.mo:127:3-128: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/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/HeatExchangers/DynamicFlueGasesMultiFluidHeatExchanger.mo:82:3-83:51:writable] Warning: Connector Cfg1 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/DynamicFlueGasesMultiFluidHeatExchanger.mo:84:3-85:53:writable] Warning: Connector Cfg2 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/DynamicFlueGasesMultiFluidHeatExchanger.mo:86:3-87:54:writable] Warning: Connector Cws1 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/DynamicFlueGasesMultiFluidHeatExchanger.mo:88:3-89:52:writable] Warning: Connector Cws2 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/SourcePQ.mo:74:3-75: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/Sink.mo:39:3-40: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.001269/2.602, allocations: 410.8 kB / 0.7167 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004218/2.607, allocations: 1.284 MB / 0.718 GB, free: 2.258 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.04908/2.656, allocations: 14.03 MB / 0.7317 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006667/2.662, allocations: 3.578 MB / 0.7352 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001955/2.664, allocations: 1.309 MB / 0.7365 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003283/2.668, allocations: 1.677 MB / 0.7381 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001788/2.67, allocations: 1.461 MB / 0.7395 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003754/2.67, allocations: 265.2 kB / 0.7398 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04993/2.72, allocations: 22.14 MB / 0.7614 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.00694/2.727, allocations: 3.528 MB / 0.7648 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.002214/2.729, allocations: 2.134 MB / 0.7669 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008075/2.73, allocations: 297 kB / 0.7672 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0004669/2.73, allocations: 46.12 kB / 0.7673 GB, free: 12.16 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: 954 (364) * Number of variables: 1742 (402) Notification: Performance of Bindings: time 0.01694/2.747, allocations: 12.8 MB / 0.7798 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.003034/2.75, allocations: 2.319 MB / 0.782 GB, free: 1.59 MB / 0.5919 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_37.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_37.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_37.u Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_37.s Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_37.cp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_37.ddhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_37.ddph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_37.duph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_37.duhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_37.x Notification: Performance of Early Inline: time 0.01275/2.763, allocations: 10.37 MB / 0.7922 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of simplify1: time 0.0005603/2.764, allocations: 227.2 kB / 0.7924 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of Alias: time 0.01516/2.779, allocations: 10.3 MB / 0.8024 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of simplify2: time 0.0003037/2.779, allocations: 98.7 kB / 0.8025 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of Detect States: time 0.002446/2.782, allocations: 1.75 MB / 0.8042 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of Events: time 0.002253/2.784, allocations: 1.515 MB / 0.8057 GB, free: 9.078 MB / 0.6231 GB Error: Internal error NBVariable.getVarPointer failed for $FUN_43.x, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.