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.8639/0.8639, allocations: 150.9 MB / 167.2 MB, free: 14.5 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004034/0.0004035, allocations: 15.14 kB / 237.8 MB, free: 1.797 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07119/0.07161, allocations: 31.33 MB / 269.1 MB, free: 7.062 MB / 222.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.85/1.922, allocations: 299.5 MB / 0.5553 GB, free: 8.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.6435/2.566, allocations: 196.3 MB / 0.747 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001737/2.567, allocations: 28.12 kB / 0.747 GB, free: 1.75 MB / 0.5919 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.001179/2.569, allocations: 411 kB / 0.7474 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003694/2.572, allocations: 1.281 MB / 0.7486 GB, free: 1.691 MB / 0.5919 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.04003/2.612, allocations: 14.04 MB / 0.7624 GB, free: 1.402 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.009342/2.622, allocations: 7.673 MB / 0.7698 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005397/2.627, allocations: 2.536 MB / 0.7723 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005952/2.633, allocations: 2.477 MB / 0.7747 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006371/2.64, allocations: 2.766 MB / 0.7774 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002133/2.642, allocations: 0.584 MB / 0.778 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04832/2.69, allocations: 23.37 MB / 0.8008 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002537/2.693, allocations: 1.724 MB / 0.8025 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003824/2.696, allocations: 2.316 MB / 0.8048 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.04636/2.743, allocations: 17 MB / 0.8214 GB, free: 2.758 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.565e-06/2.743, allocations: 1.062 kB / 0.8214 GB, free: 2.758 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.944e-06/2.743, allocations: 0 / 0.8214 GB, free: 2.758 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001862/2.743, allocations: 4 kB / 0.8214 GB, free: 2.754 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.02489/2.768, allocations: 6.543 MB / 0.8278 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/2.768, allocations: 8.875 kB / 0.8278 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001634/2.77, allocations: 401.7 kB / 0.8282 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003986/2.774, allocations: 1.816 MB / 0.8299 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001565/2.775, allocations: 1.175 MB / 0.8311 GB, free: 8.719 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001005/2.776, allocations: 292 kB / 0.8314 GB, free: 8.434 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01641/2.793, allocations: 6.56 MB / 0.8378 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001239/2.793, allocations: 1.078 kB / 0.8378 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001166/2.794, allocations: 116 kB / 0.8379 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001281/2.794, allocations: 108 kB / 0.838 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02466/2.819, allocations: 8.925 MB / 0.8467 GB, free: 8.676 MB / 0.6544 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05955/2.878, allocations: 29.78 MB / 0.8758 GB, free: 9.129 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01771/2.896, allocations: 6.747 MB / 0.8824 GB, free: 2.305 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01173/2.908, allocations: 4.641 MB / 0.8869 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8595/3.768, allocations: 226 MB / 1.108 GB, free: 150.9 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001199/3.768, allocations: 70.44 kB / 1.108 GB, free: 150.8 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=589): time 6.803e-06/3.768, allocations: 0 / 1.108 GB, free: 150.8 MB / 0.8262 GB Notification: Performance of matching and sorting (n=589): time 0.1105/3.878, allocations: 27.04 MB / 1.134 GB, free: 129.1 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/3.878, allocations: 91.19 kB / 1.134 GB, free: 129 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/3.88, allocations: 1.1 MB / 1.135 GB, free: 128.2 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.001284/3.881, allocations: 86.7 kB / 1.135 GB, free: 128.2 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000495/3.882, allocations: 0.8311 MB / 1.136 GB, free: 127.6 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.002282/3.884, allocations: 2.053 MB / 1.138 GB, free: 126.1 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001713/3.886, allocations: 0.8743 MB / 1.139 GB, free: 125.5 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 5.239e-05/3.886, allocations: 304.7 kB / 1.139 GB, free: 125.2 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008742/3.895, allocations: 4.013 MB / 1.143 GB, free: 122.5 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009802/3.904, allocations: 4.57 MB / 1.148 GB, free: 119.2 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01974/3.924, allocations: 8.559 MB / 1.156 GB, free: 113.4 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.968e-05/3.924, allocations: 3.562 kB / 1.156 GB, free: 113.4 MB / 0.8262 GB Notification: Performance of matching and sorting (n=675) (initialization): time 0.03486/3.959, allocations: 13.57 MB / 1.169 GB, free: 103.1 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.959e-05/3.959, allocations: 13.66 kB / 1.169 GB, free: 103.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.564e-05/3.959, allocations: 23.98 kB / 1.169 GB, free: 103.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07137/4.031, allocations: 20.62 MB / 1.189 GB, free: 82.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/4.032, allocations: 232.5 kB / 1.19 GB, free: 82.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03824/4.07, allocations: 16.83 MB / 1.206 GB, free: 65.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006683/4.077, allocations: 0.8343 MB / 1.207 GB, free: 64.49 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001149/4.078, allocations: 189.5 kB / 1.207 GB, free: 64.31 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 12 (sourceP1.C.ftype,sourceP.C.ftype,sinkP.fluid,dynamicMultiFluidHeatExchanger.ExchangerFlueGasesMetal.fluid,dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.fluid,sinkP1.fluid,sourceP1.fluid1,sourceP.fluid1,dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.C1.diff_on_2,dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.C2.diff_on_1,dynamicMultiFluidHeatExchanger.ExchangerFlueGasesMetal.C1.diff_on_2,dynamicMultiFluidHeatExchanger.ExchangerFlueGasesMetal.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (23,317)} Notification: Performance of prepare postOptimizeDAE: time 0.00234/4.08, allocations: 0.9352 MB / 1.208 GB, free: 63.39 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008915/4.081, allocations: 282.1 kB / 1.208 GB, free: 63.11 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03682/4.118, allocations: 14.29 MB / 1.222 GB, free: 48.79 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001304/4.118, allocations: 19.92 kB / 1.222 GB, free: 48.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-05/4.118, allocations: 8 kB / 1.222 GB, free: 48.76 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003162/4.121, allocations: 1.237 MB / 1.223 GB, free: 47.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008445/4.122, allocations: 89.17 kB / 1.224 GB, free: 47.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004521/4.127, allocations: 0.5072 MB / 1.224 GB, free: 47 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001015/4.128, allocations: 314.5 kB / 1.224 GB, free: 46.7 MB / 0.8262 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.T2[5], dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.rho2[5], dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.pro2[5].u, dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.pro2[5].s, dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.pro2[5].cp, dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.pro2[5].ddhp, dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.pro2[5].ddph, dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.pro2[5].duph, dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.pro2[5].duhp, dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.pro2[5].x) = $cse18 Variables: 1: dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.rho2[5]:VARIABLE(min = 1e-9 max = 1e5 start = 998.0 unit = "kg/m3" nominal = 1.0 ) "Fluid density in hydraulic node i" type: Real [5] 2: dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.pro2[5].ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real [5] 3: dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.pro2[5].duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real [5] 4: dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.pro2[5].cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real [5] 5: dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.pro2[5].u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real [5] 6: dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.pro2[5].s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real [5] 7: dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.pro2[5].duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real [5] 8: dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.rhol2[5]:VARIABLE(min = 0.0 start = 998.0 unit = "kg/m3" nominal = 998.0 ) "Fluid density in hydraulic node i for the liquid" type: Real [5] 9: dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.rhov2[5]:VARIABLE(min = 0.0 start = 1.0 unit = "kg/m3" nominal = 1.0 ) "Fluid density in hydraulic node i for the vapor" type: Real [5] 10: dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.muv2[5]:VARIABLE(min = 0.0 start = 1e-5 unit = "Pa.s" nominal = 1e-4 ) "Dynamic viscosity in hydraulic node i for the vapor" type: Real [5] [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (1): dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.hb[5] = if dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.Q[5] > 0.0 then dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.h[5] else dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.h[6] 2/2 (10): $cse18 = ThermoSysPro.Properties.Fluid.Ph(0.5 * (dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.P[5] + dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.P[6]), dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.hb[5], dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.mode, dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.fluid) 3/12 (1): dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.xv2[5] = if noEvent(0.5 * (dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.P[5] + dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.P[6]) > dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.pcrit) or noEvent(dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.T2[5] > dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.Tcrit) then 1.0 else dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.pro2[5].x 4/13 (1): dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.filo[5] = if noEvent(dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.xv2[5] < 0.0) then 1.0 else if noEvent(dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.xv2[5] >= 0.0) and noEvent(dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.xv2[5] < 0.8) then 1.0 + /*Real*/(dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.a) * dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.xv2[5] * dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.rgliss * exp((-1.1904761904761906e-7) * dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.Pb[5]) / (19.0 + 1e-5 * dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.Pb[5]) else (5.0 + (-5.0) * dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.xv2[5] * dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.rgliss) * (1.0 + /*Real*/(dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.a) * dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.xv2[5] * dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.rgliss * exp((-1.1904761904761906e-7) * dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.Pb[5]) / (19.0 + 1e-5 * dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.Pb[5])) + (-4.0 + 5.0 * dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.xv2[5] * dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.rgliss) * dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.rhol2[5] * dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.lambdav[5] / (dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.lambdal[5] * dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.rhov2[5]) 5/14 (1): dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.lambdav[5] = if noEvent(dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.Rev2[5] > 1.0) then 0.25 / log10(13.0 / dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.Rev2[5] + dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.rugosrel / (3.7 * dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.D)) ^ 2.0 else 0.01 6/15 (1): dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.Rev2[5] = abs(4.0 * dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.Q[5] / (3.141592653589793 * dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.Di * dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.muv2[5])) 7/16 (1): dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.Rel2[5] = abs(4.0 * dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.Q[5] / (3.141592653589793 * dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.Di * dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.mul2[5])) 8/17 (1): dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.lambdal[5] = if noEvent(dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.Rel2[5] > 1.0) then 0.25 / log10(13.0 / dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.Rel2[5] + dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.rugosrel / (3.7 * dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.D)) ^ 2.0 else 0.01 9/18 (1): dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.khi[5] = dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.filo[5] * dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.lambdal[5] * dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.dx2 / dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.D 10/19 (1): dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.dpf[5] = 0.5 * dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.dpfCorr * dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.khi[5] * dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.Q[5] * abs(dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.Q[5]) / (dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.A ^ 2.0 * dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.rhol2[5]) 11/20 (1): dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.mul2[5] = ThermoSysPro.Properties.Fluid.DynamicViscosity_rhoT(dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.rhol2[5], dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.T2[5], dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.fluid) 12/21 (1): dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.muv2[5] = ThermoSysPro.Properties.Fluid.DynamicViscosity_rhoT(dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.rhov2[5], dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.T2[5], dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.fluid) 13/22 (1): dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.rhov2[5] = if noEvent(dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.P[6] > dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.pcrit) or noEvent(dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.T2[5] > dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.Tcrit) then dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.rho2[5] else min(dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.rho2[5], dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.vsat2[5].rho) 14/23 (1): dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.rhol2[5] = if noEvent(dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.P[6] > dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.pcrit) or noEvent(dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.T2[5] > dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.Tcrit) then dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.rho2[5] else max(dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.rho2[5], dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.lsat2[5].rho) 15/24 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.T2[5], dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.rho2[5], dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.pro2[5].u, dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.pro2[5].s, dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.pro2[5].cp, dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.pro2[5].ddhp, dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.pro2[5].ddph, dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.pro2[5].duph, dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.pro2[5].duhp, dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.pro2[5].x) = $cse18 16/34 (1): dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.dpg[5] = 9.80665 * dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.rho2[5] * (dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.z2 - dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.z1) * dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.dx2 / dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.L 17/35 (1): dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.P[5] + (-dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.dpf[5]) - dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.P[6] - dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.dpg[5] = 0.0 Variables: 1: dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.dpf[5]:VARIABLE(unit = "Pa" ) "Friction pressure loss in node i" type: Real [5] 2: dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.dpg[5]:VARIABLE(unit = "Pa" ) "Gravity pressure loss in node i" type: Real [5] 3: dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.rho2[5]:VARIABLE(min = 1e-9 max = 1e5 start = 998.0 unit = "kg/m3" nominal = 1.0 ) "Fluid density in hydraulic node i" type: Real [5] 4: dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.pro2[5].ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real [5] 5: dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.pro2[5].duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real [5] 6: dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.pro2[5].cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real [5] 7: dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.pro2[5].u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real [5] 8: dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.pro2[5].s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real [5] 9: dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.pro2[5].duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real [5] 10: dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.rhol2[5]:VARIABLE(min = 0.0 start = 998.0 unit = "kg/m3" nominal = 998.0 ) "Fluid density in hydraulic node i for the liquid" type: Real [5] 11: dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.rhov2[5]:VARIABLE(min = 0.0 start = 1.0 unit = "kg/m3" nominal = 1.0 ) "Fluid density in hydraulic node i for the vapor" type: Real [5] 12: dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.muv2[5]:VARIABLE(min = 0.0 start = 1e-5 unit = "Pa.s" nominal = 1e-4 ) "Dynamic viscosity in hydraulic node i for the vapor" type: Real [5] 13: dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.mul2[5]:VARIABLE(min = 0.0 start = 2e-4 unit = "Pa.s" nominal = 2e-4 ) "Dynamic viscosity in hydraulic node i for the liquid" type: Real [5] 14: dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.T2[5]:VARIABLE(min = 200.0 max = 6000.0 start = 288.15 unit = "K" nominal = 300.0 ) "Fluid temperature in hydraulic node i" type: Real [5] 15: dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.pro2[5].ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real [5] 16: dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.khi[5]:VARIABLE() "Hydraulic pressure loss coefficient in node i" type: Real [5] 17: dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.filo[5]:VARIABLE() "Pressure loss coefficient for two-phase flow" type: Real [5] 18: dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.lambdal[5]:VARIABLE(start = 0.03 nominal = 0.03 ) "Friction pressure loss coefficient in node i for the liquid" type: Real [5] 19: dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.Rel2[5]:VARIABLE(start = 6e4 unit = "1" nominal = 5000.0 ) "Reynolds number in hydraulic node i for the liquid" type: Real [5] 20: dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.Q[5]:VARIABLE(start = 3482.228448926616 unit = "kg/s" nominal = 10.0 ) "Mass flow rate in node i" type: Real [5] 21: dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.Rev2[5]:VARIABLE(start = 1000.0 unit = "1" nominal = 5e5 ) "Reynolds number in hydraulic node i for the vapor" type: Real [5] 22: dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.lambdav[5]:VARIABLE(start = 0.03 nominal = 0.03 ) "Friction pressure loss coefficient in node i for the vapor)" type: Real [5] 23: dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.xv2[5]:VARIABLE() "Vapor mass fraction in hydraulic node i" type: Real [5] 24: dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.pro2[5].x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real [5] 25: $cse18.duhp:VARIABLE(protected = true ) type: Real unreplaceable 26: $cse18.x:VARIABLE(protected = true ) type: Real unreplaceable 27: $cse18.duph:VARIABLE(protected = true ) type: Real unreplaceable 28: $cse18.cp:VARIABLE(protected = true ) type: Real unreplaceable 29: $cse18.s:VARIABLE(protected = true ) type: Real unreplaceable 30: $cse18.d:VARIABLE(protected = true ) type: Real unreplaceable 31: $cse18.ddph:VARIABLE(protected = true ) type: Real unreplaceable 32: $cse18.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 33: $cse18.u:VARIABLE(protected = true ) type: Real unreplaceable 34: $cse18.T:VARIABLE(protected = true ) type: Real unreplaceable 35: dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.hb[5]:VARIABLE(start = 1e5 unit = "J/kg" ) "Fluid specific enthalpy at the boundary of node i" type: Real [5] [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9805:5-9806:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002438/4.13, allocations: 2.007 MB / 1.226 GB, free: 44.36 MB / 0.8262 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicFlueGasesMultiFluidHeatExchanger could not be translated