Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.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.001879/0.001879, allocations: 114.5 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.002095/0.002095, allocations: 211.4 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.496/1.496, allocations: 230.2 MB / 257.8 MB, free: 8.492 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.2359/0.2359, allocations: 46.9 MB / 361.1 MB, free: 4.613 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.TestExamplesVariants.InverseParameterization_turbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|eps_m_flow_turbulent|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|orifice.port_b.m_flow|orifice.port_b.p|orifice.port_b.h_outflow|sink.ports.1..m_flow|sink.ports.1..p|sink.ports.1..h_outflow|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|p_set.y|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow|sink2.ports.1..m_flow|sink2.ports.1..p|sink2.ports.1..h_outflow",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent") translateModel(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|eps_m_flow_turbulent|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|orifice.port_b.m_flow|orifice.port_b.p|orifice.port_b.h_outflow|sink.ports.1..m_flow|sink.ports.1..p|sink.ports.1..h_outflow|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|p_set.y|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow|sink2.ports.1..m_flow|sink2.ports.1..p|sink2.ports.1..h_outflow",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent") [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.002319/0.002319, allocations: 79.88 kB / 0.4968 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4019/0.4042, allocations: 65.98 MB / 0.5612 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent): time 0.08263/0.4868, allocations: 73.27 MB / 0.6328 GB, free: 11.45 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03718/0.524, allocations: 25.23 MB / 0.6574 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002615/0.5266, allocations: 35.75 kB / 0.6575 GB, free: 2.105 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002675/0.5293, allocations: 0.7958 MB / 0.6582 GB, free: 1.305 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02149/0.5508, allocations: 6.464 MB / 0.6645 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01404/0.5648, allocations: 4.5 MB / 0.6689 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006231/0.5711, allocations: 3.625 MB / 0.6725 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002087/0.5731, allocations: 0.915 MB / 0.6734 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004691/0.5778, allocations: 1.557 MB / 0.6749 GB, free: 204 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01951/0.5973, allocations: 9.492 MB / 0.6842 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000642/0.598, allocations: 156 kB / 0.6843 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02364/0.6216, allocations: 10.3 MB / 0.6944 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001095/0.6227, allocations: 0.514 MB / 0.6949 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001497/0.6242, allocations: 0.8634 MB / 0.6957 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.02199/0.6462, allocations: 7.091 MB / 0.7026 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.11e-05/0.6462, allocations: 4 kB / 0.7026 GB, free: 3.586 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.404e-06/0.6462, allocations: 3.938 kB / 0.7026 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.19e-05/0.6463, allocations: 0 / 0.7026 GB, free: 3.582 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 287 * Number of variables: 287 Notification: Performance of Generate backend data structure: time 0.01128/0.6576, allocations: 2.811 MB / 0.7054 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.6576, allocations: 12.03 kB / 0.7054 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004626/0.6622, allocations: 0.5776 MB / 0.706 GB, free: 120 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00248/0.6647, allocations: 1.07 MB / 0.707 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.6648, allocations: 94.14 kB / 0.7071 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002115/0.665, allocations: 104 kB / 0.7072 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005576/0.6706, allocations: 2.24 MB / 0.7094 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/0.6707, allocations: 7.938 kB / 0.7094 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001837/0.6708, allocations: 51.97 kB / 0.7094 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000138/0.671, allocations: 90 kB / 0.7095 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005813/0.6768, allocations: 2.361 MB / 0.7118 GB, free: 9.922 MB / 0.545 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.01458/0.6914, allocations: 9.179 MB / 0.7208 GB, free: 148 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005002/0.6964, allocations: 1.759 MB / 0.7225 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001459/0.6978, allocations: 0.7143 MB / 0.7232 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3553/1.053, allocations: 27.22 MB / 0.7498 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/1.053, allocations: 47.34 kB / 0.7498 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001031/1.054, allocations: 168.1 kB / 0.75 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=109): time 3.737e-06/1.054, allocations: 0 / 0.75 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=109): time 0.017/1.071, allocations: 4.586 MB / 0.7545 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.327e-05/1.071, allocations: 217.9 kB / 0.7547 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/1.072, allocations: 0.9711 MB / 0.7556 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.807e-05/1.072, allocations: 44.86 kB / 0.7557 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003304/1.073, allocations: 0.5776 MB / 0.7562 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002744/1.073, allocations: 391.2 kB / 0.7566 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003723/1.073, allocations: 274.9 kB / 0.7569 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.702e-05/1.073, allocations: 349.9 kB / 0.7572 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/1.075, allocations: 0.6657 MB / 0.7579 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001329/1.076, allocations: 1.021 MB / 0.7589 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002489/1.078, allocations: 1.687 MB / 0.7605 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/1.078, allocations: 4 kB / 0.7605 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00362/1.082, allocations: 2.084 MB / 0.7625 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/1.082, allocations: 12 kB / 0.7626 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/1.082, allocations: 10.38 kB / 0.7626 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02835/1.11, allocations: 3.134 MB / 0.7656 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/1.112, allocations: 264.2 kB / 0.7659 GB, free: 141.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002477/1.114, allocations: 1.469 MB / 0.7673 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/1.116, allocations: 86.05 kB / 0.7674 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/1.116, allocations: 71.97 kB / 0.7675 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001608/1.117, allocations: 0.8772 MB / 0.7683 GB, free: 138.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001256/1.119, allocations: 0.9944 MB / 0.7693 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002338/1.121, allocations: 1.625 MB / 0.7709 GB, free: 135.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.402e-06/1.121, allocations: 7.844 kB / 0.7709 GB, free: 135.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=158) (initialization_lambda0): time 0.004325/1.125, allocations: 1.969 MB / 0.7728 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/1.125, allocations: 14.19 kB / 0.7728 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/1.125, allocations: 8 kB / 0.7728 GB, free: 133.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007529/1.126, allocations: 201 kB / 0.773 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/1.127, allocations: 335.5 kB / 0.7733 GB, free: 133.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007864/1.128, allocations: 0.7591 MB / 0.7741 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/1.13, allocations: 91.27 kB / 0.7742 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/1.13, allocations: 64.86 kB / 0.7742 GB, free: 132.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 12 (pipe2.flowModel.states[2].phase,pipe2.flowModel.states[1].phase,pipe1.flowModel.states[2].phase,pipe1.flowModel.states[1].phase,sink2.medium.phase,sink1.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source.medium.phase,orifice.state_b.phase,orifice.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(5,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0005111/1.13, allocations: 270.8 kB / 0.7745 GB, free: 132 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003269/1.131, allocations: 135.1 kB / 0.7746 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00597/1.136, allocations: 5.495 MB / 0.78 GB, free: 126.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/1.136, allocations: 3.984 kB / 0.78 GB, free: 126.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-06/1.137, allocations: 4 kB / 0.78 GB, free: 126.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007403/1.137, allocations: 451.4 kB / 0.7804 GB, free: 126 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002637/1.138, allocations: 91.94 kB / 0.7805 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009475/1.138, allocations: 99.88 kB / 0.7806 GB, free: 125.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001988/1.139, allocations: 97.17 kB / 0.7807 GB, free: 125.7 MB / 0.5606 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): pipe2.flowModel.m_flows[1] + pipe1.flowModel.m_flows[1] + orifice.m_flow - pump.m_flow = 0.0 2/2 (1): $cse13 = max(pump.m_flow, 1e-7) 3/3 (1): pipe2.flowModel.states[1].h = ($cse21 * sink.ports[1].h_outflow + $cse11 * pipe1.port_a.h_outflow + $cse13 * pump.heatTransfer.states[1].h) / ($cse21 + $cse11 + $cse13) 4/4 (16): $cse29 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(pump.heatTransfer.states[1].p, pipe2.flowModel.states[1].h, 0, 0) 5/20 (1): pipe2.flowModel.rhos[1] = $cse29.rho 6/21 (1): pipe2.flowModel.dps_fg[1] = pipe2.flowModel.g * pipe2.height_ab * (if pipe2.flowModel.m_flows[1] > 0.0 then pipe2.flowModel.rhos[1] else pipe2.flowModel.rhos[2]) + pipe2.flowModel.dp_nominal * pipe2.flowModel.m_flows[1] / pipe2.flowModel.m_flow_nominal 7/22 (1): $cse12 = max(-pipe2.flowModel.m_flows[1], 1e-7) 8/23 (1): pipe1.flowModel.states[1].h = ($cse21 * sink.ports[1].h_outflow + $cse12 * pipe2.port_a.h_outflow + $cse13 * pump.heatTransfer.states[1].h) / ($cse21 + $cse12 + $cse13) 9/24 (1): $cse21 = max(-orifice.m_flow, 1e-7) 10/25 (1): orifice.m_flow = Modelica.Fluid.Utilities.regRoot2(orifice.dp_fg, orifice.dp_small, orifice.state_a.d / $cse10, orifice.state_b.d / $cse10, false, 1.0) 11/26 (1): $cse10 = Modelica.Fluid.Fittings.BaseClasses.lossConstant_D_zeta(orifice.diameter, orifice.zeta_nominal) 12/27 (1): orifice.zeta_nominal = 2.0 * orifice.A_mean ^ 2.0 * orifice.d * orifice.dp_nominal / orifice.m_flow_nominal ^ 2.0 13/28 (1): orifice.d = 0.5 * (orifice.state_a.d + orifice.state_b.d) 14/29 (1): orifice.state_a.d = $cse14.rho 15/30 (16): $cse14 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(pump.heatTransfer.states[1].p, orifice.port_b.h_outflow, 0, 0) 16/46 (1): orifice.port_b.h_outflow = ($cse11 * pipe1.port_a.h_outflow + $cse12 * pipe2.port_a.h_outflow + $cse13 * pump.heatTransfer.states[1].h) / ($cse11 + $cse12 + $cse13) 17/47 (1): $cse11 = max(-pipe1.flowModel.m_flows[1], 1e-7) 18/48 (1): pipe1.flowModel.m_flows[1] = $cse24 * pipe1.flowModel.nParallel 19/49 (1): $cse24 = ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe1.flowModel.WallFriction.massFlowRate_dp(pipe1.flowModel.dps_fg[1] - pipe1.flowModel.g * pipe1.height_ab * pipe1.flowModel.rhos_act[1], pipe1.flowModel.rhos_act[1], pipe1.flowModel.rhos_act[1], pipe1.flowModel.mus_act[1], pipe1.flowModel.mus_act[1], pipe1.flowModel.pathLengths_internal[1], pipe1.flowModel.diameters[1], 0.5 * (pipe1.flowModel.crossAreas[1] + pipe1.flowModel.crossAreas[2]), pipe1.roughness, pipe1.flowModel.dp_small, pipe1.flowModel.Res_turbulent_internal[1]) 20/50 (1): pipe1.flowModel.mus_act[1] = 0.5 * (pipe1.flowModel.mus[1] + pipe1.flowModel.mus[2]) 21/51 (1): pipe1.flowModel.mus[1] = Modelica.Media.Water.IF97_Utilities.dynamicViscosity(pipe1.flowModel.rhos[1], pipe1.flowModel.states[1].T, pump.heatTransfer.states[1].p, 0, true) 22/52 (1): pipe1.flowModel.rhos_act[1] = 0.5 * (pipe1.flowModel.rhos[1] + pipe1.flowModel.rhos[2]) 23/53 (1): pipe1.flowModel.ks_inv[1] = (pipe1.flowModel.m_flow_nominal / pipe1.flowModel.nParallel) ^ 2.0 / ((pipe1.flowModel.dp_nominal - pipe1.flowModel.g * pipe1.height_ab * pipe1.flowModel.rhos_act[1]) * pipe1.flowModel.rhos_act[1]) 24/54 (1): pipe1.flowModel.zetas[1] = 0.125 * (3.141592653589793 * pipe1.flowModel.diameters[1] ^ 2.0) ^ 2.0 / pipe1.flowModel.ks_inv[1] 25/55 (1): pipe1.flowModel.pathLengths_internal[1] = pipe1.flowModel.zetas[1] * pipe1.flowModel.diameters[1] * (2.0 * $cse23) ^ 2.0 26/56 (1): pipe1.flowModel.rhos[1] = $cse20.rho 27/57 (16): $cse20 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(pump.heatTransfer.states[1].p, pipe1.flowModel.states[1].h, 0, 0) 28/73 (1): pipe1.flowModel.states[1].T = $cse20.T 29/74 (1): pipe1.flowModel.Res_turbulent_internal[1] = 1.2732395447351628 * pipe1.flowModel.m_flow_turbulent / (pipe1.flowModel.nParallel * pipe1.flowModel.diameters[1] * pipe1.flowModel.mus_act[1]) 30/75 (1): pump.Hb_flow = smooth(0, pump.m_flow * (if pump.m_flow > 0.0 then source.ports[1].h_outflow else pump.heatTransfer.states[1].h)) + smooth(0, (-pump.m_flow) * (if (-pump.m_flow) > 0.0 then ($cse21 * sink.ports[1].h_outflow + $cse11 * pipe1.port_a.h_outflow + $cse12 * pipe2.port_a.h_outflow) / ($cse21 + $cse11 + $cse12) else pump.heatTransfer.states[1].h)) 31/76 (1): -pump.Hb_flow = pump.W_single * /*Real*/(pump.nParallel) 32/77 (1): pump.W_single = pump.dp_pump * pump.V_flow_single / pump.eta 33/78 (1): pump.eta = ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pump.efficiencyCharacteristic(pump.V_flow_single * pump.N_nominal / pump.N, 0.8) 34/79 (1): $cse9 = ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pump.flowCharacteristic(pump.V_flow_single * pump.N_nominal / pump.N, {0.0, pump.V_flow_op, 1.5 * pump.V_flow_op}, {2.0 * pump.head_op, pump.head_op, 0.0}) 35/80 (1): pump.head = (pump.N / pump.N_nominal) ^ 2.0 * $cse9 36/81 (1): pump.V_flow_single = pump.V_flow / /*Real*/(pump.nParallel) 37/82 (1): pump.V_flow = pump.m_flow / pump.rho 38/83 (1): pump.head = pump.dp_pump / (pump.rho * pump.g) 39/84 (1): pump.rho = $cse7.rho 40/85 (16): $cse7 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(pump.heatTransfer.states[1].p, pump.heatTransfer.states[1].h, pump.heatTransfer.states[1].phase, 0) 41/101 (1): pump.heatTransfer.states[1].phase = if pump.heatTransfer.states[1].h < $cse5.h or pump.heatTransfer.states[1].h > $cse6.h or pump.heatTransfer.states[1].p > 2.2064e7 then 1 else 2 Variables: 1: pump.heatTransfer.states[1].phase:DISCRETE(min = 0 max = 2 final = true ) \"Phase of the fluid: 1 for 1-phase, 2 for two-phase, 0 for not known, e.g., interactive use\" type: Integer [1] 2: $cse7.R_s:VARIABLE(protected = true ) type: Real unreplaceable 3: $cse7.dpT:VARIABLE(protected = true ) type: Real unreplaceable 4: $cse7.s:VARIABLE(protected = true ) type: Real unreplaceable 5: pump.heatTransfer.states[1].h:VARIABLE(min = -1e10 max = 1e10 start = pump.h_start unit = \"J/kg\" nominal = 5e5 final = true ) \"Specific enthalpy\" type: Real [1] 6: $cse7.T:VARIABLE(protected = true ) type: Real unreplaceable 7: $cse7.cv:VARIABLE(protected = true ) type: Real unreplaceable 8: $cse7.cp:VARIABLE(protected = true ) type: Real unreplaceable 9: $cse7.pd:VARIABLE(protected = true ) type: Real unreplaceable 10: $cse7.h:VARIABLE(protected = true ) type: Real unreplaceable 11: $cse7.region:DISCRETE(protected = true ) type: Integer unreplaceable 12: $cse7.rho:VARIABLE(protected = true ) type: Real unreplaceable 13: $cse7.x:VARIABLE(protected = true ) type: Real unreplaceable 14: $cse7.vt:VARIABLE(protected = true ) type: Real unreplaceable 15: $cse7.phase:DISCRETE(protected = true ) type: Integer unreplaceable 16: $cse7.p:VARIABLE(protected = true ) type: Real unreplaceable 17: $cse7.vp:VARIABLE(protected = true ) type: Real unreplaceable 18: $cse7.pt:VARIABLE(protected = true ) type: Real unreplaceable 19: pump.head:VARIABLE(unit = \"m\" ) \"Pump head\" type: Real 20: pump.rho:VARIABLE(min = 0.0 max = 1e5 start = 150.0 unit = \"kg/m3\" nominal = 500.0 ) type: Real 21: pump.V_flow:VARIABLE(unit = \"m3/s\" ) \"Volume flow rate (total)\" type: Real 22: pump.N:VARIABLE(start = pump.N_nominal unit = \"rev/min\" ) \"Shaft rotational speed\" type: Real 23: $cse9:VARIABLE(protected = true ) type: Real unreplaceable 24: pump.V_flow_single:VARIABLE(start = 0.4 / (pump.rho_nominal * /*Real*/(pump.nParallel)) unit = \"m3/s\" ) \"Volume flow rate (single pump)\" type: Real 25: pump.eta:VARIABLE() \"Global Efficiency\" type: Real 26: pump.W_single:VARIABLE(unit = \"W\" ) \"Power Consumption (single pump)\" type: Real 27: pump.Hb_flow:VARIABLE(unit = \"W\" ) \"Enthalpy flow across boundaries or energy source/sink\" type: Real 28: pipe1.flowModel.Res_turbulent_internal[1]:VARIABLE(unit = \"1\" ) \"Re_turbulent used internally; to be defined by extending class\" type: Real [1] 29: pipe1.flowModel.states[1].T:VARIABLE(min = 273.15 max = 2273.15 start = 500.0 unit = \"K\" nominal = 500.0 ) \"Temperature\" type: Real [2] 30: $cse20.s:VARIABLE(protected = true ) type: Real unreplaceable 31: $cse20.cp:VARIABLE(protected = true ) type: Real unreplaceable 32: $cse20.R_s:VARIABLE(protected = true ) type: Real unreplaceable 33: $cse20.dpT:VARIABLE(protected = true ) type: Real unreplaceable 34: $cse20.region:DISCRETE(protected = true ) type: Integer unreplaceable 35: $cse20.T:VARIABLE(protected = true ) type: Real unreplaceable 36: $cse20.rho:VARIABLE(protected = true ) type: Real unreplaceable 37: $cse20.vt:VARIABLE(protected = true ) type: Real unreplaceable 38: $cse20.p:VARIABLE(protected = true ) type: Real unreplaceable 39: $cse20.pd:VARIABLE(protected = true ) type: Real unreplaceable 40: $cse20.h:VARIABLE(protected = true ) type: Real unreplaceable 41: $cse20.phase:DISCRETE(protected = true ) type: Integer unreplaceable 42: pipe1.flowModel.states[1].h:VARIABLE(min = -1e10 max = 1e10 start = 1e5 unit = \"J/kg\" nominal = 5e5 ) \"Specific enthalpy\" type: Real [2] 43: $cse20.pt:VARIABLE(protected = true ) type: Real unreplaceable 44: $cse20.vp:VARIABLE(protected = true ) type: Real unreplaceable 45: $cse20.x:VARIABLE(protected = true ) type: Real unreplaceable 46: $cse20.cv:VARIABLE(protected = true ) type: Real unreplaceable 47: pipe1.flowModel.pathLengths_internal[1]:VARIABLE(unit = \"m\" ) \"pathLengths used internally; to be defined by extending class\" type: Real [1] 48: pipe1.flowModel.zetas[1]:VARIABLE() \"Coefficient for quadratic flow\" type: Real [1] 49: pipe1.flowModel.ks_inv[1]:VARIABLE() \"Coefficient for quadratic flow\" type: Real [1] 50: pipe1.flowModel.rhos_act[1]:VARIABLE(min = 0.0 max = 1e5 start = 150.0 unit = \"kg/m3\" nominal = 500.0 ) \"Actual density per segment\" type: Real [1] 51: pipe1.flowModel.rhos[1]:VARIABLE(min = 0.0 max = 1e5 start = 150.0 unit = \"kg/m3\" nominal = 500.0 ) type: Real [2] 52: pipe1.flowModel.mus[1]:VARIABLE(min = 0.0 max = 1e8 start = 0.001 unit = \"Pa.s\" nominal = 0.001 ) type: Real [2] 53: pipe1.flowModel.mus_act[1]:VARIABLE(min = 0.0 max = 1e8 start = 0.001 unit = \"Pa.s\" nominal = 0.001 ) \"Actual viscosity per segment\" type: Real [1] 54: $cse24:VARIABLE(protected = true ) type: Real unreplaceable 55: pipe1.flowModel.m_flows[1]:VARIABLE(min = -1.7976931348623157e308 max = 1e5 start = 0.4 unit = \"kg/s\" ) \"Mass flow rates between states\" type: Real [1] 56: $cse11:VARIABLE(protected = true ) type: Real unreplaceable 57: $cse14.R_s:VARIABLE(protected = true ) type: Real unreplaceable 58: $cse14.vt:VARIABLE(protected = true ) type: Real unreplaceable 59: orifice.port_b.h_outflow:VARIABLE(min = -1e10 max = 1e10 start = 1e5 unit = \"J/kg\" nominal = 5e5 ) \"Specific thermodynamic enthalpy close to the connection point if m_flow < 0\" type: Real 60: $cse14.s:VARIABLE(protected = true ) type: Real unreplaceable 61: $cse14.rho:VARIABLE(protected = true ) type: Real unreplaceable 62: $cse14.T:VARIABLE(protected = true ) type: Real unreplaceable 63: $cse14.cv:VARIABLE(protected = true ) type: Real unreplaceable 64: $cse14.h:VARIABLE(protected = true ) type: Real unreplaceable 65: $cse14.vp:VARIABLE(protected = true ) type: Real unreplaceable 66: $cse14.x:VARIABLE(protected = true ) type: Real unreplaceable 67: $cse14.region:DISCRETE(protected = true ) type: Integer unreplaceable 68: $cse14.phase:DISCRETE(protected = true ) type: Integer unreplaceable 69: $cse14.p:VARIABLE(protected = true ) type: Real unreplaceable 70: $cse14.dpT:VARIABLE(protected = true ) type: Real unreplaceable 71: $cse14.cp:VARIABLE(protected = true ) type: Real unreplaceable 72: $cse14.pt:VARIABLE(protected = true ) type: Real unreplaceable 73: $cse14.pd:VARIABLE(protected = true ) type: Real unreplaceable 74: orifice.state_a.d:VARIABLE(min = 0.0 max = 1e5 start = 150.0 unit = \"kg/m3\" nominal = 500.0 protected = true ) \"Density\" type: Real 75: orifice.d:VARIABLE(min = 0.0 max = 1e5 start = 150.0 unit = \"kg/m3\" nominal = 500.0 ) type: Real 76: orifice.zeta_nominal:VARIABLE() type: Real 77: $cse10:VARIABLE(protected = true ) type: Real unreplaceable 78: orifice.m_flow:VARIABLE(min = -1.7976931348623157e308 max = 1e5 start = 0.4 unit = \"kg/s\" ) \"Mass flow rate in design flow direction\" type: Real 79: $cse21:VARIABLE(protected = true ) type: Real unreplaceable 80: $cse12:VARIABLE(protected = true ) type: Real unreplaceable 81: pipe2.flowModel.m_flows[1]:VARIABLE(min = -1.7976931348623157e308 max = 1e5 start = 0.4 unit = \"kg/s\" ) \"Mass flow rates between states\" type: Real [1] 82: pipe2.flowModel.rhos[1]:VARIABLE(min = 0.0 max = 1e5 start = 150.0 unit = \"kg/m3\" nominal = 500.0 ) type: Real [2] 83: $cse29.phase:DISCRETE(protected = true ) type: Integer unreplaceable 84: $cse29.pt:VARIABLE(protected = true ) type: Real unreplaceable 85: $cse29.dpT:VARIABLE(protected = true ) type: Real unreplaceable 86: $cse29.region:DISCRETE(protected = true ) type: Integer unreplaceable 87: $cse29.rho:VARIABLE(protected = true ) type: Real unreplaceable 88: $cse29.pd:VARIABLE(protected = true ) type: Real unreplaceable 89: $cse29.x:VARIABLE(protected = true ) type: Real unreplaceable 90: $cse29.s:VARIABLE(protected = true ) type: Real unreplaceable 91: $cse29.cp:VARIABLE(protected = true ) type: Real unreplaceable 92: $cse29.T:VARIABLE(protected = true ) type: Real unreplaceable 93: $cse29.vt:VARIABLE(protected = true ) type: Real unreplaceable 94: $cse29.R_s:VARIABLE(protected = true ) type: Real unreplaceable 95: $cse29.cv:VARIABLE(protected = true ) type: Real unreplaceable 96: $cse29.h:VARIABLE(protected = true ) type: Real unreplaceable 97: $cse29.vp:VARIABLE(protected = true ) type: Real unreplaceable 98: $cse29.p:VARIABLE(protected = true ) type: Real unreplaceable 99: pipe2.flowModel.states[1].h:VARIABLE(min = -1e10 max = 1e10 start = 1e5 unit = \"J/kg\" nominal = 5e5 ) \"Specific enthalpy\" type: Real [2] 100: $cse13:VARIABLE(protected = true ) type: Real unreplaceable 101: pump.m_flow:VARIABLE(min = -1.7976931348623157e308 max = 1e5 start = 0.4 unit = \"kg/s\" ) \"Mass flow rate (total)\" type: Real [/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.002213/1.141, allocations: 3.826 MB / 0.7844 GB, free: 121.1 MB / 0.5606 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent could not be translated " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.9621828072704375] Failed to read output from testmodel.py, exit status != 0: ['time', 'eps_m_flow_turbulent', 'pump.port_b.m_flow', 'pump.port_b.p', 'pump.port_b.h_outflow', 'orifice.port_b.m_flow', 'orifice.port_b.p', 'orifice.port_b.h_outflow', 'sink.ports[1].m_flow', 'sink.ports[1].p', 'sink.ports[1].h_outflow', 'pipe1.port_b.m_flow', 'pipe1.port_b.p', 'pipe1.port_b.h_outflow', 'sink1.ports[1].m_flow', 'sink1.ports[1].p', 'sink1.ports[1].h_outflow', 'p_set.y', 'pipe2.port_b.m_flow', 'pipe2.port_b.p', 'pipe2.port_b.h_outflow', 'sink2.ports[1].m_flow', 'sink2.ports[1].p', 'sink2.ports[1].h_outflow'] 1.149611876346171 1.159211545 0.510298559 Calling exit ...