Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001305, allocations: 101.9 kB / 17.08 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 198.2 kB / 18.02 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.277/1.277, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1925/0.1925, allocations: 43.51 MB / 314.8 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 68.28 kB / 442.5 MB, free: 5.688 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09927/0.1007, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12): time 0.28/0.3808, allocations: 91.87 MB / 0.5783 GB, free: 6.605 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04511/0.4259, allocations: 37.16 MB / 0.6146 GB, free: 9.57 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002637/0.4286, allocations: 91.44 kB / 0.6146 GB, free: 9.48 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00305/0.4317, allocations: 1.227 MB / 0.6158 GB, free: 8.246 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01954/0.4512, allocations: 7.886 MB / 0.6235 GB, free: 344 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02137/0.4726, allocations: 9.266 MB / 0.6326 GB, free: 7.055 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.008343/0.481, allocations: 6.609 MB / 0.639 GB, free: 440 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002321/0.4833, allocations: 1.57 MB / 0.6406 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00451/0.4879, allocations: 2.621 MB / 0.6431 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02195/0.5098, allocations: 12.08 MB / 0.6549 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008479/0.5107, allocations: 236 kB / 0.6552 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02041/0.5311, allocations: 10.53 MB / 0.6654 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001612/0.5328, allocations: 0.9622 MB / 0.6664 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002053/0.5348, allocations: 1.439 MB / 0.6678 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01904/0.5539, allocations: 9.634 MB / 0.6772 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.5539, allocations: 4 kB / 0.6772 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.863e-06/0.554, allocations: 0 / 0.6772 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.655e-05/0.554, allocations: 0 / 0.6772 GB, free: 9.109 MB / 0.5137 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.01078/0.5648, allocations: 4.35 MB / 0.6815 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.5648, allocations: 11.89 kB / 0.6815 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005257/0.5701, allocations: 0.8046 MB / 0.6822 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01078/0.5809, allocations: 6.738 MB / 0.6888 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000214/0.5812, allocations: 175.7 kB / 0.689 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005493/0.5817, allocations: 192 kB / 0.6892 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007895/0.5896, allocations: 3.587 MB / 0.6927 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.405e-05/0.5897, allocations: 11.84 kB / 0.6927 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000278/0.59, allocations: 83.95 kB / 0.6928 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002562/0.5903, allocations: 207.6 kB / 0.693 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008085/0.5984, allocations: 3.465 MB / 0.6964 GB, free: 5.191 MB / 0.5294 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.02054/0.6189, allocations: 14.77 MB / 0.7108 GB, free: 5.188 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005403/0.6244, allocations: 2.172 MB / 0.7129 GB, free: 3.004 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001926/0.6263, allocations: 1.144 MB / 0.714 GB, free: 1.859 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04776/0.6741, allocations: 24.75 MB / 0.7382 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004562/0.6787, allocations: 1.65 MB / 0.7398 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009262/0.6797, allocations: 178.2 kB / 0.74 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=162): time 7.053e-06/0.6797, allocations: 3.938 kB / 0.74 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of matching and sorting (n=174): time 0.02441/0.7041, allocations: 9.03 MB / 0.7488 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001487/0.7043, allocations: 341.7 kB / 0.7491 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002461/0.7067, allocations: 1.72 MB / 0.7508 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001902/0.7069, allocations: 57.7 kB / 0.7509 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008329/0.7078, allocations: 1.006 MB / 0.7518 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005013/0.7083, allocations: 0.5892 MB / 0.7524 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006894/0.709, allocations: 439.4 kB / 0.7528 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.563e-05/0.7091, allocations: 301.1 kB / 0.7531 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002048/0.7111, allocations: 1.168 MB / 0.7543 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00242/0.7136, allocations: 1.654 MB / 0.7559 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004554/0.7181, allocations: 2.917 MB / 0.7587 GB, free: 424 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/0.7182, allocations: 4 kB / 0.7587 GB, free: 420 kB / 0.5919 GB Notification: Performance of matching and sorting (n=266) (initialization): time 0.2149/0.9331, allocations: 3.581 MB / 0.7622 GB, free: 216.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.057e-05/0.9332, allocations: 74.91 kB / 0.7623 GB, free: 216.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.242e-05/0.9332, allocations: 15.56 kB / 0.7623 GB, free: 216.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004866/0.9381, allocations: 0.9867 MB / 0.7633 GB, free: 216.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001824/0.94, allocations: 472.7 kB / 0.7637 GB, free: 216.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/0.9423, allocations: 3.136 MB / 0.7668 GB, free: 214 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001655/0.944, allocations: 109 kB / 0.7669 GB, free: 214 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00019/0.9442, allocations: 105 kB / 0.767 GB, free: 214 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00265/0.9468, allocations: 1.602 MB / 0.7686 GB, free: 214 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002134/0.949, allocations: 1.584 MB / 0.7701 GB, free: 213.1 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004234/0.9532, allocations: 2.785 MB / 0.7728 GB, free: 211.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.887e-06/0.9532, allocations: 4.125 kB / 0.7728 GB, free: 211.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=266) (initialization_lambda0): time 0.006314/0.9596, allocations: 3.384 MB / 0.7761 GB, free: 210.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.854e-05/0.9596, allocations: 75.36 kB / 0.7762 GB, free: 210.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.879e-05/0.9597, allocations: 15.56 kB / 0.7762 GB, free: 210.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.9609, allocations: 370.2 kB / 0.7766 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001888/0.9628, allocations: 491 kB / 0.777 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003221/0.966, allocations: 4.274 MB / 0.7812 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/0.9676, allocations: 100.3 kB / 0.7813 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001889/0.9678, allocations: 110.7 kB / 0.7814 GB, free: 206.7 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.000621/0.9685, allocations: 388.4 kB / 0.7818 GB, free: 206.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003618/0.9688, allocations: 218.8 kB / 0.782 GB, free: 206.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009306/0.9781, allocations: 7.811 MB / 0.7896 GB, free: 203 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006702/0.9849, allocations: 6.888 MB / 0.7963 GB, free: 199.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.9849, allocations: 4.625 kB / 0.7964 GB, free: 199.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/0.986, allocations: 0.6409 MB / 0.797 GB, free: 199.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003902/0.9864, allocations: 85.39 kB / 0.7971 GB, free: 199.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/0.9876, allocations: 116.9 kB / 0.7972 GB, free: 199.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002683/0.9879, allocations: 148 kB / 0.7973 GB, free: 199.3 MB / 0.5919 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) 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) 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 = 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: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: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 = -1e60 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: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 = -1e60 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 = -1e60 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.001961/0.9898, allocations: 2.61 MB / 0.7999 GB, free: 197 MB / 0.5919 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12 could not be translated