Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|pipe1.mediums.1..h|pipe1.mediums.1..p|pipe2.mediums.1..h|pipe2.mediums.1..p|pipe3.mediums.1..h|pipe3.mediums.1..p|valve1.filter.x.1.|valve1.filter.x.2.|valve2.filter.x.1.|valve2.filter.x.2.|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent|valveOpening2.a|valveOpening2.b|valveOpening2.last|valveOpening2.nextEvent",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|pipe1.mediums.1..h|pipe1.mediums.1..p|pipe2.mediums.1..h|pipe2.mediums.1..p|pipe3.mediums.1..h|pipe3.mediums.1..p|valve1.filter.x.1.|valve1.filter.x.2.|valve2.filter.x.1.|valve2.filter.x.2.|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent|valveOpening2.a|valveOpening2.b|valveOpening2.last|valveOpening2.nextEvent",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001319/0.001319, allocations: 200.2 kB / 16.75 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 226.5 MB / 244.1 MB, free: 8.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009135/0.0009135, allocations: 105.3 kB / 296.1 MB, free: 6.871 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3523/0.3523, allocations: 44.81 MB / 392.9 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003472, allocations: 11.98 kB / 465.9 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2991, allocations: 62.95 MB / 0.5165 GB, free: 37.03 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1): time 0.0645/0.3636, allocations: 87.55 MB / 0.602 GB, free: 1.707 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.04134/0.405, allocations: 34.37 MB / 0.6356 GB, free: 15.27 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002894/0.4079, allocations: 91.25 kB / 0.6356 GB, free: 15.18 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002649/0.4106, allocations: 1.018 MB / 0.6366 GB, free: 14.16 MB / 458.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01807/0.4287, allocations: 6.438 MB / 0.6429 GB, free: 7.715 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01999/0.4487, allocations: 7.465 MB / 0.6502 GB, free: 276 kB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.01039/0.4591, allocations: 8.026 MB / 0.6581 GB, free: 8.223 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002853/0.4619, allocations: 1.312 MB / 0.6593 GB, free: 6.891 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03186/0.4938, allocations: 18.91 MB / 0.6778 GB, free: 3.969 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2991/0.7929, allocations: 19.43 MB / 0.6968 GB, free: 35.84 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009052/0.7939, allocations: 111.3 kB / 0.6969 GB, free: 35.84 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0184/0.8123, allocations: 9.696 MB / 0.7063 GB, free: 35.82 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001667/0.814, allocations: 0.8373 MB / 0.7072 GB, free: 35.82 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001913/0.8159, allocations: 1.283 MB / 0.7084 GB, free: 35.79 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01159/0.8275, allocations: 6.537 MB / 0.7148 GB, free: 35.57 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.8276, allocations: 4 kB / 0.7148 GB, free: 35.56 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.8276, allocations: 0 / 0.7148 GB, free: 35.56 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.998e-05/0.8276, allocations: 2.734 kB / 0.7148 GB, free: 35.56 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.01001/0.8376, allocations: 3.758 MB / 0.7185 GB, free: 33.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.8377, allocations: 7 kB / 0.7185 GB, free: 33.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005018/0.8427, allocations: 0.8293 MB / 0.7193 GB, free: 33.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00263/0.8454, allocations: 1.61 MB / 0.7209 GB, free: 33.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/0.8455, allocations: 171 kB / 0.721 GB, free: 33.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003082/0.8458, allocations: 201.6 kB / 0.7212 GB, free: 33.19 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006485/0.8523, allocations: 3.62 MB / 0.7248 GB, free: 32.75 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.701e-05/0.8524, allocations: 6.906 kB / 0.7248 GB, free: 32.75 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002261/0.8526, allocations: 82.3 kB / 0.7248 GB, free: 32.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002226/0.8529, allocations: 201.8 kB / 0.725 GB, free: 32.75 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00688/0.8597, allocations: 3.52 MB / 0.7285 GB, free: 31.43 MB / 490.7 MB 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.01515/0.8749, allocations: 14.81 MB / 0.7429 GB, free: 17.84 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004802/0.8797, allocations: 2.226 MB / 0.7451 GB, free: 16.25 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001714/0.8815, allocations: 1.167 MB / 0.7463 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04501/0.9265, allocations: 27.44 MB / 0.7731 GB, free: 1.07 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00438/0.9309, allocations: 1.68 MB / 0.7747 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001116/0.9321, allocations: 186.4 kB / 0.7749 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=162): time 4.418e-06/0.9321, allocations: 2.844 kB / 0.7749 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=174): time 0.02408/0.9562, allocations: 9.273 MB / 0.7839 GB, free: 8.426 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002016/0.9564, allocations: 332.1 kB / 0.7842 GB, free: 8.031 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002382/0.9588, allocations: 1.709 MB / 0.7859 GB, free: 6.711 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000198/0.959, allocations: 62.02 kB / 0.786 GB, free: 6.668 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007297/0.9598, allocations: 1.002 MB / 0.787 GB, free: 6.059 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004844/0.9603, allocations: 0.584 MB / 0.7875 GB, free: 5.562 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.9604, allocations: 42.25 kB / 0.7876 GB, free: 5.551 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.9606, allocations: 388 kB / 0.7879 GB, free: 5.199 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002031/0.9626, allocations: 1.156 MB / 0.7891 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002356/0.965, allocations: 1.643 MB / 0.7907 GB, free: 3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004336/0.9693, allocations: 2.907 MB / 0.7935 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.708e-05/0.9694, allocations: 3.938 kB / 0.7935 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of matching and sorting (n=266) (initialization): time 0.006347/0.9757, allocations: 3.575 MB / 0.797 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003283/0.9761, allocations: 0.5142 MB / 0.7975 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.3e-05/0.9761, allocations: 16 kB / 0.7975 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004697/0.9808, allocations: 0.9795 MB / 0.7985 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001945/0.9828, allocations: 479.2 kB / 0.7989 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00272/0.9855, allocations: 3.142 MB / 0.802 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002168/0.9877, allocations: 233.4 kB / 0.8022 GB, free: 9.309 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/0.9879, allocations: 102.3 kB / 0.8023 GB, free: 9.227 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.9879, allocations: 4 kB / 0.8023 GB, free: 9.223 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00599/0.9939, allocations: 3.261 MB / 0.8055 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.974e-05/0.994, allocations: 16 kB / 0.8055 GB, free: 6.965 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/0.9954, allocations: 386.7 kB / 0.8059 GB, free: 6.652 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001947/0.9973, allocations: 0.5004 MB / 0.8064 GB, free: 6.203 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003841/1.001, allocations: 4.097 MB / 0.8104 GB, free: 2.434 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0021/1.003, allocations: 230.4 kB / 0.8106 GB, free: 2.242 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002829/1.004, allocations: 108.6 kB / 0.8107 GB, free: 2.156 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 29 (pipe3.state_a.phase,pipe2.state_a.phase,pipe1.state_b.phase,pipe1.state_a.phase,valve2.state_b.phase,valve2.state_a.phase,valve1.state_b.phase,valve1.state_a.phase,$whenCondition1,$whenCondition2,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe2.statesFM[2].phase,pipe3.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent,valveOpening2.nextEventScaled,pipe3.state_b.phase,pipe2.state_b.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (228): * Single equations (assignments): 218 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 1,1 1,3 19} Notification: Performance of prepare postOptimizeDAE: time 0.001542/1.005, allocations: 0.7592 MB / 0.8114 GB, free: 1.602 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005263/1.006, allocations: 221.4 kB / 0.8117 GB, free: 1.383 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01096/1.017, allocations: 7.942 MB / 0.8194 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008641/1.025, allocations: 6.963 MB / 0.8262 GB, free: 7.246 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/1.025, allocations: 0 / 0.8262 GB, free: 7.246 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001529/1.027, allocations: 0.7484 MB / 0.8269 GB, free: 6.609 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006009/1.028, allocations: 54.3 kB / 0.827 GB, free: 6.586 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001894/1.029, allocations: 234.7 kB / 0.8272 GB, free: 6.387 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003267/1.03, allocations: 146.4 kB / 0.8274 GB, free: 6.258 MB / 0.5417 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:522:7-524:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (1): pipe3.m_flows[1] + pipe2.m_flows[1] - pipe1.m_flows[2] = 0.0 2/2 (1): $cse28 = max(pipe1.m_flows[2], 1e-07) 3/3 (1): pipe3.statesFM[1].h = ($cse12 * pipe2.mediums[1].h + $cse28 * pipe1.mediums[1].h) / ($cse12 + $cse28) 4/4 (1): $cse12 = max(-pipe2.m_flows[1], 1e-07) 5/5 (1): pipe2.m_flows[1] = $cse26 * pipe2.flowModel.nParallel 6/6 (1): $cse26 = ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1.pipe2.flowModel.WallFriction.massFlowRate_dp_staticHead(pipe2.flowModel.dps_fg[1], pipe2.flowModel.rhos[1], pipe2.statesFM[2].d, pipe2.flowModel.mus[1], pipe2.flowModel.mus[2], 10.0, pipe2.dimensions[1], pipe2.flowModel.g * pipe2.flowModel.dheights[1], pipe2.crossAreas[1], pipe2.roughnesses[1], pipe2.flowModel.dp_small, 4000.0) 7/7 (1): pipe2.flowModel.dps_fg[1] = (-2.0) * pipe2.flowModel.Fs_p[1] / (2.0 * pipe2.crossAreas[1] * pipe2.flowModel.nParallel) 8/8 (1): pipe2.flowModel.Fs_p[1] = pipe2.flowModel.nParallel * pipe2.crossAreas[1] * (pipe2.mediums[1].p - pipe3.statesFM[1].p) 9/9 (1): pipe1.flowModel.mus[3] = Modelica.Media.Water.IF97_Utilities.dynamicViscosity(pipe1.flowModel.rhos[3], pipe1.statesFM[3].T, pipe3.statesFM[1].p, 0, true) 10/10 (1): $cse9 = ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1.pipe1.flowModel.WallFriction.massFlowRate_dp_staticHead(pipe1.flowModel.dps_fg[2], pipe1.statesFM[2].d, pipe1.flowModel.rhos[3], pipe1.flowModel.mus[2], pipe1.flowModel.mus[3], 5.0, pipe1.dimensions[1], pipe1.flowModel.g * pipe1.flowModel.dheights[2], pipe1.crossAreas[1], pipe1.roughnesses[1], 0.5 * pipe1.flowModel.dp_small, 4000.0) 11/11 (1): pipe1.flowModel.rhos[3] = $cse11.rho 12/12 (16): $cse11 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(pipe3.statesFM[1].p, pipe1.statesFM[3].h, 0, 0) 13/28 (1): pipe1.statesFM[3].T = $cse11.T 14/29 (1): pipe1.statesFM[3].h = ($cse12 * pipe2.mediums[1].h + $cse13 * pipe3.mediums[1].h) / ($cse12 + $cse13) 15/30 (1): $cse13 = max(-pipe3.m_flows[1], 1e-07) 16/31 (1): pipe3.m_flows[1] = $cse33 * pipe3.flowModel.nParallel 17/32 (1): $cse33 = ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1.pipe3.flowModel.WallFriction.massFlowRate_dp_staticHead(pipe3.flowModel.dps_fg[1], pipe3.flowModel.rhos[1], pipe3.statesFM[2].d, pipe3.flowModel.mus[1], pipe3.flowModel.mus[2], 10.0, pipe3.dimensions[1], pipe3.flowModel.g * pipe3.flowModel.dheights[1], pipe3.crossAreas[1], pipe3.roughnesses[1], pipe3.flowModel.dp_small, 4000.0) 18/33 (1): pipe3.flowModel.mus[1] = Modelica.Media.Water.IF97_Utilities.dynamicViscosity(pipe3.flowModel.rhos[1], pipe3.statesFM[1].T, pipe3.statesFM[1].p, 0, true) 19/34 (1): pipe3.flowModel.rhos[1] = $cse34.rho 20/35 (16): $cse34 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(pipe3.statesFM[1].p, pipe3.statesFM[1].h, 0, 0) 21/51 (1): pipe3.statesFM[1].T = $cse34.T 22/52 (1): pipe2.statesFM[1].h = ($cse13 * pipe3.mediums[1].h + $cse28 * pipe1.mediums[1].h) / ($cse13 + $cse28) 23/53 (16): $cse27 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(pipe3.statesFM[1].p, pipe2.statesFM[1].h, 0, 0) 24/69 (1): pipe2.flowModel.rhos[1] = $cse27.rho 25/70 (1): pipe2.flowModel.mus[1] = Modelica.Media.Water.IF97_Utilities.dynamicViscosity(pipe2.flowModel.rhos[1], pipe2.statesFM[1].T, pipe3.statesFM[1].p, 0, true) 26/71 (1): pipe2.statesFM[1].T = $cse27.T 27/72 (1): pipe3.flowModel.Fs_p[1] = pipe3.flowModel.nParallel * pipe3.crossAreas[1] * (pipe3.mediums[1].p - pipe3.statesFM[1].p) 28/73 (1): pipe3.flowModel.dps_fg[1] = (-2.0) * pipe3.flowModel.Fs_p[1] / (2.0 * pipe3.crossAreas[1] * pipe3.flowModel.nParallel) 29/74 (1): pipe1.flowModel.Fs_p[2] = pipe1.crossAreas[1] * (pipe3.statesFM[1].p - pipe1.mediums[1].p) * pipe1.flowModel.nParallel 30/75 (1): pipe1.flowModel.dps_fg[2] = (-pipe1.flowModel.Fs_p[2]) / (pipe1.flowModel.nParallel * pipe1.crossAreas[1]) 31/76 (1): pipe1.m_flows[2] = $cse9 * pipe1.flowModel.nParallel Variables: 1: $cse9:VARIABLE(protected = true ) type: Real unreplaceable 2: pipe1.flowModel.dps_fg[2]:VARIABLE(start = 25000.0 unit = "Pa" ) "Pressure drop between states" type: Real [2] 3: pipe1.flowModel.Fs_p[2]:VARIABLE(unit = "N" ) "Pressure forces" type: Real [2] 4: pipe3.flowModel.dps_fg[1]:VARIABLE(start = 50000.0 unit = "Pa" ) "Pressure drop between states" type: Real [1] 5: pipe3.flowModel.Fs_p[1]:VARIABLE(unit = "N" ) "Pressure forces" type: Real [1] 6: pipe2.statesFM[1].T:VARIABLE(min = 273.15 max = 2273.15 start = 500.0 unit = "K" nominal = 500.0 ) "Temperature" type: Real [2] 7: pipe2.flowModel.mus[1]:VARIABLE(min = 0.0 max = 100000000.0 start = 0.001 unit = "Pa.s" nominal = 0.001 ) type: Real [2] 8: pipe2.flowModel.rhos[1]:VARIABLE(min = 0.0 max = 100000.0 start = 150.0 unit = "kg/m3" nominal = 500.0 ) type: Real [2] 9: $cse27.region:DISCRETE(protected = true ) type: Integer unreplaceable 10: $cse27.s:VARIABLE(protected = true ) type: Real unreplaceable 11: $cse27.h:VARIABLE(protected = true ) type: Real unreplaceable 12: $cse27.phase:DISCRETE(protected = true ) type: Integer unreplaceable 13: $cse27.pt:VARIABLE(protected = true ) type: Real unreplaceable 14: $cse27.vp:VARIABLE(protected = true ) type: Real unreplaceable 15: $cse27.p:VARIABLE(protected = true ) type: Real unreplaceable 16: $cse27.rho:VARIABLE(protected = true ) type: Real unreplaceable 17: $cse27.dpT:VARIABLE(protected = true ) type: Real unreplaceable 18: $cse27.T:VARIABLE(protected = true ) type: Real unreplaceable 19: $cse27.x:VARIABLE(protected = true ) type: Real unreplaceable 20: $cse27.R_s:VARIABLE(protected = true ) type: Real unreplaceable 21: $cse27.pd:VARIABLE(protected = true ) type: Real unreplaceable 22: $cse27.vt:VARIABLE(protected = true ) type: Real unreplaceable 23: $cse27.cp:VARIABLE(protected = true ) type: Real unreplaceable 24: $cse27.cv:VARIABLE(protected = true ) type: Real unreplaceable 25: pipe2.statesFM[1].h:VARIABLE(min = -10000000000.0 max = 10000000000.0 start = 100000.0 unit = "J/kg" nominal = 500000.0 ) "Specific enthalpy" type: Real [2] 26: pipe3.statesFM[1].T:VARIABLE(min = 273.15 max = 2273.15 start = 500.0 unit = "K" nominal = 500.0 ) "Temperature" type: Real [2] 27: $cse34.p:VARIABLE(protected = true ) type: Real unreplaceable 28: $cse34.region:DISCRETE(protected = true ) type: Integer unreplaceable 29: $cse34.phase:DISCRETE(protected = true ) type: Integer unreplaceable 30: $cse34.T:VARIABLE(protected = true ) type: Real unreplaceable 31: $cse34.cv:VARIABLE(protected = true ) type: Real unreplaceable 32: $cse34.R_s:VARIABLE(protected = true ) type: Real unreplaceable 33: $cse34.rho:VARIABLE(protected = true ) type: Real unreplaceable 34: $cse34.x:VARIABLE(protected = true ) type: Real unreplaceable 35: $cse34.cp:VARIABLE(protected = true ) type: Real unreplaceable 36: $cse34.dpT:VARIABLE(protected = true ) type: Real unreplaceable 37: $cse34.h:VARIABLE(protected = true ) type: Real unreplaceable 38: pipe3.statesFM[1].h:VARIABLE(min = -10000000000.0 max = 10000000000.0 start = 100000.0 unit = "J/kg" nominal = 500000.0 ) "Specific enthalpy" type: Real [2] 39: $cse34.s:VARIABLE(protected = true ) type: Real unreplaceable 40: $cse34.vt:VARIABLE(protected = true ) type: Real unreplaceable 41: $cse34.pt:VARIABLE(protected = true ) type: Real unreplaceable 42: $cse34.vp:VARIABLE(protected = true ) type: Real unreplaceable 43: $cse34.pd:VARIABLE(protected = true ) type: Real unreplaceable 44: pipe3.flowModel.mus[1]:VARIABLE(min = 0.0 max = 100000000.0 start = 0.001 unit = "Pa.s" nominal = 0.001 ) type: Real [2] 45: pipe3.flowModel.rhos[1]:VARIABLE(min = 0.0 max = 100000.0 start = 150.0 unit = "kg/m3" nominal = 500.0 ) type: Real [2] 46: $cse33:VARIABLE(protected = true ) type: Real unreplaceable 47: pipe3.m_flows[1]:VARIABLE(min = -9.999999999999999e+59 max = 100000.0 start = 0.0 unit = "kg/s" ) "Mass flow rates of fluid across segment boundaries" type: Real [2] 48: $cse13:VARIABLE(protected = true ) type: Real unreplaceable 49: pipe1.statesFM[3].T:VARIABLE(min = 273.15 max = 2273.15 start = 500.0 unit = "K" nominal = 500.0 ) "Temperature" type: Real [3] 50: $cse11.dpT:VARIABLE(protected = true ) type: Real unreplaceable 51: $cse11.s:VARIABLE(protected = true ) type: Real unreplaceable 52: $cse11.rho:VARIABLE(protected = true ) type: Real unreplaceable 53: $cse11.R_s:VARIABLE(protected = true ) type: Real unreplaceable 54: $cse11.cv:VARIABLE(protected = true ) type: Real unreplaceable 55: $cse11.region:DISCRETE(protected = true ) type: Integer unreplaceable 56: $cse11.vt:VARIABLE(protected = true ) type: Real unreplaceable 57: $cse11.pt:VARIABLE(protected = true ) type: Real unreplaceable 58: $cse11.p:VARIABLE(protected = true ) type: Real unreplaceable 59: $cse11.h:VARIABLE(protected = true ) type: Real unreplaceable 60: $cse11.x:VARIABLE(protected = true ) type: Real unreplaceable 61: $cse11.T:VARIABLE(protected = true ) type: Real unreplaceable 62: $cse11.vp:VARIABLE(protected = true ) type: Real unreplaceable 63: $cse11.pd:VARIABLE(protected = true ) type: Real unreplaceable 64: pipe1.statesFM[3].h:VARIABLE(min = -10000000000.0 max = 10000000000.0 start = 100000.0 unit = "J/kg" nominal = 500000.0 ) "Specific enthalpy" type: Real [3] 65: $cse11.cp:VARIABLE(protected = true ) type: Real unreplaceable 66: $cse11.phase:DISCRETE(protected = true ) type: Integer unreplaceable 67: pipe1.flowModel.rhos[3]:VARIABLE(min = 0.0 max = 100000.0 start = 150.0 unit = "kg/m3" nominal = 500.0 ) type: Real [3] 68: pipe1.flowModel.mus[3]:VARIABLE(min = 0.0 max = 100000000.0 start = 0.001 unit = "Pa.s" nominal = 0.001 ) type: Real [3] 69: pipe3.statesFM[1].p:VARIABLE(min = 611.657 max = 100000000.0 start = 5000000.0 unit = "Pa" nominal = 1000000.0 ) "Pressure" type: Real [2] 70: pipe2.flowModel.Fs_p[1]:VARIABLE(unit = "N" ) "Pressure forces" type: Real [1] 71: pipe2.flowModel.dps_fg[1]:VARIABLE(start = 50000.0 unit = "Pa" ) "Pressure drop between states" type: Real [1] 72: $cse26:VARIABLE(protected = true ) type: Real unreplaceable 73: pipe2.m_flows[1]:VARIABLE(min = -9.999999999999999e+59 max = 100000.0 start = 0.0 unit = "kg/s" ) "Mass flow rates of fluid across segment boundaries" type: Real [2] 74: $cse12:VARIABLE(protected = true ) type: Real unreplaceable 75: $cse28:VARIABLE(protected = true ) type: Real unreplaceable 76: pipe1.m_flows[2]:VARIABLE(min = -9.999999999999999e+59 max = 100000.0 start = 0.0 unit = "kg/s" ) "Mass flow rates of fluid across segment boundaries" type: Real [2] [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9741:5-9742:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002839/1.033, allocations: 2.663 MB / 0.83 GB, free: 3.273 MB / 0.5417 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.