Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002049/0.002049, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002398/0.002398, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 230.2 MB / 257.8 MB, free: 8.465 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2517/0.2517, allocations: 46.89 MB / 361.1 MB, free: 4.582 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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=5004,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_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002332/0.002332, allocations: 91.8 kB / 0.4968 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3176, allocations: 65.98 MB / 0.5612 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12): time 0.1032/0.4208, allocations: 93.57 MB / 0.6526 GB, free: 7.102 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.05977/0.4805, allocations: 37.42 MB / 0.6891 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002812/0.4833, allocations: 91.5 kB / 0.6892 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003703/0.487, allocations: 1.251 MB / 0.6904 GB, free: 228 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.02349/0.5105, allocations: 7.958 MB / 0.6982 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.02366/0.5342, allocations: 9.248 MB / 0.7072 GB, free: 15.01 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01008/0.5443, allocations: 6.624 MB / 0.7137 GB, free: 8.363 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002875/0.5471, allocations: 1.368 MB / 0.715 GB, free: 6.977 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006143/0.5533, allocations: 2.636 MB / 0.7176 GB, free: 4.332 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02416/0.5775, allocations: 12.32 MB / 0.7296 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0009557/0.5784, allocations: 240 kB / 0.7299 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3675/0.9459, allocations: 10.62 MB / 0.7402 GB, free: 30.38 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00216/0.9481, allocations: 1.001 MB / 0.7412 GB, free: 30.38 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00272/0.9508, allocations: 1.451 MB / 0.7426 GB, free: 30.38 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.02448/0.9752, allocations: 9.698 MB / 0.7521 GB, free: 29.9 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.9753, allocations: 0 / 0.7521 GB, free: 29.9 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9753, allocations: 0 / 0.7521 GB, free: 29.9 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001344/0.9754, allocations: 0 / 0.7521 GB, free: 29.9 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.01416/0.9895, allocations: 4.4 MB / 0.7564 GB, free: 27.91 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.9896, allocations: 10.28 kB / 0.7564 GB, free: 27.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005909/0.9955, allocations: 0.817 MB / 0.7572 GB, free: 27.75 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0131/1.009, allocations: 6.755 MB / 0.7638 GB, free: 27.11 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002158/1.009, allocations: 174.5 kB / 0.764 GB, free: 27.1 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005358/1.009, allocations: 199.8 kB / 0.7642 GB, free: 27.1 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007776/1.017, allocations: 3.624 MB / 0.7677 GB, free: 26.66 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.048e-05/1.017, allocations: 10.89 kB / 0.7677 GB, free: 26.66 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002384/1.017, allocations: 85.39 kB / 0.7678 GB, free: 26.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002219/1.018, allocations: 201.9 kB / 0.768 GB, free: 26.65 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007078/1.025, allocations: 3.52 MB / 0.7714 GB, free: 26.62 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.0188/1.044, allocations: 14.8 MB / 0.7859 GB, free: 17.96 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00492/1.048, allocations: 2.092 MB / 0.7879 GB, free: 17.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001737/1.05, allocations: 1.078 MB / 0.789 GB, free: 17.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05072/1.101, allocations: 27.32 MB / 0.8157 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004796/1.106, allocations: 1.646 MB / 0.8173 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00136/1.107, allocations: 196 kB / 0.8175 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=162): time 1.142e-05/1.107, allocations: 0 / 0.8175 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=174): time 0.02545/1.133, allocations: 9.084 MB / 0.8263 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002265/1.133, allocations: 336 kB / 0.8266 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003295/1.136, allocations: 1.722 MB / 0.8283 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004026/1.136, allocations: 56.2 kB / 0.8284 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001112/1.138, allocations: 1.031 MB / 0.8294 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008504/1.138, allocations: 0.6109 MB / 0.83 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001047/1.139, allocations: 444.4 kB / 0.8304 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001381/1.14, allocations: 305.1 kB / 0.8307 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00236/1.142, allocations: 1.164 MB / 0.8318 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002967/1.145, allocations: 1.66 MB / 0.8335 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005251/1.15, allocations: 2.918 MB / 0.8363 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.982e-05/1.15, allocations: 7.938 kB / 0.8363 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of matching and sorting (n=266) (initialization): time 0.007863/1.158, allocations: 3.585 MB / 0.8398 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.449e-05/1.158, allocations: 78.95 kB / 0.8399 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.794e-05/1.158, allocations: 19.38 kB / 0.8399 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004771/1.163, allocations: 0.9757 MB / 0.8409 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002373/1.165, allocations: 472.4 kB / 0.8413 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003464/1.169, allocations: 3.155 MB / 0.8444 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002233/1.171, allocations: 102.1 kB / 0.8445 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000477/1.171, allocations: 106.7 kB / 0.8446 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003569/1.175, allocations: 1.598 MB / 0.8461 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002905/1.178, allocations: 1.587 MB / 0.8477 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005151/1.183, allocations: 2.779 MB / 0.8504 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.766e-05/1.183, allocations: 7.938 kB / 0.8504 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of matching and sorting (n=266) (initialization_lambda0): time 0.008212/1.191, allocations: 3.383 MB / 0.8537 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.538e-05/1.191, allocations: 79.33 kB / 0.8538 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.844e-05/1.191, allocations: 15.98 kB / 0.8538 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001341/1.193, allocations: 371.2 kB / 0.8542 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002118/1.195, allocations: 489.8 kB / 0.8546 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004849/1.2, allocations: 4.279 MB / 0.8588 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002639/1.202, allocations: 107.9 kB / 0.8589 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005223/1.203, allocations: 99.97 kB / 0.859 GB, free: 8.887 MB / 0.6075 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.00117/1.204, allocations: 383.9 kB / 0.8594 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008987/1.205, allocations: 234.6 kB / 0.8596 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0136/1.219, allocations: 7.747 MB / 0.8672 GB, free: 460 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01048/1.229, allocations: 6.82 MB / 0.8738 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/1.229, allocations: 0 / 0.8738 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001857/1.231, allocations: 0.6542 MB / 0.8745 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000778/1.232, allocations: 83.61 kB / 0.8745 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001727/1.233, allocations: 127.8 kB / 0.8747 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003986/1.234, allocations: 141.8 kB / 0.8748 GB, free: 8.434 MB / 0.6231 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9810:5-9811:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003427/1.237, allocations: 2.606 MB / 0.8773 GB, free: 5.328 MB / 0.6231 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12 could not be translated " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 4.00873392727226] Failed to read output from testmodel.py, exit status != 0: ['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'] 1.247078547719866 1.2623533 0.283490866 Calling exit ...