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.8369/0.8369, allocations: 150.9 MB / 167.2 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003539, allocations: 16.09 kB / 237.8 MB, free: 1.773 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06145/0.06182, allocations: 31.35 MB / 269.1 MB, free: 7.051 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.655/1.716, allocations: 299.3 MB / 0.5551 GB, free: 8.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5174/2.234, allocations: 196.3 MB / 0.7468 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/2.235, allocations: 27.25 kB / 0.7468 GB, free: 1.789 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.001092/2.237, allocations: 391.9 kB / 0.7472 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003689/2.24, allocations: 1.247 MB / 0.7484 GB, free: 1.73 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.03887/2.279, allocations: 13.82 MB / 0.7619 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007306/2.286, allocations: 7.667 MB / 0.7694 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003757/2.29, allocations: 2.545 MB / 0.7719 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004602/2.295, allocations: 2.474 MB / 0.7743 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005032/2.3, allocations: 2.754 MB / 0.777 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001771/2.302, allocations: 0.5802 MB / 0.7776 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04852/2.35, allocations: 23.39 MB / 0.8004 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002812/2.353, allocations: 1.727 MB / 0.8021 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004586/2.358, allocations: 2.322 MB / 0.8044 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.04524/2.403, allocations: 16.97 MB / 0.8209 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/2.403, allocations: 0 / 0.8209 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.424e-06/2.403, allocations: 0.875 kB / 0.8209 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002288/2.403, allocations: 3.938 kB / 0.821 GB, free: 2.984 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.02358/2.427, allocations: 6.379 MB / 0.8272 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/2.427, allocations: 12.03 kB / 0.8272 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/2.428, allocations: 380.6 kB / 0.8276 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003793/2.432, allocations: 1.813 MB / 0.8293 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001299/2.433, allocations: 1.171 MB / 0.8305 GB, free: 9.152 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000961/2.434, allocations: 287.9 kB / 0.8307 GB, free: 8.871 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01613/2.45, allocations: 6.558 MB / 0.8371 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.678e-05/2.45, allocations: 6.531 kB / 0.8372 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000483/2.451, allocations: 116 kB / 0.8373 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.642e-05/2.451, allocations: 108 kB / 0.8374 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02232/2.473, allocations: 8.929 MB / 0.8461 GB, free: 9.102 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.05747/2.531, allocations: 29.74 MB / 0.8751 GB, free: 9.586 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01536/2.546, allocations: 6.745 MB / 0.8817 GB, free: 2.758 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01063/2.557, allocations: 4.633 MB / 0.8862 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8102/3.367, allocations: 226 MB / 1.107 GB, free: 151.6 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000104/3.367, allocations: 74.62 kB / 1.107 GB, free: 151.5 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=589): time 8.065e-06/3.367, allocations: 0 / 1.107 GB, free: 151.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=589): time 0.1096/3.477, allocations: 27.03 MB / 1.133 GB, free: 129.9 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/3.477, allocations: 90.34 kB / 1.133 GB, free: 129.8 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/3.478, allocations: 1.1 MB / 1.135 GB, free: 129 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0009615/3.479, allocations: 90.64 kB / 1.135 GB, free: 128.9 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003912/3.479, allocations: 0.803 MB / 1.135 GB, free: 128.3 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001612/3.481, allocations: 1.957 MB / 1.137 GB, free: 126.6 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001565/3.483, allocations: 0.8725 MB / 1.138 GB, free: 126 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 4.069e-05/3.483, allocations: 301.1 kB / 1.138 GB, free: 125.7 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007683/3.49, allocations: 4.02 MB / 1.142 GB, free: 123 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008741/3.499, allocations: 4.565 MB / 1.147 GB, free: 119.7 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01717/3.516, allocations: 8.562 MB / 1.155 GB, free: 113.9 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.931e-05/3.516, allocations: 4 kB / 1.155 GB, free: 113.9 MB / 0.8262 GB Notification: Performance of matching and sorting (n=675) (initialization): time 0.02949/3.546, allocations: 13.55 MB / 1.168 GB, free: 103.6 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.931e-05/3.546, allocations: 17.64 kB / 1.168 GB, free: 103.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.035e-05/3.546, allocations: 16 kB / 1.169 GB, free: 103.6 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06702/3.613, allocations: 20.62 MB / 1.189 GB, free: 82.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009728/3.614, allocations: 238.9 kB / 1.189 GB, free: 82.69 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03155/3.646, allocations: 16.81 MB / 1.205 GB, free: 65.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005756/3.652, allocations: 0.8268 MB / 1.206 GB, free: 64.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001066/3.653, allocations: 187.8 kB / 1.206 GB, free: 64.71 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.002486/3.655, allocations: 0.9345 MB / 1.207 GB, free: 63.79 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009637/3.656, allocations: 268.6 kB / 1.207 GB, free: 63.52 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03474/3.691, allocations: 14.29 MB / 1.221 GB, free: 49.15 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001469/3.691, allocations: 20.86 kB / 1.221 GB, free: 49.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.507e-05/3.691, allocations: 8 kB / 1.221 GB, free: 49.12 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003792/3.695, allocations: 1.218 MB / 1.223 GB, free: 47.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00114/3.696, allocations: 79.94 kB / 1.223 GB, free: 47.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004909/3.701, allocations: 0.5076 MB / 1.223 GB, free: 47.29 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001341/3.702, allocations: 322.5 kB / 1.223 GB, free: 46.98 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.002267/3.705, allocations: 2.006 MB / 1.225 GB, free: 44.64 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