Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001133/0.001133, allocations: 115.1 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00127/0.00127, allocations: 206.8 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2032/0.2032, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 75.88 kB / 482 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3053, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12): time 0.08803/0.3933, allocations: 92.15 MB / 0.6216 GB, free: 5.277 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.04457/0.4379, allocations: 37.19 MB / 0.658 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002632/0.4406, allocations: 91.5 kB / 0.658 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003316/0.4439, allocations: 1.239 MB / 0.6593 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.02078/0.4648, allocations: 7.958 MB / 0.667 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.02315/0.4879, allocations: 9.3 MB / 0.6761 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.008927/0.4969, allocations: 6.623 MB / 0.6826 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002721/0.4996, allocations: 1.575 MB / 0.6841 GB, free: 5.152 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005177/0.5048, allocations: 2.632 MB / 0.6867 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02647/0.5313, allocations: 12.09 MB / 0.6985 GB, free: 6.258 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001101/0.5324, allocations: 232 kB / 0.6987 GB, free: 6.031 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02093/0.5534, allocations: 10.57 MB / 0.709 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001635/0.5551, allocations: 0.9739 MB / 0.71 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002707/0.5578, allocations: 1.443 MB / 0.7114 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.3026/0.8604, allocations: 9.691 MB / 0.7209 GB, free: 41.8 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.8604, allocations: 0.5 kB / 0.7209 GB, free: 41.8 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8604, allocations: 0.5938 kB / 0.7209 GB, free: 41.8 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.000118/0.8606, allocations: 0 / 0.7209 GB, free: 41.8 MB / 0.5606 GB 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.01172/0.8723, allocations: 4.491 MB / 0.7252 GB, free: 39.86 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.8723, allocations: 10.38 kB / 0.7253 GB, free: 39.86 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005818/0.8782, allocations: 0.8177 MB / 0.7261 GB, free: 39.7 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01098/0.8892, allocations: 6.753 MB / 0.7326 GB, free: 39.11 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/0.8894, allocations: 178.7 kB / 0.7328 GB, free: 39.1 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003812/0.8898, allocations: 198.4 kB / 0.733 GB, free: 39.1 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006815/0.8966, allocations: 3.588 MB / 0.7365 GB, free: 38.66 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.721e-05/0.8966, allocations: 9.391 kB / 0.7365 GB, free: 38.66 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002145/0.8969, allocations: 87.41 kB / 0.7366 GB, free: 38.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002077/0.8971, allocations: 198.7 kB / 0.7368 GB, free: 38.65 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007188/0.9043, allocations: 3.464 MB / 0.7402 GB, free: 38.63 MB / 0.5606 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.01577/0.9201, allocations: 14.79 MB / 0.7546 GB, free: 29.98 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004577/0.9247, allocations: 2.169 MB / 0.7567 GB, free: 29.95 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001617/0.9263, allocations: 1.154 MB / 0.7579 GB, free: 29.93 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04191/0.9682, allocations: 27.32 MB / 0.7846 GB, free: 27.39 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004124/0.9724, allocations: 1.648 MB / 0.7862 GB, free: 27.27 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009849/0.9734, allocations: 171 kB / 0.7863 GB, free: 27.18 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=162): time 5.22e-06/0.9734, allocations: 2.938 kB / 0.7863 GB, free: 27.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=174): time 0.02263/0.996, allocations: 9.092 MB / 0.7952 GB, free: 24.76 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001533/0.9962, allocations: 335.3 kB / 0.7955 GB, free: 24.36 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001937/0.9982, allocations: 1.72 MB / 0.7972 GB, free: 23.28 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002294/0.9984, allocations: 61.45 kB / 0.7973 GB, free: 23.24 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006225/0.999, allocations: 1.024 MB / 0.7983 GB, free: 22.61 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004037/0.9995, allocations: 0.614 MB / 0.7989 GB, free: 22.08 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006249/1, allocations: 447 kB / 0.7993 GB, free: 21.79 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001124/1, allocations: 304.6 kB / 0.7996 GB, free: 21.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001862/1.002, allocations: 1.163 MB / 0.8007 GB, free: 20.71 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002011/1.004, allocations: 1.653 MB / 0.8023 GB, free: 19.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003777/1.008, allocations: 2.919 MB / 0.8052 GB, free: 17.17 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/1.008, allocations: 3.938 kB / 0.8052 GB, free: 17.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=266) (initialization): time 0.005585/1.013, allocations: 3.599 MB / 0.8087 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.477e-05/1.014, allocations: 71.08 kB / 0.8088 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.965e-05/1.014, allocations: 23.92 kB / 0.8088 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00453/1.018, allocations: 0.9875 MB / 0.8098 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001939/1.02, allocations: 471.8 kB / 0.8102 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002746/1.023, allocations: 3.158 MB / 0.8133 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/1.025, allocations: 98.23 kB / 0.8134 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000228/1.025, allocations: 108.9 kB / 0.8135 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002792/1.028, allocations: 1.599 MB / 0.815 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002384/1.03, allocations: 1.581 MB / 0.8166 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004161/1.034, allocations: 2.781 MB / 0.8193 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.021e-05/1.034, allocations: 6.266 kB / 0.8193 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of matching and sorting (n=266) (initialization_lambda0): time 0.006391/1.041, allocations: 3.397 MB / 0.8226 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.515e-05/1.041, allocations: 79.2 kB / 0.8227 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.029e-05/1.041, allocations: 15.17 kB / 0.8227 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001269/1.042, allocations: 372.1 kB / 0.8231 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001914/1.044, allocations: 492.5 kB / 0.8235 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003993/1.048, allocations: 4.268 MB / 0.8277 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/1.05, allocations: 106.4 kB / 0.8278 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001975/1.05, allocations: 103.5 kB / 0.8279 GB, free: 14.38 MB / 0.5919 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,valveIncompressible1.state_b.phase,valveIncompressible1.state_a.phase,valveIncompressible.state_b.phase,valveIncompressible.state_a.phase,valveOpening2.nextEventScaled,valveOpening2.nextEvent,$PRE.valveOpening2.nextEvent,valveOpening2.last,valveOpening2.b,valveOpening2.a,valveOpening1.nextEventScaled,valveOpening1.nextEvent,$PRE.valveOpening1.nextEvent,valveOpening1.last,valveOpening1.b,valveOpening1.a,pipe3.statesFM[2].phase,pipe2.statesFM[2].phase,sink.medium.phase,pipe1.statesFM[2].phase,source.medium.phase,$whenCondition2,$whenCondition1,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 (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,1), (1,1), (1,1), (3,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0007369/1.051, allocations: 387.9 kB / 0.8283 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004667/1.051, allocations: 230.5 kB / 0.8285 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01058/1.062, allocations: 7.835 MB / 0.8362 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008516/1.071, allocations: 6.891 MB / 0.8429 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/1.071, allocations: 0 / 0.8429 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001268/1.072, allocations: 0.6542 MB / 0.8435 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003816/1.072, allocations: 91.55 kB / 0.8436 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/1.073, allocations: 119.9 kB / 0.8437 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002872/1.074, allocations: 141.8 kB / 0.8439 GB, free: 14.13 MB / 0.6075 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 (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-7) 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-7) 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, true) 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-7) 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, 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 = 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 = 1e8 start = 0.001 unit = "Pa.s" nominal = 0.001 ) type: Real [2] 8: pipe2.flowModel.rhos[1]:VARIABLE(min = 0.0 max = 1e5 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 = -1e10 max = 1e10 start = 1e5 unit = "J/kg" nominal = 5e5 ) "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 = -1e10 max = 1e10 start = 1e5 unit = "J/kg" nominal = 5e5 ) "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 = 1e8 start = 0.001 unit = "Pa.s" nominal = 0.001 ) type: Real [2] 45: pipe3.flowModel.rhos[1]:VARIABLE(min = 0.0 max = 1e5 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 = -1.7976931348623157e308 max = 1e5 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 = -1e10 max = 1e10 start = 1e5 unit = "J/kg" nominal = 5e5 ) "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 = 1e5 start = 150.0 unit = "kg/m3" nominal = 500.0 ) type: Real [3] 68: pipe1.flowModel.mus[3]:VARIABLE(min = 0.0 max = 1e8 start = 0.001 unit = "Pa.s" nominal = 0.001 ) type: Real [3] 69: pipe3.statesFM[1].p:VARIABLE(min = 611.657 max = 1e8 start = 5e6 unit = "Pa" nominal = 1e6 ) "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 = -1.7976931348623157e308 max = 1e5 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 = -1.7976931348623157e308 max = 1e5 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:9805:5-9806:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002617/1.076, allocations: 2.622 MB / 0.8464 GB, free: 11.01 MB / 0.6075 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12 could not be translated