Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001303/0.001303, allocations: 108.7 kB / 17.74 MB, free: 5.336 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.001368/0.001368, allocations: 190.9 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001038/0.001038, allocations: 47.88 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.202, allocations: 49.44 MB / 401.4 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings): time 0.05301/0.255, allocations: 62.85 MB / 464.3 MB, free: 9.781 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0238/0.2789, allocations: 22.47 MB / 486.7 MB, free: 3.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006149/0.2795, allocations: 31.75 kB / 486.8 MB, free: 3.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00147/0.281, allocations: 0.7257 MB / 487.5 MB, free: 2.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01197/0.293, allocations: 5.822 MB / 493.3 MB, free: 12.65 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007503/0.3005, allocations: 3.457 MB / 496.8 MB, free: 9.199 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01697/0.3175, allocations: 9.052 MB / 0.494 GB, free: 28 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.3186, allocations: 0.6961 MB / 0.4946 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001675/0.3202, allocations: 1.066 MB / 0.4957 GB, free: 14.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001119/0.3214, allocations: 0.8324 MB / 0.4965 GB, free: 13.42 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002096/0.3216, allocations: 92 kB / 0.4966 GB, free: 13.33 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01322/0.3348, allocations: 7.66 MB / 0.5041 GB, free: 5.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002771/0.3351, allocations: 294.8 kB / 0.5043 GB, free: 5.371 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006883/0.3358, allocations: 0.7037 MB / 0.505 GB, free: 4.664 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007462/0.3433, allocations: 5.753 MB / 0.5106 GB, free: 14.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3433, allocations: 0 / 0.5106 GB, free: 14.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.3433, allocations: 0 / 0.5106 GB, free: 14.9 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.3433, allocations: 3.938 kB / 0.5106 GB, free: 14.89 MB / 446.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.005351/0.3487, allocations: 2.474 MB / 0.5131 GB, free: 12.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.3487, allocations: 8.031 kB / 0.5131 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005011/0.3538, allocations: 0.6549 MB / 0.5137 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001805/0.3556, allocations: 1.036 MB / 0.5147 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.897e-05/0.3556, allocations: 78.39 kB / 0.5148 GB, free: 10.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.3558, allocations: 107.9 kB / 0.5149 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003558/0.3593, allocations: 1.667 MB / 0.5165 GB, free: 8.613 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.3594, allocations: 7.938 kB / 0.5165 GB, free: 8.605 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.3595, allocations: 48 kB / 0.5166 GB, free: 8.559 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/0.3595, allocations: 28 kB / 0.5166 GB, free: 8.531 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003376/0.3629, allocations: 1.463 MB / 0.518 GB, free: 7.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008606/0.3715, allocations: 8.388 MB / 0.5262 GB, free: 14.07 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003088/0.3746, allocations: 1.7 MB / 0.5279 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006036/0.3752, allocations: 400.9 kB / 0.5283 GB, free: 11.81 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2813/0.6566, allocations: 63.67 MB / 0.5904 GB, free: 69.98 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.6566, allocations: 42.12 kB / 0.5905 GB, free: 69.94 MB / 462.1 MB Notification: Performance of pre-optimization done (n=77): time 2.725e-06/0.6566, allocations: 0 / 0.5905 GB, free: 69.94 MB / 462.1 MB Notification: Performance of matching and sorting (n=77): time 0.005417/0.6621, allocations: 1.999 MB / 0.5924 GB, free: 68.43 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.6621, allocations: 192.5 kB / 0.5926 GB, free: 68.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000883/0.663, allocations: 0.9611 MB / 0.5936 GB, free: 67.48 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.303e-05/0.6631, allocations: 37.02 kB / 0.5936 GB, free: 67.45 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/0.6633, allocations: 0.566 MB / 0.5941 GB, free: 67.16 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.6635, allocations: 286.4 kB / 0.5944 GB, free: 66.92 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002427/0.6637, allocations: 233.5 kB / 0.5946 GB, free: 66.77 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.442e-05/0.6638, allocations: 344 kB / 0.595 GB, free: 66.44 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004585/0.6642, allocations: 309.2 kB / 0.5953 GB, free: 66.25 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006045/0.6649, allocations: 0.7416 MB / 0.596 GB, free: 65.45 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.666, allocations: 1.1 MB / 0.5971 GB, free: 64.51 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/0.666, allocations: 4 kB / 0.5971 GB, free: 64.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001721/0.6677, allocations: 1.251 MB / 0.5983 GB, free: 63.66 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.6677, allocations: 12 kB / 0.5983 GB, free: 63.65 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.6678, allocations: 15.98 kB / 0.5983 GB, free: 63.63 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003304/0.6711, allocations: 0.5156 MB / 0.5988 GB, free: 63.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.6721, allocations: 284.7 kB / 0.5991 GB, free: 62.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007047/0.6728, allocations: 1.374 MB / 0.6004 GB, free: 61.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006611/0.6735, allocations: 127.6 kB / 0.6006 GB, free: 61.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.478e-05/0.6736, allocations: 67.16 kB / 0.6006 GB, free: 61.44 MB / 462.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.0003421/0.6739, allocations: 297.7 kB / 0.6009 GB, free: 61.24 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.6741, allocations: 126.6 kB / 0.601 GB, free: 61.11 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003549/0.6777, allocations: 4.484 MB / 0.6054 GB, free: 57.47 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.6777, allocations: 7.984 kB / 0.6054 GB, free: 57.46 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.6777, allocations: 0 / 0.6054 GB, free: 57.46 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001969/0.6779, allocations: 270.3 kB / 0.6057 GB, free: 57.18 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001755/0.6781, allocations: 39.69 kB / 0.6057 GB, free: 57.14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005277/0.6786, allocations: 31.92 kB / 0.6057 GB, free: 57.11 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.143e-05/0.6787, allocations: 59.39 kB / 0.6058 GB, free: 57.05 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 (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_s: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_s: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_s: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_s: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.001087/0.6798, allocations: 1.918 MB / 0.6077 GB, free: 54.64 MB / 462.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