Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,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_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002653/0.002657, allocations: 347.6 kB / 15.95 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.292/3.292, allocations: 341.5 MB / 358.2 MB, free: 28.63 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003483/0.003484, allocations: 226.2 kB / 397.9 MB, free: 6.012 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4752/0.4752, allocations: 76.1 MB / 0.5014 GB, free: 0.8125 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004783/0.0004785, allocations: 12 kB / 0.5592 GB, free: 60.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08933/0.08984, allocations: 48.71 MB / 0.6067 GB, free: 11.53 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar): time 0.4051/0.495, allocations: 66.93 MB / 0.6721 GB, free: 13.45 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0398/0.5349, allocations: 23.32 MB / 0.6949 GB, free: 15.55 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002304/0.5372, allocations: 55.22 kB / 0.6949 GB, free: 15.52 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002871/0.5401, allocations: 0.6194 MB / 0.6955 GB, free: 14.99 MB / 330.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.02345/0.5636, allocations: 5.152 MB / 0.7006 GB, free: 11.1 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01529/0.5789, allocations: 3.427 MB / 0.7039 GB, free: 8.617 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007085/0.5861, allocations: 4.099 MB / 0.7079 GB, free: 4.988 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002354/0.5885, allocations: 0.8443 MB / 0.7087 GB, free: 4.125 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003893/0.5924, allocations: 1.261 MB / 0.71 GB, free: 2.859 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03929/0.6318, allocations: 15.3 MB / 0.7249 GB, free: 3.551 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008029/0.6326, allocations: 76 kB / 0.725 GB, free: 3.477 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03454/0.6672, allocations: 10.6 MB / 0.7353 GB, free: 8.871 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001273/0.6685, allocations: 426.6 kB / 0.7357 GB, free: 8.453 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009681/0.6695, allocations: 317 kB / 0.736 GB, free: 8.137 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01301/0.6826, allocations: 4.72 MB / 0.7407 GB, free: 3.406 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.718e-06/0.6826, allocations: 4 kB / 0.7407 GB, free: 3.402 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.6e-06/0.6827, allocations: 0 / 0.7407 GB, free: 3.402 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.795e-05/0.6827, allocations: 3.938 kB / 0.7407 GB, free: 3.398 MB / 362.7 MB 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.0133/0.6961, allocations: 2.518 MB / 0.7431 GB, free: 0.8242 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.813e-05/0.6961, allocations: 8.031 kB / 0.7431 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006209/0.7024, allocations: 0.5739 MB / 0.7437 GB, free: 248 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003057/0.7055, allocations: 0.9804 MB / 0.7446 GB, free: 15.22 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001611/0.7056, allocations: 98.02 kB / 0.7447 GB, free: 15.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003472/0.706, allocations: 108 kB / 0.7448 GB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008889/0.7149, allocations: 2.252 MB / 0.747 GB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.308e-05/0.715, allocations: 4 kB / 0.747 GB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002729/0.7153, allocations: 47.98 kB / 0.7471 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002145/0.7155, allocations: 86 kB / 0.7472 GB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01027/0.7258, allocations: 2.381 MB / 0.7495 GB, free: 10.12 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01919/0.745, allocations: 8.959 MB / 0.7582 GB, free: 0.5156 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007832/0.7529, allocations: 1.787 MB / 0.76 GB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002481/0.7554, allocations: 0.7278 MB / 0.7607 GB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06521/0.8207, allocations: 18.97 MB / 0.7792 GB, free: 8.707 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.689e-05/0.8208, allocations: 47.59 kB / 0.7793 GB, free: 8.648 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00135/0.8222, allocations: 162.8 kB / 0.7794 GB, free: 8.488 MB / 410.7 MB Notification: Performance of pre-optimization done (n=109): time 4.94e-06/0.8222, allocations: 3.938 kB / 0.7794 GB, free: 8.484 MB / 410.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pump.medium.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=159): time 0.218/1.04, allocations: 16.54 MB / 0.7956 GB, free: 7.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001457/1.04, allocations: 226.9 kB / 0.7958 GB, free: 7.477 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001774/1.042, allocations: 0.8651 MB / 0.7966 GB, free: 6.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005765/1.043, allocations: 61.69 kB / 0.7967 GB, free: 6.523 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006691/1.043, allocations: 0.5931 MB / 0.7973 GB, free: 5.922 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009546/1.044, allocations: 0.5314 MB / 0.7978 GB, free: 5.383 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003229/1.045, allocations: 36 kB / 0.7978 GB, free: 5.348 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002153/1.045, allocations: 369.9 kB / 0.7982 GB, free: 4.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007855/1.053, allocations: 1.507 MB / 0.7997 GB, free: 3.473 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008315/1.061, allocations: 1.964 MB / 0.8016 GB, free: 1.316 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008315/1.07, allocations: 1.634 MB / 0.8032 GB, free: 15.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.355e-05/1.07, allocations: 4 kB / 0.8032 GB, free: 15.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.02538/1.095, allocations: 4.803 MB / 0.8079 GB, free: 10.86 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004558/1.095, allocations: 464.7 kB / 0.8083 GB, free: 10.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.549e-05/1.096, allocations: 12 kB / 0.8083 GB, free: 10.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1811/1.277, allocations: 8.121 MB / 0.8163 GB, free: 2.086 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003085/1.28, allocations: 371.5 kB / 0.8166 GB, free: 1.723 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3184/1.598, allocations: 5.159 MB / 0.8216 GB, free: 163.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006218/1.604, allocations: 235.2 kB / 0.8219 GB, free: 163.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007457/1.605, allocations: 135.6 kB / 0.822 GB, free: 163.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/1.605, allocations: 3.5 kB / 0.822 GB, free: 163.5 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0276/1.633, allocations: 4.593 MB / 0.8265 GB, free: 162 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.66e-05/1.633, allocations: 9.938 kB / 0.8265 GB, free: 162 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02218/1.655, allocations: 3.082 MB / 0.8295 GB, free: 161.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003719/1.659, allocations: 430.8 kB / 0.8299 GB, free: 161.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02611/1.685, allocations: 4.47 MB / 0.8343 GB, free: 159.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005913/1.691, allocations: 234.9 kB / 0.8345 GB, free: 159.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006356/1.692, allocations: 137.2 kB / 0.8346 GB, free: 159.1 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 12 (pipe2.flowModel.states[2].phase,pipe2.flowModel.states[1].phase,pipe1.flowModel.states[2].phase,pipe1.flowModel.states[1].phase,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.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 (166): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 21,6 24} Notification: Performance of prepare postOptimizeDAE: time 0.001461/1.693, allocations: 480.4 kB / 0.8351 GB, free: 158.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005632/1.694, allocations: 138.1 kB / 0.8352 GB, free: 158.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04173/1.736, allocations: 9.136 MB / 0.8441 GB, free: 153.9 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-05/1.736, allocations: 11.78 kB / 0.8442 GB, free: 153.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/1.736, allocations: 0 / 0.8442 GB, free: 153.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002329/1.738, allocations: 0.6782 MB / 0.8448 GB, free: 153.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007864/1.739, allocations: 31.69 kB / 0.8449 GB, free: 153.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006286/1.745, allocations: 260.6 kB / 0.8451 GB, free: 153.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005373/1.746, allocations: 121.8 kB / 0.8452 GB, free: 152.9 MB / 442.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:522:7-524:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (1): pump.heatTransfer.states[1].phase = if pump.medium.h < $cse5.h or pump.medium.h > $cse6.h or pump.medium.p > 22064000.0 then 1 else 2 2/2 (16): $cse7 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(pump.medium.p, pump.medium.h, pump.heatTransfer.states[1].phase, 0) 3/18 (1): pump.rho = $cse7.rho 4/19 (1): pipe2.flowModel.states[1].h = ($cse18 * sink.ports[1].h_outflow + $cse11 * pipe1.port_a.h_outflow + $cse13 * pump.medium.h) / ($cse18 + $cse11 + $cse13) 5/20 (16): $cse28 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(pump.medium.p, pipe2.flowModel.states[1].h, 0, 0) 6/36 (1): pipe2.flowModel.rhos[1] = $cse28.rho 7/37 (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 8/38 (1): $cse12 = max(-pipe2.flowModel.m_flows[1], 1e-07) 9/39 (1): pipe1.flowModel.states[1].h = ($cse18 * sink.ports[1].h_outflow + $cse12 * pipe2.port_a.h_outflow + $cse13 * pump.medium.h) / ($cse18 + $cse12 + $cse13) 10/40 (16): $cse17 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(pump.medium.p, pipe1.flowModel.states[1].h, 0, 0) 11/56 (1): pipe1.flowModel.rhos[1] = $cse17.rho 12/57 (1): pipe1.flowModel.mus[1] = Modelica.Media.Water.IF97_Utilities.dynamicViscosity(pipe1.flowModel.rhos[1], pipe1.flowModel.states[1].T, pump.medium.p, 0) 13/58 (1): pipe1.flowModel.mus_act[1] = 0.5 * (pipe1.flowModel.mus[1] + pipe1.flowModel.mus[2]) 14/59 (1): $cse35 = ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.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]) 15/60 (1): pipe1.flowModel.m_flows[1] = $cse35 * pipe1.flowModel.nParallel 16/61 (1): $cse11 = max(-pipe1.flowModel.m_flows[1], 1e-07) 17/62 (1): orifice.port_b.h_outflow = ($cse11 * pipe1.port_a.h_outflow + $cse12 * pipe2.port_a.h_outflow + $cse13 * pump.medium.h) / ($cse11 + $cse12 + $cse13) 18/63 (16): $cse14 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(pump.medium.p, orifice.port_b.h_outflow, 0, 0) 19/79 (1): orifice.state_a.d = $cse14.rho 20/80 (1): orifice.m_flow = Modelica.Fluid.Utilities.regRoot2(orifice.dp_fg, orifice.dp_small, orifice.state_a.d / $cse34, orifice.state_b.d / $cse34, false, 1.0) 21/81 (1): $cse18 = max(-orifice.m_flow, 1e-07) 22/82 (1): pump.Hb_flow = smooth(0, pump.m_flow * (if pump.m_flow > 0.0 then source.ports[1].h_outflow else pump.medium.h)) + smooth(0, (-pump.m_flow) * (if (-pump.m_flow) > 0.0 then ($cse18 * sink.ports[1].h_outflow + $cse11 * pipe1.port_a.h_outflow + $cse12 * pipe2.port_a.h_outflow) / ($cse18 + $cse11 + $cse12) else pump.medium.h)) 23/83 (1): -pump.Hb_flow = pump.W_single * /*Real*/(pump.nParallel) 24/84 (1): pump.W_single = pump.dp_pump * pump.V_flow_single / pump.eta 25/85 (1): pump.eta = ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pump.efficiencyCharacteristic(pump.V_flow_single * pump.N_nominal / pump.N, 0.8) 26/86 (1): $cse9 = ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.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}) 27/87 (1): pump.head = (pump.N / pump.N_nominal) ^ 2.0 * $cse9 28/88 (1): pump.head = pump.dp_pump / (pump.rho * pump.g) 29/89 (1): pump.V_flow = pump.m_flow / pump.rho 30/90 (1): pump.V_flow_single = pump.V_flow / /*Real*/(pump.nParallel) 31/91 (1): pipe2.flowModel.m_flows[1] + pipe1.flowModel.m_flows[1] + orifice.m_flow - pump.m_flow = 0.0 32/92 (1): $cse13 = max(pump.m_flow, 1e-07) 33/93 (1): orifice.d = 0.5 * (orifice.state_a.d + orifice.state_b.d) 34/94 (1): orifice.zeta_nominal = 2.0 * orifice.A_mean ^ 2.0 * orifice.d * orifice.dp_nominal / orifice.m_flow_nominal ^ 2.0 35/95 (1): $cse34 = Modelica.Fluid.Fittings.BaseClasses.lossConstant_D_zeta(orifice.diameter, orifice.zeta_nominal) 36/96 (1): pipe1.flowModel.Res_turbulent_internal[1] = 1.273239544735163 * pipe1.flowModel.m_flow_turbulent / (pipe1.flowModel.nParallel * pipe1.flowModel.diameters[1] * pipe1.flowModel.mus_act[1]) 37/97 (1): pipe1.flowModel.rhos_act[1] = 0.5 * (pipe1.flowModel.rhos[1] + pipe1.flowModel.rhos[2]) 38/98 (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]) 39/99 (1): pipe1.flowModel.zetas[1] = 0.125 * (3.141592653589793 * pipe1.flowModel.diameters[1] ^ 2.0) ^ 2.0 / pipe1.flowModel.ks_inv[1] 40/100 (1): pipe1.flowModel.pathLengths_internal[1] = pipe1.flowModel.zetas[1] * pipe1.flowModel.diameters[1] * (2.0 * $cse23) ^ 2.0 41/101 (1): pipe1.flowModel.states[1].T = $cse17.T Variables: 1: pipe1.flowModel.states[1].T:DUMMY_STATE(min = 273.15 max = 2273.15 start = 500.0 unit = "K" nominal = 500.0 stateSelect=StateSelect.never ) "Temperature" type: Real [2] 2: pipe1.flowModel.pathLengths_internal[1]:DUMMY_STATE(unit = "m" stateSelect=StateSelect.never ) "pathLengths used internally; to be defined by extending class" type: Real [1] 3: pipe1.flowModel.zetas[1]:DUMMY_STATE(stateSelect=StateSelect.never ) "coefficient for quadratic flow" type: Real [1] 4: pipe1.flowModel.ks_inv[1]:DUMMY_STATE(stateSelect=StateSelect.never ) "coefficient for quadratic flow" type: Real [1] 5: pipe1.flowModel.rhos_act[1]:DUMMY_STATE(min = 0.0 max = 100000.0 start = 150.0 unit = "kg/m3" nominal = 500.0 stateSelect=StateSelect.never ) "Actual density per segment" type: Real [1] 6: pipe1.flowModel.Res_turbulent_internal[1]:DUMMY_STATE(unit = "1" stateSelect=StateSelect.never ) "Re_turbulent used internally; to be defined by extending class" type: Real [1] 7: $cse34:VARIABLE(protected = true ) type: Real unreplaceable 8: orifice.zeta_nominal:DUMMY_STATE(stateSelect=StateSelect.never ) type: Real 9: orifice.d:DUMMY_STATE(min = 0.0 max = 100000.0 start = 150.0 unit = "kg/m3" nominal = 500.0 stateSelect=StateSelect.never ) type: Real 10: $cse13:VARIABLE(protected = true ) type: Real unreplaceable 11: pump.m_flow:DUMMY_STATE(min = -9.999999999999999e+59 max = 100000.0 start = 0.4 unit = "kg/s" stateSelect=StateSelect.never ) "Mass flow rate (total)" type: Real 12: pump.V_flow_single:DUMMY_STATE(start = 0.4 / (pump.rho_nominal * /*Real*/(pump.nParallel)) unit = "m3/s" stateSelect=StateSelect.never ) "Volume flow rate (single pump)" type: Real 13: pump.V_flow:DUMMY_STATE(unit = "m3/s" stateSelect=StateSelect.never ) "Volume flow rate (total)" type: Real 14: pump.rho:DUMMY_STATE(min = 0.0 max = 100000.0 start = 150.0 unit = "kg/m3" nominal = 500.0 stateSelect=StateSelect.never ) type: Real 15: pump.head:DUMMY_STATE(min = 0.0 unit = "m" stateSelect=StateSelect.never ) "Pump head" type: Real 16: $cse9:VARIABLE(protected = true ) type: Real unreplaceable 17: pump.N:DUMMY_STATE(start = pump.N_nominal unit = "1/min" stateSelect=StateSelect.never ) "Shaft rotational speed" type: Real 18: pump.eta:DUMMY_STATE(stateSelect=StateSelect.never ) "Global Efficiency" type: Real 19: pump.W_single:DUMMY_STATE(unit = "W" stateSelect=StateSelect.never ) "Power Consumption (single pump)" type: Real 20: pump.Hb_flow:DUMMY_STATE(unit = "W" stateSelect=StateSelect.never ) "Enthalpy flow across boundaries or energy source/sink" type: Real 21: $cse18:VARIABLE(protected = true ) type: Real unreplaceable 22: orifice.m_flow:DUMMY_STATE(min = -9.999999999999999e+59 max = 100000.0 start = 0.4 unit = "kg/s" ) "Mass flow rate in design flow direction" type: Real 23: orifice.state_a.d:DUMMY_STATE(min = 0.0 max = 100000.0 start = 150.0 unit = "kg/m3" nominal = 500.0 stateSelect=StateSelect.never protected = true ) "Density" type: Real 24: $cse14.R:VARIABLE(protected = true ) type: Real unreplaceable 25: $cse14.region:DISCRETE(protected = true ) type: Integer unreplaceable 26: $cse14.cv:VARIABLE(protected = true ) type: Real unreplaceable 27: $cse14.cp:VARIABLE(protected = true ) type: Real unreplaceable 28: $cse14.vt:VARIABLE(protected = true ) type: Real unreplaceable 29: $cse14.dpT:VARIABLE(protected = true ) type: Real unreplaceable 30: $cse14.pd:VARIABLE(protected = true ) type: Real unreplaceable 31: $cse14.h:VARIABLE(protected = true ) type: Real unreplaceable 32: $cse14.rho:VARIABLE(protected = true ) type: Real unreplaceable 33: $cse14.T:VARIABLE(protected = true ) type: Real unreplaceable 34: $cse14.phase:DISCRETE(protected = true ) type: Integer unreplaceable 35: $cse14.s:VARIABLE(protected = true ) type: Real unreplaceable 36: $cse14.x:VARIABLE(protected = true ) type: Real unreplaceable 37: $cse14.vp:VARIABLE(protected = true ) type: Real unreplaceable 38: $cse14.pt:VARIABLE(protected = true ) type: Real unreplaceable 39: $cse14.p:VARIABLE(protected = true ) type: Real unreplaceable 40: orifice.port_b.h_outflow:DUMMY_STATE(min = -10000000000.0 max = 10000000000.0 start = 100000.0 unit = "J/kg" nominal = 500000.0 stateSelect=StateSelect.never ) "Specific thermodynamic enthalpy close to the connection point if m_flow < 0" type: Real 41: $cse11:VARIABLE(protected = true ) type: Real unreplaceable 42: pipe1.flowModel.m_flows[1]:DUMMY_STATE(min = -9.999999999999999e+59 max = 100000.0 start = 0.4 unit = "kg/s" ) "mass flow rates between states" type: Real [1] 43: $cse35:VARIABLE(protected = true ) type: Real unreplaceable 44: pipe1.flowModel.mus_act[1]:DUMMY_STATE(min = 0.0 max = 100000000.0 start = 0.001 unit = "Pa.s" nominal = 0.001 stateSelect=StateSelect.never ) "Actual viscosity per segment" type: Real [1] 45: pipe1.flowModel.mus[1]:DUMMY_STATE(min = 0.0 max = 100000000.0 start = 0.001 unit = "Pa.s" nominal = 0.001 stateSelect=StateSelect.never ) type: Real [2] 46: pipe1.flowModel.rhos[1]:DUMMY_STATE(min = 0.0 max = 100000.0 start = 150.0 unit = "kg/m3" nominal = 500.0 stateSelect=StateSelect.never ) type: Real [2] 47: $cse17.phase:DISCRETE(protected = true ) type: Integer unreplaceable 48: $cse17.x:VARIABLE(protected = true ) type: Real unreplaceable 49: $cse17.cv:VARIABLE(protected = true ) type: Real unreplaceable 50: $cse17.p:VARIABLE(protected = true ) type: Real unreplaceable 51: $cse17.dpT:VARIABLE(protected = true ) type: Real unreplaceable 52: $cse17.rho:VARIABLE(protected = true ) type: Real unreplaceable 53: $cse17.vp:VARIABLE(protected = true ) type: Real unreplaceable 54: $cse17.cp:VARIABLE(protected = true ) type: Real unreplaceable 55: $cse17.vt:VARIABLE(protected = true ) type: Real unreplaceable 56: $cse17.pt:VARIABLE(protected = true ) type: Real unreplaceable 57: $cse17.region:DISCRETE(protected = true ) type: Integer unreplaceable 58: $cse17.h:VARIABLE(protected = true ) type: Real unreplaceable 59: $cse17.s:VARIABLE(protected = true ) type: Real unreplaceable 60: $cse17.R:VARIABLE(protected = true ) type: Real unreplaceable 61: $cse17.T:VARIABLE(protected = true ) type: Real unreplaceable 62: $cse17.pd:VARIABLE(protected = true ) type: Real unreplaceable 63: pipe1.flowModel.states[1].h:DUMMY_STATE(min = -10000000000.0 max = 10000000000.0 start = 100000.0 unit = "J/kg" nominal = 500000.0 stateSelect=StateSelect.never ) "Specific enthalpy" type: Real [2] 64: $cse12:VARIABLE(protected = true ) type: Real unreplaceable 65: pipe2.flowModel.m_flows[1]:DUMMY_STATE(min = -9.999999999999999e+59 max = 100000.0 start = 0.4 unit = "kg/s" ) "mass flow rates between states" type: Real [1] 66: pipe2.flowModel.rhos[1]:DUMMY_STATE(min = 0.0 max = 100000.0 start = 150.0 unit = "kg/m3" nominal = 500.0 stateSelect=StateSelect.never ) type: Real [2] 67: $cse28.s:VARIABLE(protected = true ) type: Real unreplaceable 68: $cse28.pd:VARIABLE(protected = true ) type: Real unreplaceable 69: $cse28.region:DISCRETE(protected = true ) type: Integer unreplaceable 70: $cse28.pt:VARIABLE(protected = true ) type: Real unreplaceable 71: $cse28.vp:VARIABLE(protected = true ) type: Real unreplaceable 72: $cse28.cp:VARIABLE(protected = true ) type: Real unreplaceable 73: $cse28.x:VARIABLE(protected = true ) type: Real unreplaceable 74: $cse28.rho:VARIABLE(protected = true ) type: Real unreplaceable 75: $cse28.phase:DISCRETE(protected = true ) type: Integer unreplaceable 76: $cse28.cv:VARIABLE(protected = true ) type: Real unreplaceable 77: $cse28.dpT:VARIABLE(protected = true ) type: Real unreplaceable 78: $cse28.R:VARIABLE(protected = true ) type: Real unreplaceable 79: $cse28.vt:VARIABLE(protected = true ) type: Real unreplaceable 80: $cse28.T:VARIABLE(protected = true ) type: Real unreplaceable 81: $cse28.p:VARIABLE(protected = true ) type: Real unreplaceable 82: $cse28.h:VARIABLE(protected = true ) type: Real unreplaceable 83: pipe2.flowModel.states[1].h:DUMMY_STATE(min = -10000000000.0 max = 10000000000.0 start = 100000.0 unit = "J/kg" nominal = 500000.0 stateSelect=StateSelect.never ) "Specific enthalpy" type: Real [2] 84: $cse7.vp:VARIABLE(protected = true ) type: Real unreplaceable 85: $cse7.region:DISCRETE(protected = true ) type: Integer unreplaceable 86: $cse7.x:VARIABLE(protected = true ) type: Real unreplaceable 87: $cse7.rho:VARIABLE(protected = true ) type: Real unreplaceable 88: $cse7.pd:VARIABLE(protected = true ) type: Real unreplaceable 89: $cse7.p:VARIABLE(protected = true ) type: Real unreplaceable 90: $cse7.s:VARIABLE(protected = true ) type: Real unreplaceable 91: $cse7.h:VARIABLE(protected = true ) type: Real unreplaceable 92: $cse7.cv:VARIABLE(protected = true ) type: Real unreplaceable 93: $cse7.phase:DISCRETE(protected = true ) type: Integer unreplaceable 94: $cse7.R:VARIABLE(protected = true ) type: Real unreplaceable 95: $cse7.T:VARIABLE(protected = true ) type: Real unreplaceable 96: $cse7.vt:VARIABLE(protected = true ) type: Real unreplaceable 97: pump.medium.h:DUMMY_STATE(flow=false min = -10000000000.0 max = 10000000000.0 start = pump.h_start unit = "J/kg" nominal = 500000.0 stateSelect=StateSelect.prefer ) "Specific enthalpy of medium" type: Real 98: $cse7.pt:VARIABLE(protected = true ) type: Real unreplaceable 99: $cse7.dpT:VARIABLE(protected = true ) type: Real unreplaceable 100: $cse7.cp:VARIABLE(protected = true ) type: Real unreplaceable 101: 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] [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9662:5-9663:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004802/1.751, allocations: 4.118 MB / 0.8492 GB, free: 147.9 MB / 442.7 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed.