Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.InverseParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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(Modelica.Fluid.Examples.InverseParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|sink.ports.1..m_flow|sink1.ports.1..m_flow|sink2.ports.1..m_flow|pipe1.flowModel.dps_fg_turbulent.1.|pipe1.flowModel.pathLengths_nominal.1.|pipe2.flowModel.pathLengths_nominal.1.",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.InverseParameterization") translateModel(Modelica.Fluid.Examples.InverseParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|sink.ports.1..m_flow|sink1.ports.1..m_flow|sink2.ports.1..m_flow|pipe1.flowModel.dps_fg_turbulent.1.|pipe1.flowModel.pathLengths_nominal.1.|pipe2.flowModel.pathLengths_nominal.1.",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.InverseParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00129/0.00129, allocations: 111 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001339/0.001339, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 59.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2031, allocations: 50.54 MB / 409.9 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.InverseParameterization): time 0.06296/0.2661, allocations: 72.1 MB / 482 MB, free: 9.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02844/0.2946, allocations: 25.07 MB / 0.4952 GB, free: 84 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.2957, allocations: 35.75 kB / 0.4952 GB, free: 48 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001923/0.2976, allocations: 0.788 MB / 0.496 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01411/0.3118, allocations: 6.433 MB / 0.5023 GB, free: 8.816 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00977/0.3215, allocations: 4.481 MB / 0.5067 GB, free: 4.34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003866/0.3254, allocations: 3.61 MB / 0.5102 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001455/0.3269, allocations: 1.02 MB / 0.5112 GB, free: 15.67 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00259/0.3295, allocations: 1.553 MB / 0.5127 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0197/0.3492, allocations: 9.367 MB / 0.5219 GB, free: 4.609 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004255/0.3496, allocations: 156 kB / 0.522 GB, free: 4.457 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01897/0.3686, allocations: 10.25 MB / 0.532 GB, free: 10.18 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006234/0.3693, allocations: 0.5025 MB / 0.5325 GB, free: 9.672 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001167/0.3704, allocations: 0.8634 MB / 0.5333 GB, free: 8.805 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01085/0.3813, allocations: 7.063 MB / 0.5402 GB, free: 1.727 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.3813, allocations: 0 / 0.5402 GB, free: 1.727 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3813, allocations: 0 / 0.5402 GB, free: 1.727 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.463e-05/0.3813, allocations: 3.938 kB / 0.5402 GB, free: 1.723 MB / 462.1 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.1717/0.553, allocations: 2.874 MB / 0.543 GB, free: 131.8 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.5531, allocations: 7.906 kB / 0.5431 GB, free: 131.8 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004828/0.5579, allocations: 0.576 MB / 0.5436 GB, free: 131.7 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002041/0.56, allocations: 1.049 MB / 0.5446 GB, free: 131.1 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.896e-05/0.5601, allocations: 92.83 kB / 0.5447 GB, free: 131.1 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002369/0.5603, allocations: 106 kB / 0.5448 GB, free: 131.1 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004926/0.5653, allocations: 2.222 MB / 0.547 GB, free: 130.2 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/0.5653, allocations: 3.938 kB / 0.547 GB, free: 130.2 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001738/0.5655, allocations: 55.62 kB / 0.5471 GB, free: 130.1 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.431e-05/0.5656, allocations: 86.58 kB / 0.5471 GB, free: 130.1 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005096/0.5707, allocations: 2.322 MB / 0.5494 GB, free: 129.4 MB / 462.1 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.00971/0.5804, allocations: 9.153 MB / 0.5583 GB, free: 121.7 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004417/0.5848, allocations: 1.839 MB / 0.5601 GB, free: 120.8 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/0.5861, allocations: 0.7748 MB / 0.5609 GB, free: 120.3 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04195/0.6281, allocations: 27.23 MB / 0.5875 GB, free: 90.08 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.6281, allocations: 55.56 kB / 0.5875 GB, free: 90.02 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008249/0.629, allocations: 138.7 kB / 0.5877 GB, free: 89.88 MB / 462.1 MB Notification: Performance of pre-optimization done (n=109): time 4.008e-06/0.629, allocations: 0 / 0.5877 GB, free: 89.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=109): time 0.01783/0.6468, allocations: 4.594 MB / 0.5922 GB, free: 85.26 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.6469, allocations: 222.6 kB / 0.5924 GB, free: 84.99 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009441/0.6478, allocations: 0.9631 MB / 0.5933 GB, free: 84.01 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.074e-05/0.6479, allocations: 49.64 kB / 0.5934 GB, free: 83.96 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002584/0.6482, allocations: 0.5617 MB / 0.5939 GB, free: 83.39 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002079/0.6484, allocations: 381.4 kB / 0.5943 GB, free: 83.02 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003773/0.6488, allocations: 274.7 kB / 0.5945 GB, free: 82.75 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.897e-05/0.6489, allocations: 357.9 kB / 0.5949 GB, free: 82.39 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/0.6501, allocations: 0.6579 MB / 0.5955 GB, free: 81.73 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/0.6514, allocations: 1.02 MB / 0.5965 GB, free: 80.57 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002541/0.654, allocations: 1.685 MB / 0.5982 GB, free: 78.75 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.654, allocations: 4 kB / 0.5982 GB, free: 78.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003646/0.6577, allocations: 2.101 MB / 0.6002 GB, free: 76.63 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.6577, allocations: 12 kB / 0.6002 GB, free: 76.62 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.6577, allocations: 8.844 kB / 0.6002 GB, free: 76.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03052/0.6882, allocations: 3.129 MB / 0.6033 GB, free: 73.48 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.6894, allocations: 271.6 kB / 0.6036 GB, free: 73.22 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002399/0.6918, allocations: 1.466 MB / 0.605 GB, free: 71.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.6931, allocations: 87.11 kB / 0.6051 GB, free: 71.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.6932, allocations: 75.97 kB / 0.6051 GB, free: 71.57 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001474/0.6947, allocations: 0.8733 MB / 0.606 GB, free: 70.7 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001267/0.696, allocations: 1.002 MB / 0.607 GB, free: 69.54 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002391/0.6984, allocations: 1.619 MB / 0.6086 GB, free: 67.79 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.069e-06/0.6984, allocations: 8 kB / 0.6086 GB, free: 67.78 MB / 462.1 MB Notification: Performance of matching and sorting (n=158) (initialization_lambda0): time 0.00438/0.7028, allocations: 1.965 MB / 0.6105 GB, free: 65.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.7028, allocations: 8 kB / 0.6105 GB, free: 65.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.7028, allocations: 8 kB / 0.6105 GB, free: 65.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007984/0.7036, allocations: 201.2 kB / 0.6107 GB, free: 65.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/0.705, allocations: 335.5 kB / 0.611 GB, free: 65.26 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007163/0.7057, allocations: 0.755 MB / 0.6117 GB, free: 64.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.7068, allocations: 91.98 kB / 0.6118 GB, free: 64.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.707, allocations: 67.97 kB / 0.6119 GB, free: 64.32 MB / 462.1 MB 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.0003017/0.7073, allocations: 275.2 kB / 0.6122 GB, free: 64.05 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002289/0.7075, allocations: 130.3 kB / 0.6123 GB, free: 63.93 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005932/0.7134, allocations: 5.58 MB / 0.6177 GB, free: 58.33 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.7135, allocations: 7.969 kB / 0.6177 GB, free: 58.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.7135, allocations: 4 kB / 0.6177 GB, free: 58.32 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005804/0.7141, allocations: 437.8 kB / 0.6182 GB, free: 57.87 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002113/0.7143, allocations: 87.06 kB / 0.6182 GB, free: 57.78 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009662/0.7153, allocations: 99.81 kB / 0.6183 GB, free: 57.68 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/0.7154, allocations: 101.2 kB / 0.6184 GB, free: 57.59 MB / 462.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (1): 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 = Modelica.Fluid.Examples.InverseParameterization.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 = Modelica.Fluid.Examples.InverseParameterization.pump.efficiencyCharacteristic(pump.V_flow_single * pump.N_nominal / pump.N, 0.8) 34/79 (1): $cse9 = Modelica.Fluid.Examples.InverseParameterization.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/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9805:5-9806:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002067/0.7175, allocations: 3.812 MB / 0.6222 GB, free: 52.95 MB / 462.1 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Modelica.Fluid.Examples.InverseParameterization could not be translated