Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1.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.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_3.2.3_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_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001491/0.001491, allocations: 179.2 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.367/1.367, 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.0007933/0.0007935, allocations: 102.4 kB / 271.9 MB, free: 8.23 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.3212/0.3212, allocations: 43.55 MB / 363.7 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004007/0.0004007, allocations: 19.94 kB / 432.6 MB, free: 5.578 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1744, allocations: 58.85 MB / 491.5 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1): time 0.4432/0.6176, allocations: 87.44 MB / 0.5654 GB, free: 3.602 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.04576/0.6634, allocations: 34.37 MB / 0.5989 GB, free: 10.48 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003656/0.6671, allocations: 96.72 kB / 0.599 GB, free: 10.43 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003433/0.6706, allocations: 1.018 MB / 0.6 GB, free: 9.578 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.02234/0.6929, allocations: 6.414 MB / 0.6063 GB, free: 4.633 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02353/0.7165, allocations: 7.478 MB / 0.6136 GB, free: 13.15 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01081/0.7273, allocations: 7.995 MB / 0.6214 GB, free: 5.129 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002464/0.7298, allocations: 1.315 MB / 0.6227 GB, free: 3.801 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03064/0.7605, allocations: 18.89 MB / 0.6411 GB, free: 0.8984 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03119/0.7917, allocations: 19.43 MB / 0.6601 GB, free: 13.45 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008897/0.7926, allocations: 112 kB / 0.6602 GB, free: 13.34 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02202/0.8147, allocations: 9.679 MB / 0.6696 GB, free: 3.652 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00197/0.8167, allocations: 0.8295 MB / 0.6705 GB, free: 2.82 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002544/0.8192, allocations: 1.281 MB / 0.6717 GB, free: 1.527 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2674/1.087, allocations: 6.516 MB / 0.6781 GB, free: 58.43 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/1.087, allocations: 1.219 kB / 0.6781 GB, free: 58.43 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.853e-06/1.087, allocations: 1.406 kB / 0.6781 GB, free: 58.43 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001125/1.087, allocations: 0 / 0.6781 GB, free: 58.43 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.01324/1.1, allocations: 3.756 MB / 0.6817 GB, free: 56.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/1.1, allocations: 12.42 kB / 0.6817 GB, free: 56.84 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005938/1.106, allocations: 0.8288 MB / 0.6826 GB, free: 56.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003535/1.11, allocations: 1.611 MB / 0.6841 GB, free: 56.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001656/1.11, allocations: 174.6 kB / 0.6843 GB, free: 56.23 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003829/1.11, allocations: 196.9 kB / 0.6845 GB, free: 56.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007101/1.117, allocations: 3.62 MB / 0.688 GB, free: 55.81 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.045e-05/1.117, allocations: 6.875 kB / 0.688 GB, free: 55.81 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002344/1.118, allocations: 90.17 kB / 0.6881 GB, free: 55.81 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002396/1.118, allocations: 201.1 kB / 0.6883 GB, free: 55.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007466/1.125, allocations: 3.511 MB / 0.6917 GB, free: 55.79 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.01939/1.145, allocations: 14.81 MB / 0.7062 GB, free: 47.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005307/1.15, allocations: 2.221 MB / 0.7084 GB, free: 47.11 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002072/1.152, allocations: 1.171 MB / 0.7095 GB, free: 47.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04478/1.197, allocations: 24.87 MB / 0.7338 GB, free: 31.22 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004449/1.201, allocations: 1.688 MB / 0.7355 GB, free: 31.09 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001444/1.203, allocations: 186.3 kB / 0.7356 GB, free: 30.99 MB / 490.7 MB Notification: Performance of pre-optimization done (n=162): time 5.811e-06/1.203, allocations: 0 / 0.7356 GB, free: 30.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=174): time 0.02373/1.227, allocations: 9.252 MB / 0.7447 GB, free: 26.33 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.558e-05/1.227, allocations: 337 kB / 0.745 GB, free: 25.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002055/1.229, allocations: 1.711 MB / 0.7467 GB, free: 24.61 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002117/1.229, allocations: 63.47 kB / 0.7467 GB, free: 24.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006641/1.23, allocations: 1.006 MB / 0.7477 GB, free: 23.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004028/1.23, allocations: 0.5808 MB / 0.7483 GB, free: 23.46 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/1.23, allocations: 41 kB / 0.7483 GB, free: 23.45 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/1.23, allocations: 392.1 kB / 0.7487 GB, free: 23.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001897/1.232, allocations: 1.149 MB / 0.7498 GB, free: 22.32 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002068/1.234, allocations: 1.651 MB / 0.7514 GB, free: 20.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004047/1.238, allocations: 2.902 MB / 0.7542 GB, free: 18.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/1.239, allocations: 4 kB / 0.7543 GB, free: 18.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=266) (initialization): time 0.005815/1.244, allocations: 3.565 MB / 0.7577 GB, free: 16.22 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002381/1.245, allocations: 0.5215 MB / 0.7582 GB, free: 15.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.663e-05/1.245, allocations: 12 kB / 0.7583 GB, free: 15.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004357/1.249, allocations: 0.9707 MB / 0.7592 GB, free: 14.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001868/1.251, allocations: 485.5 kB / 0.7597 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002087/1.253, allocations: 3.15 MB / 0.7627 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002403/1.255, allocations: 230.6 kB / 0.763 GB, free: 11.22 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002113/1.256, allocations: 106.6 kB / 0.7631 GB, free: 11.14 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/1.256, allocations: 4 kB / 0.7631 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005539/1.261, allocations: 3.259 MB / 0.7662 GB, free: 8.891 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.991e-05/1.261, allocations: 16.72 kB / 0.7663 GB, free: 8.875 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/1.263, allocations: 382.9 kB / 0.7666 GB, free: 8.566 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001942/1.264, allocations: 0.4958 MB / 0.7671 GB, free: 8.117 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002958/1.267, allocations: 4.087 MB / 0.7711 GB, free: 4.355 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002527/1.27, allocations: 231.3 kB / 0.7713 GB, free: 4.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002494/1.27, allocations: 103.5 kB / 0.7714 GB, free: 4.078 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,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.001669/1.272, allocations: 0.7764 MB / 0.7722 GB, free: 3.52 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004219/1.272, allocations: 217.4 kB / 0.7724 GB, free: 3.305 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01001/1.282, allocations: 7.926 MB / 0.7801 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009083/1.291, allocations: 6.956 MB / 0.7869 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/1.292, allocations: 0 / 0.7869 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001995/1.294, allocations: 0.7522 MB / 0.7877 GB, free: 8.547 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006868/1.294, allocations: 55.11 kB / 0.7877 GB, free: 8.523 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001878/1.296, allocations: 234.4 kB / 0.7879 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003401/1.296, allocations: 150.1 kB / 0.7881 GB, free: 8.191 MB / 0.4948 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) 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) 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 = 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: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 = 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.003025/1.3, allocations: 2.658 MB / 0.7907 GB, free: 5.215 MB / 0.4948 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.