Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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|valveIncompressible.filter.x.1.|valveIncompressible.filter.x.2.|valveIncompressible1.filter.x.1.|valveIncompressible1.filter.x.2.|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent|valveOpening2.a|valveOpening2.b|valveOpening2.last|valveOpening2.nextEvent",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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|valveIncompressible.filter.x.1.|valveIncompressible.filter.x.2.|valveIncompressible1.filter.x.1.|valveIncompressible1.filter.x.2.|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent|valveOpening2.a|valveOpening2.b|valveOpening2.last|valveOpening2.nextEvent",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008989/0.0008986, allocations: 178.5 kB / 17.39 MB, free: 4.297 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.393/1.393, allocations: 205.4 MB / 223.5 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008332/0.0008331, allocations: 100.9 kB / 271.9 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3688/0.3688, allocations: 43.55 MB / 363.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003935/0.0003937, allocations: 16 kB / 432.6 MB, free: 5.594 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1147, allocations: 58.85 MB / 491.5 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12): time 0.2531/0.3679, allocations: 87.44 MB / 0.5653 GB, free: 3.598 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.04867/0.4166, allocations: 35.16 MB / 0.5997 GB, free: 9.863 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003928/0.4206, allocations: 100.8 kB / 0.5998 GB, free: 9.816 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003729/0.4243, allocations: 1.027 MB / 0.6008 GB, free: 8.957 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0219/0.4463, allocations: 6.702 MB / 0.6073 GB, free: 3.586 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02322/0.4695, allocations: 7.302 MB / 0.6145 GB, free: 12.29 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.009734/0.4793, allocations: 8.011 MB / 0.6223 GB, free: 4.254 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002688/0.482, allocations: 1.326 MB / 0.6236 GB, free: 2.922 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005337/0.4873, allocations: 2.25 MB / 0.6258 GB, free: 0.6641 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02933/0.5167, allocations: 19.44 MB / 0.6447 GB, free: 13.21 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008438/0.5176, allocations: 120 kB / 0.6449 GB, free: 13.1 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02117/0.5388, allocations: 9.952 MB / 0.6546 GB, free: 3.133 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001858/0.5407, allocations: 0.8372 MB / 0.6554 GB, free: 2.293 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002173/0.5428, allocations: 1.293 MB / 0.6567 GB, free: 0.9883 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01386/0.5567, allocations: 6.732 MB / 0.6632 GB, free: 10.24 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.5568, allocations: 4 kB / 0.6632 GB, free: 10.23 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5568, allocations: 0 / 0.6632 GB, free: 10.23 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.806e-05/0.5568, allocations: 0 / 0.6632 GB, free: 10.23 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.01113/0.568, allocations: 3.828 MB / 0.667 GB, free: 6.328 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.568, allocations: 8.031 kB / 0.667 GB, free: 6.32 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00551/0.5736, allocations: 0.8242 MB / 0.6678 GB, free: 5.492 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2547/0.8283, allocations: 6.638 MB / 0.6743 GB, free: 144.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002558/0.8286, allocations: 171.3 kB / 0.6744 GB, free: 144.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005341/0.8292, allocations: 199 kB / 0.6746 GB, free: 144.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008633/0.8378, allocations: 3.623 MB / 0.6782 GB, free: 143.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.678e-05/0.8379, allocations: 8.375 kB / 0.6782 GB, free: 143.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002469/0.8382, allocations: 91.86 kB / 0.6783 GB, free: 143.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000293/0.8385, allocations: 196.5 kB / 0.6784 GB, free: 143.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007788/0.8462, allocations: 3.516 MB / 0.6819 GB, free: 143.2 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.01774/0.864, allocations: 14.8 MB / 0.6963 GB, free: 132.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004716/0.8688, allocations: 2.23 MB / 0.6985 GB, free: 131.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001727/0.8706, allocations: 1.174 MB / 0.6997 GB, free: 131.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04449/0.9151, allocations: 24.87 MB / 0.7239 GB, free: 115.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005354/0.9205, allocations: 1.688 MB / 0.7256 GB, free: 114.6 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001527/0.922, allocations: 181.5 kB / 0.7258 GB, free: 114.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=162): time 1.449e-05/0.9221, allocations: 0 / 0.7258 GB, free: 114.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=174): time 0.02874/0.9508, allocations: 9.258 MB / 0.7348 GB, free: 110.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.288e-05/0.951, allocations: 333.2 kB / 0.7351 GB, free: 110.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002868/0.9538, allocations: 1.708 MB / 0.7368 GB, free: 109.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002776/0.9541, allocations: 59.05 kB / 0.7368 GB, free: 109.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008269/0.955, allocations: 1.007 MB / 0.7378 GB, free: 108.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006496/0.9556, allocations: 0.5915 MB / 0.7384 GB, free: 107.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002101/0.9559, allocations: 41 kB / 0.7384 GB, free: 107.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.956, allocations: 386 kB / 0.7388 GB, free: 107.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002304/0.9583, allocations: 1.155 MB / 0.7399 GB, free: 106.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002389/0.9607, allocations: 1.641 MB / 0.7415 GB, free: 105.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004278/0.965, allocations: 2.906 MB / 0.7444 GB, free: 103 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-05/0.9651, allocations: 4 kB / 0.7444 GB, free: 103 MB / 490.7 MB Notification: Performance of matching and sorting (n=266) (initialization): time 0.00647/0.9715, allocations: 3.567 MB / 0.7479 GB, free: 99.37 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002643/0.9718, allocations: 0.5138 MB / 0.7484 GB, free: 98.67 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.431e-05/0.9719, allocations: 16 kB / 0.7484 GB, free: 98.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004497/0.9764, allocations: 0.9824 MB / 0.7493 GB, free: 97.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001985/0.9784, allocations: 479.3 kB / 0.7498 GB, free: 97.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002282/0.9807, allocations: 3.142 MB / 0.7529 GB, free: 93.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002595/0.9833, allocations: 235.6 kB / 0.7531 GB, free: 93.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003831/0.9837, allocations: 104 kB / 0.7532 GB, free: 93.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.9837, allocations: 4 kB / 0.7532 GB, free: 93.61 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006309/0.99, allocations: 3.269 MB / 0.7564 GB, free: 90.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-05/0.9901, allocations: 12 kB / 0.7564 GB, free: 90.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/0.9913, allocations: 379.8 kB / 0.7568 GB, free: 89.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001945/0.9933, allocations: 0.5029 MB / 0.7573 GB, free: 89.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003081/0.9964, allocations: 4.088 MB / 0.7613 GB, free: 85.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002275/0.9987, allocations: 227.8 kB / 0.7615 GB, free: 84.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002773/0.999, allocations: 104 kB / 0.7616 GB, free: 84.81 MB / 490.7 MB 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,valveIncompressible1.state_b.phase,valveIncompressible1.state_a.phase,valveIncompressible.state_b.phase,valveIncompressible.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.001508/1.001, allocations: 0.7713 MB / 0.7623 GB, free: 84.02 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005819/1.001, allocations: 217.3 kB / 0.7625 GB, free: 83.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009966/1.011, allocations: 7.936 MB / 0.7703 GB, free: 75.77 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007534/1.019, allocations: 6.966 MB / 0.7771 GB, free: 68.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/1.019, allocations: 0 / 0.7771 GB, free: 68.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001553/1.02, allocations: 0.7455 MB / 0.7778 GB, free: 67.86 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006579/1.021, allocations: 51.98 kB / 0.7779 GB, free: 67.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001869/1.023, allocations: 239.6 kB / 0.7781 GB, free: 67.57 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002977/1.023, allocations: 143.3 kB / 0.7782 GB, free: 67.43 MB / 490.7 MB [/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.BranchingPipes12.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) 10/10 (1): $cse9 = ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12.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.BranchingPipes12.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) 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) 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 = 2500.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 = 5000.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: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: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: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 = 5000.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.002266/1.025, allocations: 2.648 MB / 0.7808 GB, free: 64.32 MB / 490.7 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed.