Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|suddenExpansion1.dp|suddenExpansion1.m_flow|suddenExpansion1.port_b_T|suddenExpansion2.dp|suddenExpansion2.m_flow|suddenExpansion2.port_b_T",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings") translateModel(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|suddenExpansion1.dp|suddenExpansion1.m_flow|suddenExpansion1.port_b_T|suddenExpansion2.dp|suddenExpansion2.m_flow|suddenExpansion2.port_b_T",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 107.3 kB / 18.4 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 191.3 kB / 19.34 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.303/1.303, allocations: 205.1 MB / 225.2 MB, free: 12.28 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 47.94 kB / 329.2 MB, free: 3.336 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06815/0.06933, allocations: 46.62 MB / 375.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings): time 0.1941/0.2634, allocations: 62.85 MB / 438.7 MB, free: 464 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02443/0.2879, allocations: 22.45 MB / 461.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007386/0.2887, allocations: 31.75 kB / 461.1 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001579/0.2903, allocations: 0.7335 MB / 461.9 MB, free: 9.461 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01334/0.3036, allocations: 5.775 MB / 467.6 MB, free: 3.668 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00776/0.3114, allocations: 3.455 MB / 471.1 MB, free: 204 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01609/0.3275, allocations: 9.044 MB / 480.1 MB, free: 7.039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008509/0.3284, allocations: 0.6976 MB / 480.8 MB, free: 6.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001452/0.3298, allocations: 1.055 MB / 481.9 MB, free: 5.281 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008159/0.3307, allocations: 0.8362 MB / 482.7 MB, free: 4.441 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.3308, allocations: 92 kB / 482.8 MB, free: 4.352 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01303/0.3439, allocations: 7.653 MB / 490.5 MB, free: 12.69 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002689/0.3442, allocations: 286.9 kB / 490.8 MB, free: 12.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006666/0.3448, allocations: 0.7115 MB / 491.5 MB, free: 11.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007903/0.3527, allocations: 5.745 MB / 497.2 MB, free: 5.938 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3528, allocations: 3.984 kB / 497.2 MB, free: 5.934 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3528, allocations: 0 / 497.2 MB, free: 5.934 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.3528, allocations: 0 / 497.2 MB, free: 5.934 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.005151/0.358, allocations: 2.467 MB / 499.7 MB, free: 3.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.358, allocations: 12.03 kB / 499.7 MB, free: 3.398 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004619/0.3626, allocations: 0.6588 MB / 0.4886 GB, free: 2.738 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001682/0.3643, allocations: 1.036 MB / 0.4896 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.838e-05/0.3644, allocations: 74.58 kB / 0.4897 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.3645, allocations: 107.9 kB / 0.4898 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003485/0.368, allocations: 1.675 MB / 0.4914 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/0.368, allocations: 3.938 kB / 0.4915 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.3682, allocations: 52 kB / 0.4915 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/0.3682, allocations: 24 kB / 0.4915 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003398/0.3716, allocations: 1.463 MB / 0.493 GB, free: 14.1 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008571/0.3802, allocations: 8.392 MB / 0.5011 GB, free: 5.098 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003069/0.3833, allocations: 1.696 MB / 0.5028 GB, free: 3.238 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005977/0.3839, allocations: 399.6 kB / 0.5032 GB, free: 2.844 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2693/0.6532, allocations: 63.66 MB / 0.5654 GB, free: 150.3 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.6532, allocations: 44.66 kB / 0.5654 GB, free: 150.2 MB / 478.1 MB Notification: Performance of pre-optimization done (n=77): time 2.835e-06/0.6533, allocations: 0 / 0.5654 GB, free: 150.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=77): time 0.00572/0.659, allocations: 1.992 MB / 0.5673 GB, free: 150.1 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.659, allocations: 189.4 kB / 0.5675 GB, free: 149.9 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.6601, allocations: 0.9692 MB / 0.5685 GB, free: 149.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.877e-05/0.6602, allocations: 37.83 kB / 0.5685 GB, free: 149.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002757/0.6605, allocations: 0.5675 MB / 0.5691 GB, free: 149.1 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.6606, allocations: 279.7 kB / 0.5693 GB, free: 148.9 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002733/0.6609, allocations: 230.1 kB / 0.5695 GB, free: 148.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.974e-05/0.6609, allocations: 358.2 kB / 0.5699 GB, free: 148.4 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004965/0.6615, allocations: 305.5 kB / 0.5702 GB, free: 148.3 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006608/0.6621, allocations: 0.7431 MB / 0.5709 GB, free: 147.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.6633, allocations: 1.099 MB / 0.572 GB, free: 146.8 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.6633, allocations: 5.062 kB / 0.572 GB, free: 146.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001872/0.6652, allocations: 1.246 MB / 0.5732 GB, free: 146.2 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.6653, allocations: 14.56 kB / 0.5732 GB, free: 146.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.6653, allocations: 14.06 kB / 0.5732 GB, free: 146.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003124/0.6684, allocations: 0.5203 MB / 0.5737 GB, free: 146.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.6694, allocations: 283.9 kB / 0.574 GB, free: 146.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007272/0.6702, allocations: 1.373 MB / 0.5753 GB, free: 144.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006602/0.6708, allocations: 135.2 kB / 0.5755 GB, free: 144.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.482e-05/0.6709, allocations: 72.42 kB / 0.5755 GB, free: 144.8 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 20 (rightAdaptor.state_b.phase,rightAdaptor.state_a.phase,rightAdaptor.state_a_nondes.phase,rightAdaptor.state_b_des.phase,leftAdaptor.state_b.phase,leftAdaptor.state_a.phase,leftAdaptor.state_a_nondes.phase,leftAdaptor.state_b_des.phase,suddenExpansion2.state_b.phase,suddenExpansion2.state_a.phase,suddenExpansion2.state_a_nondes.phase,suddenExpansion2.state_b_des.phase,rightBoundary2.medium.phase,leftBoundary2.medium.phase,suddenExpansion1.state_b.phase,suddenExpansion1.state_a.phase,suddenExpansion1.state_a_nondes.phase,suddenExpansion1.state_b_des.phase,rightBoundary1.medium.phase,leftBoundary1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(3,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000346/0.6713, allocations: 288.9 kB / 0.5758 GB, free: 144.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/0.6715, allocations: 124 kB / 0.5759 GB, free: 144.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003977/0.6755, allocations: 4.493 MB / 0.5803 GB, free: 142.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.6755, allocations: 5.359 kB / 0.5803 GB, free: 142.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.6755, allocations: 0 / 0.5803 GB, free: 142.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002016/0.6757, allocations: 263.3 kB / 0.5806 GB, free: 142 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.6759, allocations: 46.47 kB / 0.5806 GB, free: 142 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005037/0.6764, allocations: 32.22 kB / 0.5807 GB, free: 142 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.865e-05/0.6765, allocations: 55.81 kB / 0.5807 GB, free: 142 MB / 478.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 (16): $cse10 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(leftAdaptor.state_a_nondes.p, rightAdaptor.state_b_des.h, 0, 0) 2/17 (1): suddenExpansion2.state_a.d = $cse10.rho 3/18 (1): suddenExpansion2.dp_fg = Modelica.Fluid.Fittings.BaseClasses.QuadraticTurbulent.pressureLoss_m_flow_totalPressure(rightAdaptor.m_flow, suddenExpansion2.state_a.d, suddenExpansion2.state_b_des.d, suddenExpansion2.state_b.d, suddenExpansion2.state_a_nondes.d, Modelica.Fluid.Fittings.BaseClasses.QuadraticTurbulent.LossFactorData(0.1, 0.2, 0.5625, 0.4029637244338282, 100.0, 0.1, true, true, true, 30.0), suddenExpansion2.m_flow_small) 4/19 (1): suddenExpansion2.state_b.d = rightAdaptor.state_a_nondes.d 5/20 (1): rightAdaptor.dp_fg = Modelica.Fluid.Fittings.BaseClasses.QuadraticTurbulent.pressureLoss_m_flow_totalPressure(rightAdaptor.m_flow, rightAdaptor.state_a.d, rightAdaptor.state_b_des.d, rightAdaptor.state_b.d, rightAdaptor.state_a_nondes.d, Modelica.Fluid.Fittings.BaseClasses.QuadraticTurbulent.LossFactorData(0.2, 1e60, 1.0, 0.5, 100.0, 0.2, true, true, true, 30.0), rightAdaptor.m_flow_small) 6/21 (1): leftAdaptor.dp_fg = Modelica.Fluid.Fittings.BaseClasses.QuadraticTurbulent.pressureLoss_m_flow_totalPressure(-rightAdaptor.m_flow, leftAdaptor.state_a.d, leftAdaptor.state_b_des.d, leftAdaptor.state_b.d, leftAdaptor.state_a_nondes.d, Modelica.Fluid.Fittings.BaseClasses.QuadraticTurbulent.LossFactorData(0.1, 1e60, 1.0, 0.5, 100.0, 0.1, true, true, true, 30.0), leftAdaptor.m_flow_small) 7/22 (1): leftAdaptor.state_a.d = $cse13.rho 8/23 (16): $cse13 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(leftAdaptor.state_a_nondes.p, rightBoundary2.ports[1].h_outflow, 0, 0) 9/39 (1): leftAdaptor.F_p = 3.926990816987241e119 * (leftBoundary2.p - leftAdaptor.state_a_nondes.p) 10/40 (1): -leftAdaptor.F_p = 3.926990816987241e119 * leftAdaptor.dp_fg 11/41 (1): suddenExpansion2.F_p = 0.01963495408493621 * (rightAdaptor.state_a_nondes.p - leftAdaptor.state_a_nondes.p) 12/42 (1): -suddenExpansion2.F_p = 0.01963495408493621 * suddenExpansion2.dp_fg 13/43 (1): leftAdaptor.state_a.d = suddenExpansion2.state_a_nondes.d 14/44 (1): suddenExpansion2.state_b.d = $cse11.rho 15/45 (16): $cse11 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(rightAdaptor.state_a_nondes.p, rightBoundary2.ports[1].h_outflow, 0, 0) 16/61 (16): $cse16 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(rightAdaptor.state_a_nondes.p, rightAdaptor.state_b_des.h, 0, 0) 17/77 (1): rightAdaptor.state_a.d = $cse16.rho 18/78 (1): rightAdaptor.state_a.d = suddenExpansion2.state_b_des.d 19/79 (1): rightAdaptor.F_p = 3.926990816987241e119 * (rightBoundary2.p - rightAdaptor.state_a_nondes.p) 20/80 (1): -rightAdaptor.F_p = 3.926990816987241e119 * rightAdaptor.dp_fg 21/81 (1): suddenExpansion2.state_a.d = leftAdaptor.state_a_nondes.d Variables: 1: leftAdaptor.state_a_nondes.d:VARIABLE(min = 0.0 max = 1e5 start = 150.0 unit = "kg/m3" nominal = 500.0 ) "Density" type: Real 2: rightAdaptor.dp_fg:VARIABLE(unit = "Pa" ) "pressure loss due to friction and gravity" type: Real 3: rightAdaptor.F_p:VARIABLE(unit = "N" ) "Pressure force" type: Real 4: suddenExpansion2.state_b_des.d:VARIABLE(min = 0.0 max = 1e5 start = 150.0 unit = "kg/m3" nominal = 500.0 ) "Density" type: Real 5: rightAdaptor.state_a.d:VARIABLE(min = 0.0 max = 1e5 start = 150.0 unit = "kg/m3" nominal = 500.0 protected = true ) "Density" type: Real 6: $cse16.region:DISCRETE(protected = true ) type: Integer unreplaceable 7: $cse16.rho:VARIABLE(protected = true ) type: Real unreplaceable 8: $cse16.pd:VARIABLE(protected = true ) type: Real unreplaceable 9: $cse16.phase:DISCRETE(protected = true ) type: Integer unreplaceable 10: $cse16.cp:VARIABLE(protected = true ) type: Real unreplaceable 11: $cse16.T:VARIABLE(protected = true ) type: Real unreplaceable 12: $cse16.dpT:VARIABLE(protected = true ) type: Real unreplaceable 13: $cse16.pt:VARIABLE(protected = true ) type: Real unreplaceable 14: $cse16.p:VARIABLE(protected = true ) type: Real unreplaceable 15: $cse16.vt:VARIABLE(protected = true ) type: Real unreplaceable 16: $cse16.cv:VARIABLE(protected = true ) type: Real unreplaceable 17: $cse16.R:VARIABLE(protected = true ) type: Real unreplaceable 18: $cse16.h:VARIABLE(protected = true ) type: Real unreplaceable 19: $cse16.x:VARIABLE(protected = true ) type: Real unreplaceable 20: $cse16.s:VARIABLE(protected = true ) type: Real unreplaceable 21: $cse16.vp:VARIABLE(protected = true ) type: Real unreplaceable 22: $cse11.cp:VARIABLE(protected = true ) type: Real unreplaceable 23: $cse11.dpT:VARIABLE(protected = true ) type: Real unreplaceable 24: $cse11.cv:VARIABLE(protected = true ) type: Real unreplaceable 25: $cse11.vp:VARIABLE(protected = true ) type: Real unreplaceable 26: $cse11.rho:VARIABLE(protected = true ) type: Real unreplaceable 27: $cse11.vt:VARIABLE(protected = true ) type: Real unreplaceable 28: $cse11.x:VARIABLE(protected = true ) type: Real unreplaceable 29: $cse11.region:DISCRETE(protected = true ) type: Integer unreplaceable 30: $cse11.R:VARIABLE(protected = true ) type: Real unreplaceable 31: $cse11.pd:VARIABLE(protected = true ) type: Real unreplaceable 32: $cse11.pt:VARIABLE(protected = true ) type: Real unreplaceable 33: $cse11.p:VARIABLE(protected = true ) type: Real unreplaceable 34: $cse11.phase:DISCRETE(protected = true ) type: Integer unreplaceable 35: $cse11.s:VARIABLE(protected = true ) type: Real unreplaceable 36: $cse11.T:VARIABLE(protected = true ) type: Real unreplaceable 37: rightAdaptor.state_a_nondes.p:VARIABLE(min = 611.657 max = 1e8 start = 5e6 unit = "Pa" nominal = 1e6 ) "Pressure" type: Real 38: $cse11.h:VARIABLE(protected = true ) type: Real unreplaceable 39: suddenExpansion2.state_a_nondes.d:VARIABLE(min = 0.0 max = 1e5 start = 150.0 unit = "kg/m3" nominal = 500.0 ) "Density" type: Real 40: suddenExpansion2.dp_fg:VARIABLE(unit = "Pa" ) "pressure loss due to friction and gravity" type: Real 41: suddenExpansion2.F_p:VARIABLE(unit = "N" ) "Pressure force" type: Real 42: leftAdaptor.dp_fg:VARIABLE(unit = "Pa" ) "pressure loss due to friction and gravity" type: Real 43: leftAdaptor.F_p:VARIABLE(unit = "N" ) "Pressure force" type: Real 44: leftAdaptor.state_a_nondes.p:VARIABLE(min = 611.657 max = 1e8 start = 5e6 unit = "Pa" nominal = 1e6 ) "Pressure" type: Real 45: $cse13.x:VARIABLE(protected = true ) type: Real unreplaceable 46: $cse13.rho:VARIABLE(protected = true ) type: Real unreplaceable 47: $cse13.vp:VARIABLE(protected = true ) type: Real unreplaceable 48: $cse13.p:VARIABLE(protected = true ) type: Real unreplaceable 49: $cse13.R:VARIABLE(protected = true ) type: Real unreplaceable 50: $cse13.region:DISCRETE(protected = true ) type: Integer unreplaceable 51: $cse13.pd:VARIABLE(protected = true ) type: Real unreplaceable 52: $cse13.cp:VARIABLE(protected = true ) type: Real unreplaceable 53: $cse13.vt:VARIABLE(protected = true ) type: Real unreplaceable 54: $cse13.phase:DISCRETE(protected = true ) type: Integer unreplaceable 55: $cse13.T:VARIABLE(protected = true ) type: Real unreplaceable 56: $cse13.dpT:VARIABLE(protected = true ) type: Real unreplaceable 57: $cse13.s:VARIABLE(protected = true ) type: Real unreplaceable 58: $cse13.h:VARIABLE(protected = true ) type: Real unreplaceable 59: $cse13.pt:VARIABLE(protected = true ) type: Real unreplaceable 60: $cse13.cv:VARIABLE(protected = true ) type: Real unreplaceable 61: leftAdaptor.state_a.d:VARIABLE(min = 0.0 max = 1e5 start = 150.0 unit = "kg/m3" nominal = 500.0 protected = true ) "Density" type: Real 62: rightAdaptor.m_flow:VARIABLE(min = -1e5 max = 1e5 start = -leftAdaptor.m_flow_start unit = "kg/s" ) "Mass flow rate in design flow direction" type: Real 63: rightAdaptor.state_a_nondes.d:VARIABLE(min = 0.0 max = 1e5 start = 150.0 unit = "kg/m3" nominal = 500.0 ) "Density" type: Real 64: suddenExpansion2.state_b.d:VARIABLE(min = 0.0 max = 1e5 start = 150.0 unit = "kg/m3" nominal = 500.0 protected = true ) "Density" type: Real 65: suddenExpansion2.state_a.d:VARIABLE(min = 0.0 max = 1e5 start = 150.0 unit = "kg/m3" nominal = 500.0 protected = true ) "Density" type: Real 66: $cse10.phase:DISCRETE(protected = true ) type: Integer unreplaceable 67: $cse10.pt:VARIABLE(protected = true ) type: Real unreplaceable 68: $cse10.cv:VARIABLE(protected = true ) type: Real unreplaceable 69: $cse10.rho:VARIABLE(protected = true ) type: Real unreplaceable 70: $cse10.x:VARIABLE(protected = true ) type: Real unreplaceable 71: $cse10.p:VARIABLE(protected = true ) type: Real unreplaceable 72: $cse10.h:VARIABLE(protected = true ) type: Real unreplaceable 73: $cse10.region:DISCRETE(protected = true ) type: Integer unreplaceable 74: $cse10.pd:VARIABLE(protected = true ) type: Real unreplaceable 75: $cse10.R:VARIABLE(protected = true ) type: Real unreplaceable 76: $cse10.dpT:VARIABLE(protected = true ) type: Real unreplaceable 77: $cse10.T:VARIABLE(protected = true ) type: Real unreplaceable 78: $cse10.vp:VARIABLE(protected = true ) type: Real unreplaceable 79: $cse10.cp:VARIABLE(protected = true ) type: Real unreplaceable 80: $cse10.vt:VARIABLE(protected = true ) type: Real unreplaceable 81: $cse10.s:VARIABLE(protected = true ) type: Real unreplaceable [/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.001124/0.6776, allocations: 1.895 MB / 0.5826 GB, free: 139.8 MB / 478.1 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings could not be translated