Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterSteamMultiFluidHeatExchanger.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.TestDynamicWaterSteamMultiFluidHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterSteamMultiFluidHeatExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterSteamMultiFluidHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterSteamMultiFluidHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9518/0.9518, allocations: 150.9 MB / 167.2 MB, free: 14.43 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.126e-05, allocations: 2.281 kB / 237.8 MB, free: 1.789 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.TestDynamicWaterSteamMultiFluidHeatExchanger): time 1.838/1.838, allocations: 299.5 MB / 0.5246 GB, free: 8.594 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.7149/2.553, allocations: 201 MB / 0.721 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001573/2.555, allocations: 30.25 kB / 0.721 GB, free: 2.098 MB / 0.5762 GB [/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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/DynamicOnePhaseFlowPipe.mo:150:3-151: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/HeatExchangers/DynamicOnePhaseFlowPipe.mo:152:3-153: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/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/DynamicWaterSteamMultiFluidsHeatExchanger.mo:93:3-94: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/DynamicWaterSteamMultiFluidsHeatExchanger.mo:95:3-96: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/DynamicWaterSteamMultiFluidsHeatExchanger.mo:97:3-98: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/DynamicWaterSteamMultiFluidsHeatExchanger.mo:99:3-100: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/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.001235/2.556, allocations: 424.2 kB / 0.7214 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002635/2.559, allocations: 1.067 MB / 0.7224 GB, free: 2.082 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.05097/2.609, allocations: 15.3 MB / 0.7374 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00632/2.616, allocations: 3.713 MB / 0.741 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003555/2.619, allocations: 1.308 MB / 0.7423 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004818/2.624, allocations: 1.764 MB / 0.744 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003465/2.628, allocations: 1.533 MB / 0.7455 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001288/2.629, allocations: 278.7 kB / 0.7458 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05272/2.682, allocations: 23.45 MB / 0.7687 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.005768/2.688, allocations: 3.591 MB / 0.7722 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.001899/2.69, allocations: 2.181 MB / 0.7743 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006388/2.69, allocations: 300.8 kB / 0.7746 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0004178/2.691, allocations: 46.81 kB / 0.7746 GB, free: 11.06 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: 1023 (373) * Number of variables: 1811 (409) Notification: Performance of Bindings: time 0.0147/2.705, allocations: 13.44 MB / 0.7878 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of FunctionAlias: time 0.003141/2.708, allocations: 2.535 MB / 0.7902 GB, free: 12.43 MB / 0.6075 GB Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_33.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_33.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_33.u Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_33.s Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_33.cp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_33.ddhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_33.ddph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_33.duph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_33.duhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_33.x Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_49.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_49.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_49.u Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_49.s Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_49.cp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_49.ddhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_49.ddph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_49.duph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_49.duhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_49.x Notification: Performance of Early Inline: time 0.0124/2.721, allocations: 10.96 MB / 0.8009 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of simplify1: time 0.0003314/2.721, allocations: 193.2 kB / 0.8011 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of Alias: time 0.01333/2.735, allocations: 10.53 MB / 0.8114 GB, free: 6.438 MB / 0.6231 GB Notification: Performance of simplify2: time 0.0001832/2.735, allocations: 69.3 kB / 0.8115 GB, free: 6.375 MB / 0.6231 GB Notification: Performance of Detect States: time 0.001636/2.736, allocations: 1.571 MB / 0.813 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of Events: time 0.001865/2.738, allocations: 1.639 MB / 0.8146 GB, free: 3.191 MB / 0.6231 GB Error: Internal error NBVariable.getVarPointer failed for $FUN_55.x, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.