Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Fluid.Examples.NonCircularPipes.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.NonCircularPipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Fluid.Examples.NonCircularPipes")
translateModel(Modelica.Fluid.Examples.NonCircularPipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Fluid.Examples.NonCircularPipes")
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 107.4 kB / 16.42 MB, free: 6.469 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.001128/0.001128, allocations: 187.2 kB / 17.35 MB, free: 5.707 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.232/1.232, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.536e-05, allocations: 2.281 kB / 327.2 MB, free: 3.367 MB / 270.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.NonCircularPipes): time 0.2133/0.2134, allocations: 62.84 MB / 390 MB, free: 9.906 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.02611/0.2395, allocations: 26 MB / 416 MB, free: 7.863 MB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001654/0.2412, allocations: 55.56 kB / 416.1 MB, free: 7.84 MB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001629/0.2429, allocations: 0.7844 MB / 416.8 MB, free: 7.383 MB / 318.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.008375/0.2512, allocations: 4.102 MB / 420.9 MB, free: 4.535 MB / 318.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.02102/0.2723, allocations: 8.142 MB / 429.1 MB, free: 14.69 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.006398/0.2787, allocations: 5.353 MB / 434.4 MB, free: 10.92 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.00139/0.2801, allocations: 1.001 MB / 435.4 MB, free: 9.914 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.01692/0.297, allocations: 8.409 MB / 443.8 MB, free: 1.395 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0155/0.3126, allocations: 7.961 MB / 451.8 MB, free: 9.32 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0004956/0.3131, allocations: 132 kB / 451.9 MB, free: 9.191 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.01518/0.3283, allocations: 8.428 MB / 460.4 MB, free: 0.7539 MB / 350.1 MB
Notification: Performance of combineBinaries: time 0.003517/0.3319, allocations: 3.152 MB / 463.5 MB, free: 13.57 MB / 366.1 MB
Notification: Performance of replaceArrayConstructors: time 0.001515/0.3334, allocations: 2.095 MB / 465.6 MB, free: 11.46 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003845/0.3338, allocations: 251.3 kB / 465.9 MB, free: 11.21 MB / 366.1 MB
Notification: Performance of FrontEnd: time 0.0003386/0.3341, allocations: 35.88 kB / 465.9 MB, free: 11.18 MB / 366.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 391 (231)
 * Number of variables: 451 (260)
Notification: Performance of Bindings: time 0.008606/0.3427, allocations: 9.65 MB / 475.5 MB, free: 1.316 MB / 366.1 MB
Notification: Performance of FunctionAlias: time 0.001079/0.3438, allocations: 1.078 MB / 476.6 MB, free: 208 kB / 366.1 MB
Notification: Performance of Early Inline: time 0.004818/0.3486, allocations: 4.608 MB / 481.2 MB, free: 11.52 MB / 382.1 MB
Notification: Performance of simplify1: time 0.0003688/0.349, allocations: 227.7 kB / 481.4 MB, free: 11.3 MB / 382.1 MB
Notification: Performance of Alias: time 0.003946/0.353, allocations: 3.337 MB / 484.8 MB, free: 7.734 MB / 382.1 MB
Notification: Performance of simplify2: time 0.0002944/0.3533, allocations: 227.7 kB / 485 MB, free: 7.512 MB / 382.1 MB
Notification: Performance of Events: time 0.001173/0.3545, allocations: 1.158 MB / 486.2 MB, free: 6.305 MB / 382.1 MB
Notification: Performance of Detect States: time 0.001393/0.3559, allocations: 1.22 MB / 487.4 MB, free: 5.055 MB / 382.1 MB
Notification: Performance of Partitioning: time 0.001996/0.3579, allocations: 1.941 MB / 489.3 MB, free: 2.863 MB / 382.1 MB
Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system:
System Variables (244/433)
****************************
(1)       [ALGB] (4) final input Real[2, 2] circular_pipe.flowModel.states.h = {circular_pipe.statesFM[1].h, circular_pipe.statesFM[2].h} (start = {1e5 for $i1 in 1:2}, min = {-1e10 for $i1 in 1:2}, max = {1e10 for $i1 in 1:2}, nominal = {5e5 for $i1 in 1:2})
(2)       [DISC] (2) Boolean[2] $SEV_6[$i1]
(3)       [ALGB] (1) Real massflowsink1.medium.T_degC = Modelica.SIunits.Conversions.to_degC(-((-273.15) - massflowsink1.medium.T_degC))
(4)       [ALGB] (1) Real boundary.medium.d (start = 150.0, min = 0.0, max = 1e5, nominal = 500.0, StateSelect = default)
(5)       [ALGB] (1) Real[1] circular_pipe.flowModel.Is
(6)       [ALGB] (1) Real massflowsink2.medium.sat.psat (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6)
(7)       [DISC] (1) Boolean $SEV_26
(8)       [ALGB] (1) stream Real circular_pipe.port_a.h_outflow (start = 1e5, min = -1e10, max = 1e10, nominal = 5e5)
(9)       [DISC] (2) Integer[2] annulus_pipe.mediums.phase (fixed = {false for $i1 in 1:2}, start = {1 for $i1 in 1:2}, min = {0 for $i1 in 1:2}, max = {2 for $i1 in 1:2})
(10)      [ALGB] (1) Real boundary.medium.h (StateSelect = default)
(11)      [ALGB] (4) final input Real[2, 2] circular_pipe.flowModel.states.p = {circular_pipe.statesFM[1].p, circular_pipe.statesFM[2].p} (start = {5e6 for $i1 in 1:2}, min = {611.657 for $i1 in 1:2}, max = {1e8 for $i1 in 1:2}, nominal = {1e6 for $i1 in 1:2})
(12)      [ALGB] (1) Real[1] massflowsink1.ports.p (start = {5e6 for $i1 in 1:1}, min = {611.657 for $i1 in 1:1}, max = {1e8 for $i1 in 1:1}, nominal = {1e6 for $i1 in 1:1})
(13)      [DISC] (1) Boolean $SEV_23
(14)      [DISC] (2) Boolean[2] $SEV_1[$i1]
(15)      [ALGB] (2) protected Real[2] circular_pipe.vsFM
(16)      [DISC] (1) Boolean $SEV_20
(17)      [ALGB] (2) Real[2] circular_pipe.mediums.sat.psat (start = {5e6 for $i1 in 1:2}, min = {611.657 for $i1 in 1:2}, max = {1e8 for $i1 in 1:2}, nominal = {1e6 for $i1 in 1:2})
(18)      [ALGB] (2) Real[2] circular_pipe.mediums.p_bar = {Modelica.SIunits.Conversions.to_bar(circular_pipe.mediums[$mediums1].p) for $mediums1 in 1:2}
(19)      [ALGB] (2) Real[2] circular_pipe.mediums.T_degC = {Modelica.SIunits.Conversions.to_degC(circular_pipe.mediums[$mediums1].T) for $mediums1 in 1:2}
(20)      [ALGB] (1) Real[1] annulus_pipe.flowModel.Is
(21)      [ALGB] (1) Real boundary.medium.u (min = -1e8, max = 1e8, nominal = 1e6)
(22)      [ALGB] (1) Real boundary.medium.T_degC = Modelica.SIunits.Conversions.to_degC(-((-273.15) - boundary.medium.T_degC))
(23)      [ALGB] (2) Real[2] annulus_pipe.Hb_flows
(24)      [ALGB] (2) Real[2] circular_pipe.heatTransfer.Q_flows
(25)      [ALGB] (1) protected Real[1] annulus_pipe.dheightsFM
(26)      [ALGB] (1) stream Real circular_pipe.port_b.h_outflow (start = 1e5, min = -1e10, max = 1e10, nominal = 5e5)
(27)      [DISC] (2) Integer[2] circular_pipe.mediums.state.phase (min = {0 for $i1 in 1:2}, max = {2 for $i1 in 1:2})
(28)      [DISC] (1) Integer massflowsink2.medium.phase (fixed = false, start = 1, min = 0, max = 2)
(29)      [DISC] (1) Integer massflowsink1.medium.phase (fixed = false, start = 1, min = 0, max = 2)
(30)      [ALGB] (1) Real circular_pipe.state_b.p (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6)
(31)      [ALGB] (1) final Real[1] annulus_pipe.flowModel.dheights = annulus_pipe.dheightsFM
(32)      [ALGB] (1) Real boundary.medium.sat.psat (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6)
(33)      [ALGB] (1) Real[1] annulus_pipe.flowModel.pathLengths_internal = annulus_pipe.flowModel.pathLengths
(34)      [DISC] (1) Boolean $SEV_19
(35)      [ALGB] (3) Real[3] annulus_pipe.m_flows (start = {0.0 for $i1 in 1:3}, min = {-1e60 for $i1 in 1:3}, max = {1e5 for $i1 in 1:3})
(36)      [ALGB] (1) Real circular_pipe.state_b.h (start = 1e5, min = -1e10, max = 1e10, nominal = 5e5)
(37)      [DISC] (1) Integer boundary.medium.state.phase (min = 0, max = 2)
(38)      [DISC] (1) Boolean $SEV_16
(39)      [DISC] (4) final input Integer[2, 2] circular_pipe.flowModel.states.phase = {circular_pipe.statesFM[1].phase, circular_pipe.statesFM[2].phase} (min = {0 for $i1 in 1:2}, max = {2 for $i1 in 1:2})
(40)      [ALGB] (2) protected Real[2] circular_pipe.crossAreasFM
(41)      [ALGB] (2) protected Real[2] circular_pipe.dimensionsFM
(42)      [ALGB] (1) Real circular_pipe.state_b.d (start = 150.0, min = 0.0, max = 1e5, nominal = 500.0)
(43)      [ALGB] (1) Real circular_pipe.port_a.p (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6)
(44)      [DISC] (2) Boolean[2] $SEV_14[$i1]
(45)      [ALGB] (1) flow Real circular_pipe.port_a.m_flow (min = -1e60, max = 1e5)
(46)      [ALGB] (4) final input Real[2, 2] annulus_pipe.heatTransfer.states.T = {annulus_pipe.mediums[1].state.T, annulus_pipe.mediums[2].state.T} (start = {500.0 for $i1 in 1:2}, min = {273.15 for $i1 in 1:2}, max = {2273.15 for $i1 in 1:2}, nominal = {500.0 for $i1 in 1:2})
(47)      [ALGB] (2) final Real[2] annulus_pipe.heatTransfer.vs = annulus_pipe.vs
(48)      [ALGB] (1) flow Real[1] massflowsink2.ports.m_flow (min = {-1e60}, max = {1e60})
(49)      [ALGB] (1) flow Real[1] massflowsink1.ports.m_flow (min = {-1e60}, max = {1e60})
(50)      [ALGB] (2) Real[2] annulus_pipe.flowModel.mus = {Modelica.Fluid.Examples.NonCircularPipes.annulus_pipe.flowModel.Medium.dynamicViscosity(annulus_pipe.flowModel.states[$i1]) for $i1 in 1:2} (start = {0.001 for $i1 in 1:2}, min = {0.0 for $i1 in 1:2}, max = {1e8 for $i1 in 1:2}, nominal = {0.001 for $i1 in 1:2})
(51)      [ALGB] (2) Real[2] circular_pipe.mb_flows (min = {-1e5 for $i1 in 1:2}, max = {1e5 for $i1 in 1:2})
(52)      [ALGB] (1) protected Real annulus_pipe.flowModel.dp_fric_nominal = sum({Modelica.Fluid.Examples.NonCircularPipes.annulus_pipe.flowModel.WallFriction.pressureLoss_m_flow(annulus_pipe.flowModel.m_flow_nominal / annulus_pipe.flowModel.nParallel, annulus_pipe.flowModel.rho_nominal, annulus_pipe.flowModel.rho_nominal, annulus_pipe.flowModel.mu_nominal, annulus_pipe.flowModel.mu_nominal, annulus_pipe.flowModel.pathLengths_internal[1], annulus_pipe.flowModel.diameters[1], ((annulus_pipe.flowModel.crossAreas[2:2] + annulus_pipe.flowModel.crossAreas[1:1]) / 2.0)[1], ((annulus_pipe.flowModel.roughnesses[2:2] + annulus_pipe.flowModel.roughnesses[1:1]) / 2.0)[1], annulus_pipe.flowModel.m_flow_small / annulus_pipe.flowModel.nParallel, annulus_pipe.flowModel.Res_turbulent_internal[1])}) (min = 0.0, nominal = 1e5)
(53)      [DISC] (2) Integer[2] annulus_pipe.mediums.state.phase (min = {0 for $i1 in 1:2}, max = {2 for $i1 in 1:2})
(54)      [ALGB] (1) Real[1] annulus_pipe.flowModel.Fs_p
(55)      [DISC] (2) Boolean[2] $SEV_5[$i1]
(56)      [ALGB] (2) protected Real[2] annulus_pipe.crossAreasFM
(57)      [ALGB] (2) protected Real[2] annulus_pipe.dimensionsFM
(58)      [ALGB] (1) Real[1] circular_pipe.flowModel.Res_turbulent_internal = circular_pipe.flowModel.Re_turbulent * {1.0 for $i1 in 1:1}
(59)      [ALGB] (1) Real circular_pipe.state_b.T (start = 500.0, min = 273.15, max = 2273.15, nominal = 500.0)
(60)      [ALGB] (4) final input Real[2, 2] annulus_pipe.heatTransfer.states.d = {annulus_pipe.mediums[1].state.d, annulus_pipe.mediums[2].state.d} (start = {150.0 for $i1 in 1:2}, min = {0.0 for $i1 in 1:2}, max = {1e5 for $i1 in 1:2}, nominal = {500.0 for $i1 in 1:2})
(61)      [ALGB] (1) protected Real[1] annulus_pipe.pathLengths
(62)      [ALGB] (2) final Real[2] circular_pipe.flowModel.vs = circular_pipe.vsFM
(63)      [ALGB] (1) Real[1] annulus_pipe.flowModel.rhos_act (start = {150.0 for $i1 in 1:1}, min = {0.0 for $i1 in 1:1}, max = {1e5 for $i1 in 1:1}, nominal = {500.0 for $i1 in 1:1})
(64)      [ALGB] (1) Real massflowsink1.medium.sat.psat (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6)
(65)      [ALGB] (1) Real massflowsink2.medium.d (start = 150.0, min = 0.0, max = 1e5, nominal = 500.0, StateSelect = default)
(66)      [ALGB] (2) final Real[2] annulus_pipe.flowModel.dimensions = annulus_pipe.dimensionsFM
(67)      [ALGB] (4) final input Real[2, 2] annulus_pipe.heatTransfer.states.h = {annulus_pipe.mediums[1].state.h, annulus_pipe.mediums[2].state.h} (start = {1e5 for $i1 in 1:2}, min = {-1e10 for $i1 in 1:2}, max = {1e10 for $i1 in 1:2}, nominal = {5e5 for $i1 in 1:2})
(68)      [ALGB] (1) Real annulus_pipe.port_b.p (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6)
(69)      [ALGB] (2) Real[2] circular_pipe.vs = {(0.5 * (circular_pipe.m_flows[1 + i] + circular_pipe.m_flows[i])) / (circular_pipe.crossAreas[i] * circular_pipe.mediums[i].d) for i in 1:2} / circular_pipe.nParallel
(70)      [ALGB] (1) Real massflowsink2.medium.h (StateSelect = default)
(71)      [ALGB] (1) stream Real annulus_pipe.port_b.h_outflow (start = 1e5, min = -1e10, max = 1e10, nominal = 5e5)
(72)      [ALGB] (1) Real[1] annulus_pipe.flowModel.mus_act (start = {0.001 for $i1 in 1:1}, min = {0.0 for $i1 in 1:1}, max = {1e8 for $i1 in 1:1}, nominal = {0.001 for $i1 in 1:1})
(73)      [ALGB] (4) final input Real[2, 2] annulus_pipe.heatTransfer.states.p = {annulus_pipe.mediums[1].state.p, annulus_pipe.mediums[2].state.p} (start = {5e6 for $i1 in 1:2}, min = {611.657 for $i1 in 1:2}, max = {1e8 for $i1 in 1:2}, nominal = {1e6 for $i1 in 1:2})
(74)      [DISC] (4) final input Integer[2, 2] circular_pipe.heatTransfer.states.phase = {circular_pipe.mediums[1].state.phase, circular_pipe.mediums[2].state.phase} (min = {0 for $i1 in 1:2}, max = {2 for $i1 in 1:2})
(75)      [ALGB] (2) Real[2] annulus_pipe.heatTransfer.heatPorts.T (start = {288.15 for $i1 in 1:2}, min = {0.0 for $i1 in 1:2}, nominal = {300.0 for $i1 in 1:2})
(76)      [DISC] (4) Integer[2, 2] circular_pipe.statesFM.phase (min = {0 for $i1 in 1:2}, max = {2 for $i1 in 1:2})
(77)      [DISC] (4) final input Integer[2, 2] annulus_pipe.flowModel.states.phase = {annulus_pipe.statesFM[1].phase, annulus_pipe.statesFM[2].phase} (min = {0 for $i1 in 1:2}, max = {2 for $i1 in 1:2})
(78)      [ALGB] (2) final Real[2] annulus_pipe.flowModel.vs = annulus_pipe.vsFM
(79)      [ALGB] (2) Real[2] annulus_pipe.Qb_flows
(80)      [ALGB] (1) Real[1] annulus_pipe.flowModel.m_flows (start = {0.0 for $i1 in 1:1}, min = {-1e60 for $i1 in 1:1}, max = {1e5 for $i1 in 1:1}, StateSelect = default)
(81)      [ALGB] (1) Real[1] annulus_pipe.flowModel.Fs_fg
(82)      [ALGB] (2) Real[2] annulus_pipe.flowModel.rhos = {Modelica.Fluid.Examples.NonCircularPipes.annulus_pipe.flowModel.Medium.density(annulus_pipe.flowModel.states[$i1]) for $i1 in 1:2} (start = {150.0 for $i1 in 1:2}, min = {0.0 for $i1 in 1:2}, max = {1e5 for $i1 in 1:2}, nominal = {500.0 for $i1 in 1:2})
(83)      [ALGB] (1) Real massflowsink2.medium.u (min = -1e8, max = 1e8, nominal = 1e6)
(84)      [DER-] (2) Real[2] $DER.circular_pipe.Us
(85)      [ALGB] (2) Real[2] annulus_pipe.mediums.T_degC = {Modelica.SIunits.Conversions.to_degC(annulus_pipe.mediums[$mediums1].T) for $mediums1 in 1:2}
(86)      [ALGB] (1) Real $FUN_9
(87)      [ALGB] (2) Real[2] circular_pipe.heatTransfer.heatPorts.T (start = {288.15 for $i1 in 1:2}, min = {0.0 for $i1 in 1:2}, nominal = {300.0 for $i1 in 1:2})
(88)      [ALGB] (1) Real $FUN_8
(89)      [ALGB] (1) Real $FUN_7
(90)      [ALGB] (1) Real $FUN_6
(91)      [ALGB] (1) stream Real annulus_pipe.port_a.h_outflow (start = 1e5, min = -1e10, max = 1e10, nominal = 5e5)
(92)      [ALGB] (1) Real $FUN_5
(93)      [ALGB] (1) Real $FUN_4
(94)      [ALGB] (1) Real[1] circular_pipe.flowModel.dps_fg (start = {0.0 for $i1 in 1:1})
(95)      [ALGB] (1) Real $FUN_3
(96)      [DISC] (1) Integer massflowsink2.medium.state.phase (min = 0, max = 2)
(97)      [ALGB] (1) Real circular_pipe.state_a.p (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6)
(98)      [ALGB] (1) final Real[1] circular_pipe.flowModel.dheights = circular_pipe.dheightsFM
(99)      [ALGB] (2) Real[2] boundary.ports.p (start = {5e6 for $i1 in 1:2}, min = {611.657 for $i1 in 1:2}, max = {1e8 for $i1 in 1:2}, nominal = {1e6 for $i1 in 1:2})
(100)     [DISC] (2) Boolean[2] $SEV_13[$i1]
(101)     [ALGB] (1) Real circular_pipe.state_a.h (start = 1e5, min = -1e10, max = 1e10, nominal = 5e5)
(102)     [DISC] (2) Boolean[2] $SEV_9[$i1]
(103)     [ALGB] (2) Real[2] circular_pipe.flowModel.mus = {Modelica.Fluid.Examples.NonCircularPipes.circular_pipe.flowModel.Medium.dynamicViscosity(circular_pipe.flowModel.states[$i1]) for $i1 in 1:2} (start = {0.001 for $i1 in 1:2}, min = {0.0 for $i1 in 1:2}, max = {1e8 for $i1 in 1:2}, nominal = {0.001 for $i1 in 1:2})
(104)     [DER-] (2) Real[2] $DER.circular_pipe.ms
(105)     [ALGB] (1) Real circular_pipe.state_a.d (start = 150.0, min = 0.0, max = 1e5, nominal = 500.0)
(106)     [ALGB] (2) Real[2] circular_pipe.mediums.u (min = {-1e8 for $i1 in 1:2}, max = {1e8 for $i1 in 1:2}, nominal = {1e6 for $i1 in 1:2})
(107)     [ALGB] (1) flow Real annulus_pipe.port_a.m_flow (min = -1e60, max = 1e5)
(108)     [ALGB] (1) final Real[1] annulus_pipe.flowModel.pathLengths = annulus_pipe.pathLengths
(109)     [DISC] (2) Boolean[2] $SEV_4[$i1]
(110)     [ALGB] (2) Real[2] circular_pipe.mediums.p (start = {circular_pipe.ps_start[$mediums1] for $mediums1 in 1:2}, min = {0.0 for $i1 in 1:2}, nominal = {1e5 for $i1 in 1:2}, StateSelect = prefer)
(111)     [ALGB] (2) final Real[2] circular_pipe.fluidVolumes = {circular_pipe.crossAreas[i] * 50.0 for i in 1:2} .* circular_pipe.nParallel
(112)     [ALGB] (2) Real[2] circular_pipe.mediums.state.T (start = {500.0 for $i1 in 1:2}, min = {273.15 for $i1 in 1:2}, max = {2273.15 for $i1 in 1:2}, nominal = {500.0 for $i1 in 1:2})
(113)     [ALGB] (2) Real[2] circular_pipe.flowModel.rhos = {Modelica.Fluid.Examples.NonCircularPipes.circular_pipe.flowModel.Medium.density(circular_pipe.flowModel.states[$i1]) for $i1 in 1:2} (start = {150.0 for $i1 in 1:2}, min = {0.0 for $i1 in 1:2}, max = {1e5 for $i1 in 1:2}, nominal = {500.0 for $i1 in 1:2})
(114)     [ALGB] (2) Real[2] circular_pipe.Wb_flows
(115)     [ALGB] (2) Real[2] circular_pipe.mediums.h (start = {84858.46523502824 for $mediums1 in 1:2}, StateSelect = prefer)
(116)     [ALGB] (1) Real circular_pipe.state_a.T (start = 500.0, min = 273.15, max = 2273.15, nominal = 500.0)
(117)     [ALGB] (2) protected Real[2] circular_pipe.roughnessesFM (min = {0.0 for $i1 in 1:2})
(118)     [ALGB] (1) Real[1] circular_pipe.flowModel.rhos_act (start = {150.0 for $i1 in 1:1}, min = {0.0 for $i1 in 1:1}, max = {1e5 for $i1 in 1:1}, nominal = {500.0 for $i1 in 1:1})
(119)     [ALGB] (2) Real[2] circular_pipe.mediums.d (start = {150.0 for $i1 in 1:2}, min = {0.0 for $i1 in 1:2}, max = {1e5 for $i1 in 1:2}, nominal = {500.0 for $i1 in 1:2}, StateSelect = default)
(120)     [ALGB] (2) final Real[2] circular_pipe.heatTransfer.vs = circular_pipe.vs
(121)     [ALGB] (1) protected Real[1] circular_pipe.flowModel.diameters = 0.5 * (circular_pipe.flowModel.dimensions[2:2] + circular_pipe.flowModel.dimensions[1:1])
(122)     [ALGB] (2) final Real[2] annulus_pipe.flowModel.crossAreas = annulus_pipe.crossAreasFM
(123)     [ALGB] (2) final Real[2] circular_pipe.flowModel.crossAreas = circular_pipe.crossAreasFM
(124)     [ALGB] (3) Real[3] circular_pipe.H_flows (min = {-1e8 for $i1 in 1:3}, max = {1e8 for $i1 in 1:3}, nominal = {1000.0 for $i1 in 1:3})
(125)     [ALGB] (1) Real $FUN_13
(126)     [ALGB] (1) Real massflowsink2.medium.T_degC = Modelica.SIunits.Conversions.to_degC(-((-273.15) - massflowsink2.medium.T_degC))
(127)     [ALGB] (1) protected Real[1] circular_pipe.pathLengths
(128)     [ALGB] (2) final Real[2] annulus_pipe.fluidVolumes = {annulus_pipe.crossAreas[i] * 50.0 for i in 1:2} .* annulus_pipe.nParallel
(129)     [ALGB] (1) Real $FUN_11
(130)     [ALGB] (1) Real annulus_pipe.port_a.p (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6)
(131)     [ALGB] (1) Real $FUN_10
(132)     [ALGB] (2) Real[2] circular_pipe.mediums.state.d (start = {150.0 for $i1 in 1:2}, min = {0.0 for $i1 in 1:2}, max = {1e5 for $i1 in 1:2}, nominal = {500.0 for $i1 in 1:2})
(133)     [ALGB] (2) Real[2] annulus_pipe.mediums.p_bar = {Modelica.SIunits.Conversions.to_bar(annulus_pipe.mediums[$mediums1].p) for $mediums1 in 1:2}
(134)     [ALGB] (2) Real[2] circular_pipe.mediums.state.h (start = {1e5 for $i1 in 1:2}, min = {-1e10 for $i1 in 1:2}, max = {1e10 for $i1 in 1:2}, nominal = {5e5 for $i1 in 1:2})
(135)     [ALGB] (1) Real annulus_pipe.state_b.p (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6)
(136)     [ALGB] (1) Real[1] annulus_pipe.flowModel.dps_fg (start = {0.0 for $i1 in 1:1})
(137)     [DISC] (1) Boolean $SEV_8
(138)     [ALGB] (2) Real[2] circular_pipe.mediums.T (start = {293.15 for $mediums1 in 1:2}, min = {273.15 for $i1 in 1:2}, max = {2273.15 for $i1 in 1:2}, nominal = {500.0 for $i1 in 1:2}, StateSelect = default)
(139)     [ALGB] (1) Real[1] circular_pipe.flowModel.Fs_p
(140)     [ALGB] (2) Real[2] annulus_pipe.mb_flows (min = {-1e5 for $i1 in 1:2}, max = {1e5 for $i1 in 1:2})
(141)     [ALGB] (2) Real[2] annulus_pipe.heatTransfer.Ts = {Modelica.Fluid.Examples.NonCircularPipes.annulus_pipe.heatTransfer.Medium.temperature(annulus_pipe.heatTransfer.states[$i1]) for $i1 in 1:2} (start = {288.15 for $i1 in 1:2}, min = {0.0 for $i1 in 1:2}, nominal = {300.0 for $i1 in 1:2})
(142)     [ALGB] (1) stream Real[1] massflowsink1.ports.h_outflow (start = {1e5 for $i1 in 1:1}, min = {-1e10 for $i1 in 1:1}, max = {1e10 for $i1 in 1:1}, nominal = {5e5 for $i1 in 1:1})
(143)     [DISC] (4) Integer[2, 2] annulus_pipe.statesFM.phase (min = {0 for $i1 in 1:2}, max = {2 for $i1 in 1:2})
(144)     [ALGB] (4) final input Real[2, 2] circular_pipe.heatTransfer.states.p = {circular_pipe.mediums[1].state.p, circular_pipe.mediums[2].state.p} (start = {5e6 for $i1 in 1:2}, min = {611.657 for $i1 in 1:2}, max = {1e8 for $i1 in 1:2}, nominal = {1e6 for $i1 in 1:2})
(145)     [ALGB] (2) Real[2] circular_pipe.mediums.state.p (start = {5e6 for $i1 in 1:2}, min = {611.657 for $i1 in 1:2}, max = {1e8 for $i1 in 1:2}, nominal = {1e6 for $i1 in 1:2})
(146)     [DISC] (2) Integer[2] circular_pipe.mediums.phase (fixed = {false for $i1 in 1:2}, start = {1 for $i1 in 1:2}, min = {0 for $i1 in 1:2}, max = {2 for $i1 in 1:2})
(147)     [ALGB] (1) Real massflowsink1.medium.state.T (start = 500.0, min = 273.15, max = 2273.15, nominal = 500.0)
(148)     [ALGB] (1) Real annulus_pipe.state_b.h (start = 1e5, min = -1e10, max = 1e10, nominal = 5e5)
(149)     [DISC] (1) Boolean $SEV_0
(150)     [ALGB] (1) protected Real[1] circular_pipe.dheightsFM
(151)     [DISC] (1) Integer massflowsink1.medium.state.phase (min = 0, max = 2)
(152)     [ALGB] (1) Real annulus_pipe.state_b.d (start = 150.0, min = 0.0, max = 1e5, nominal = 500.0)
(153)     [ALGB] (4) final input Real[2, 2] circular_pipe.heatTransfer.states.h = {circular_pipe.mediums[1].state.h, circular_pipe.mediums[2].state.h} (start = {1e5 for $i1 in 1:2}, min = {-1e10 for $i1 in 1:2}, max = {1e10 for $i1 in 1:2}, nominal = {5e5 for $i1 in 1:2})
(154)     [ALGB] (2) final Real[2] annulus_pipe.flowModel.roughnesses = annulus_pipe.roughnessesFM (min = {0.0 for $i1 in 1:2})
(155)     [DISC] (2) Boolean[2] $SEV_12[$i1]
(156)     [ALGB] (2) final Real[2] circular_pipe.flowModel.roughnesses = circular_pipe.roughnessesFM (min = {0.0 for $i1 in 1:2})
(157)     [ALGB] (4) final input Real[2, 2] circular_pipe.heatTransfer.states.d = {circular_pipe.mediums[1].state.d, circular_pipe.mediums[2].state.d} (start = {150.0 for $i1 in 1:2}, min = {0.0 for $i1 in 1:2}, max = {1e5 for $i1 in 1:2}, nominal = {500.0 for $i1 in 1:2})
(158)     [ALGB] (1) Real massflowsink1.medium.p_bar = Modelica.SIunits.Conversions.to_bar(99999.99999999999 * massflowsink1.medium.p_bar)
(159)     [ALGB] (1) Real massflowsink2.medium.p_bar = Modelica.SIunits.Conversions.to_bar(99999.99999999999 * massflowsink2.medium.p_bar)
(160)     [ALGB] (2) Real[2] annulus_pipe.mediums.sat.Tsat (start = {500.0 for $i1 in 1:2}, min = {273.15 for $i1 in 1:2}, max = {2273.15 for $i1 in 1:2}, nominal = {500.0 for $i1 in 1:2})
(161)     [ALGB] (1) Real massflowsink1.medium.d (start = 150.0, min = 0.0, max = 1e5, nominal = 500.0, StateSelect = default)
(162)     [ALGB] (1) Real massflowsink1.medium.state.d (start = 150.0, min = 0.0, max = 1e5, nominal = 500.0)
(163)     [ALGB] (1) protected Real[1] annulus_pipe.flowModel.diameters = 0.5 * (annulus_pipe.flowModel.dimensions[2:2] + annulus_pipe.flowModel.dimensions[1:1])
(164)     [DISC] (2) Boolean[2] $SEV_3[$i1]
(165)     [ALGB] (1) Real massflowsink1.medium.h (StateSelect = default)
(166)     [ALGB] (1) Real massflowsink1.medium.state.h (start = 1e5, min = -1e10, max = 1e10, nominal = 5e5)
(167)     [ALGB] (1) Real annulus_pipe.state_b.T (start = 500.0, min = 273.15, max = 2273.15, nominal = 500.0)
(168)     [ALGB] (1) Real[1] annulus_pipe.flowModel.Ib_flows
(169)     [ALGB] (2) stream Real[2] boundary.ports.h_outflow (start = {1e5 for $i1 in 1:2}, min = {-1e10 for $i1 in 1:2}, max = {1e10 for $i1 in 1:2}, nominal = {5e5 for $i1 in 1:2})
(170)     [ALGB] (4) final input Real[2, 2] circular_pipe.heatTransfer.states.T = {circular_pipe.mediums[1].state.T, circular_pipe.mediums[2].state.T} (start = {500.0 for $i1 in 1:2}, min = {273.15 for $i1 in 1:2}, max = {2273.15 for $i1 in 1:2}, nominal = {500.0 for $i1 in 1:2})
(171)     [ALGB] (1) Real massflowsink1.medium.state.p (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6)
(172)     [ALGB] (1) Real massflowsink1.medium.u (min = -1e8, max = 1e8, nominal = 1e6)
(173)     [ALGB] (1) Real[1] annulus_pipe.flowModel.Res_turbulent_internal = annulus_pipe.flowModel.Re_turbulent * {1.0 for $i1 in 1:1}
(174)     [ALGB] (3) Real[3] circular_pipe.m_flows (start = {0.0 for $i1 in 1:3}, min = {-1e60 for $i1 in 1:3}, max = {1e5 for $i1 in 1:3})
(175)     [ALGB] (4) final input Real[2, 2] annulus_pipe.flowModel.states.T = {annulus_pipe.statesFM[1].T, annulus_pipe.statesFM[2].T} (start = {500.0 for $i1 in 1:2}, min = {273.15 for $i1 in 1:2}, max = {2273.15 for $i1 in 1:2}, nominal = {500.0 for $i1 in 1:2})
(176)     [ALGB] (1) Real massflowsink2.medium.sat.Tsat (start = 500.0, min = 273.15, max = 2273.15, nominal = 500.0)
(177)     [DISC] (1) Integer boundary.medium.phase (fixed = false, start = 1, min = 0, max = 2)
(178)     [ALGB] (2) final Real[2] circular_pipe.flowModel.dimensions = circular_pipe.dimensionsFM
(179)     [ALGB] (2) Real[2] circular_pipe.mediums.sat.Tsat (start = {500.0 for $i1 in 1:2}, min = {273.15 for $i1 in 1:2}, max = {2273.15 for $i1 in 1:2}, nominal = {500.0 for $i1 in 1:2})
(180)     [ALGB] (2) Real[2] annulus_pipe.mediums.state.T (start = {500.0 for $i1 in 1:2}, min = {273.15 for $i1 in 1:2}, max = {2273.15 for $i1 in 1:2}, nominal = {500.0 for $i1 in 1:2})
(181)     [ALGB] (1) final Real[1] circular_pipe.flowModel.pathLengths = circular_pipe.pathLengths
(182)     [ALGB] (1) flow Real circular_pipe.port_b.m_flow (min = -1e5, max = 1e60)
(183)     [ALGB] (2) Real[2] circular_pipe.Hb_flows
(184)     [ALGB] (1) Real annulus_pipe.state_a.p (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6)
(185)     [ALGB] (4) final input Real[2, 2] annulus_pipe.flowModel.states.d = {annulus_pipe.statesFM[1].d, annulus_pipe.statesFM[2].d} (start = {150.0 for $i1 in 1:2}, min = {0.0 for $i1 in 1:2}, max = {1e5 for $i1 in 1:2}, nominal = {500.0 for $i1 in 1:2})
(186)     [DER-] (2) Real[2] $DER.annulus_pipe.Us
(187)     [ALGB] (4) Real[2, 2] circular_pipe.statesFM.p (start = {5e6 for $i1 in 1:2}, min = {611.657 for $i1 in 1:2}, max = {1e8 for $i1 in 1:2}, nominal = {1e6 for $i1 in 1:2})
(188)     [ALGB] (1) Real massflowsink2.medium.state.p (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6)
(189)     [ALGB] (2) flow Real[2] boundary.ports.m_flow (min = {-1e60 for $ports1 in 1:2}, max = {1e60 for $ports1 in 1:2})
(190)     [ALGB] (1) stream Real[1] massflowsink2.ports.h_outflow (start = {1e5 for $i1 in 1:1}, min = {-1e10 for $i1 in 1:1}, max = {1e10 for $i1 in 1:1}, nominal = {5e5 for $i1 in 1:1})
(191)     [ALGB] (2) protected Real[2] annulus_pipe.vsFM
(192)     [ALGB] (4) Real[2, 2] annulus_pipe.statesFM.T (start = {500.0 for $i1 in 1:2}, min = {273.15 for $i1 in 1:2}, max = {2273.15 for $i1 in 1:2}, nominal = {500.0 for $i1 in 1:2})
(193)     [ALGB] (4) final input Real[2, 2] annulus_pipe.flowModel.states.h = {annulus_pipe.statesFM[1].h, annulus_pipe.statesFM[2].h} (start = {1e5 for $i1 in 1:2}, min = {-1e10 for $i1 in 1:2}, max = {1e10 for $i1 in 1:2}, nominal = {5e5 for $i1 in 1:2})
(194)     [ALGB] (2) Real[2] annulus_pipe.Wb_flows
(195)     [DISC] (2) Boolean[2] $SEV_11[$i1]
(196)     [ALGB] (1) Real annulus_pipe.state_a.h (start = 1e5, min = -1e10, max = 1e10, nominal = 5e5)
(197)     [ALGB] (1) Real massflowsink2.medium.state.h (start = 1e5, min = -1e10, max = 1e10, nominal = 5e5)
(198)     [ALGB] (4) Real[2, 2] circular_pipe.statesFM.h (start = {1e5 for $i1 in 1:2}, min = {-1e10 for $i1 in 1:2}, max = {1e10 for $i1 in 1:2}, nominal = {5e5 for $i1 in 1:2})
(199)     [ALGB] (2) Real[2] annulus_pipe.mediums.state.d (start = {150.0 for $i1 in 1:2}, min = {0.0 for $i1 in 1:2}, max = {1e5 for $i1 in 1:2}, nominal = {500.0 for $i1 in 1:2})
(200)     [DISC] (2) Boolean[2] $SEV_7[$i1]
(201)     [ALGB] (1) Real annulus_pipe.state_a.d (start = 150.0, min = 0.0, max = 1e5, nominal = 500.0)
(202)     [ALGB] (2) Real[2] annulus_pipe.mediums.u (min = {-1e8 for $i1 in 1:2}, max = {1e8 for $i1 in 1:2}, nominal = {1e6 for $i1 in 1:2})
(203)     [ALGB] (4) final input Real[2, 2] annulus_pipe.flowModel.states.p = {annulus_pipe.statesFM[1].p, annulus_pipe.statesFM[2].p} (start = {5e6 for $i1 in 1:2}, min = {611.657 for $i1 in 1:2}, max = {1e8 for $i1 in 1:2}, nominal = {1e6 for $i1 in 1:2})
(204)     [ALGB] (1) Real massflowsink2.medium.state.d (start = 150.0, min = 0.0, max = 1e5, nominal = 500.0)
(205)     [ALGB] (4) Real[2, 2] circular_pipe.statesFM.d (start = {150.0 for $i1 in 1:2}, min = {0.0 for $i1 in 1:2}, max = {1e5 for $i1 in 1:2}, nominal = {500.0 for $i1 in 1:2})
(206)     [ALGB] (2) Real[2] annulus_pipe.mediums.state.h (start = {1e5 for $i1 in 1:2}, min = {-1e10 for $i1 in 1:2}, max = {1e10 for $i1 in 1:2}, nominal = {5e5 for $i1 in 1:2})
(207)     [ALGB] (1) Real boundary.medium.state.h (start = 1e5, min = -1e10, max = 1e10, nominal = 5e5)
(208)     [ALGB] (2) Real[2] annulus_pipe.mediums.p (start = {annulus_pipe.ps_start[$mediums1] for $mediums1 in 1:2}, min = {0.0 for $i1 in 1:2}, nominal = {1e5 for $i1 in 1:2}, StateSelect = prefer)
(209)     [ALGB] (1) flow Real annulus_pipe.port_b.m_flow (min = -1e5, max = 1e60)
(210)     [ALGB] (2) Real[2] circular_pipe.heatTransfer.Ts = {Modelica.Fluid.Examples.NonCircularPipes.circular_pipe.heatTransfer.Medium.temperature(circular_pipe.heatTransfer.states[$i1]) for $i1 in 1:2} (start = {288.15 for $i1 in 1:2}, min = {0.0 for $i1 in 1:2}, nominal = {300.0 for $i1 in 1:2})
(211)     [ALGB] (2) Real[2] annulus_pipe.vs = {(0.5 * (annulus_pipe.m_flows[1 + i] + annulus_pipe.m_flows[i])) / (annulus_pipe.crossAreas[i] * annulus_pipe.mediums[i].d) for i in 1:2} / annulus_pipe.nParallel
(212)     [ALGB] (4) Real[2, 2] annulus_pipe.statesFM.d (start = {150.0 for $i1 in 1:2}, min = {0.0 for $i1 in 1:2}, max = {1e5 for $i1 in 1:2}, nominal = {500.0 for $i1 in 1:2})
(213)     [ALGB] (1) Real boundary.medium.state.d (start = 150.0, min = 0.0, max = 1e5, nominal = 500.0)
(214)     [ALGB] (2) Real[2] annulus_pipe.mediums.state.p (start = {5e6 for $i1 in 1:2}, min = {611.657 for $i1 in 1:2}, max = {1e8 for $i1 in 1:2}, nominal = {1e6 for $i1 in 1:2})
(215)     [DER-] (2) Real[2] $DER.annulus_pipe.ms
(216)     [ALGB] (4) Real[2, 2] annulus_pipe.statesFM.h (start = {1e5 for $i1 in 1:2}, min = {-1e10 for $i1 in 1:2}, max = {1e10 for $i1 in 1:2}, nominal = {5e5 for $i1 in 1:2})
(217)     [ALGB] (1) Real[1] circular_pipe.flowModel.Ib_flows
(218)     [ALGB] (2) Real[2] annulus_pipe.mediums.h (start = {84858.46523502824 for $mediums1 in 1:2}, StateSelect = prefer)
(219)     [ALGB] (1) Real annulus_pipe.state_a.T (start = 500.0, min = 273.15, max = 2273.15, nominal = 500.0)
(220)     [ALGB] (2) Real[2] annulus_pipe.heatTransfer.Q_flows
(221)     [ALGB] (2) Real[2] annulus_pipe.mediums.d (start = {150.0 for $i1 in 1:2}, min = {0.0 for $i1 in 1:2}, max = {1e5 for $i1 in 1:2}, nominal = {500.0 for $i1 in 1:2}, StateSelect = default)
(222)     [ALGB] (4) Real[2, 2] circular_pipe.statesFM.T (start = {500.0 for $i1 in 1:2}, min = {273.15 for $i1 in 1:2}, max = {2273.15 for $i1 in 1:2}, nominal = {500.0 for $i1 in 1:2})
(223)     [ALGB] (1) Real massflowsink2.medium.state.T (start = 500.0, min = 273.15, max = 2273.15, nominal = 500.0)
(224)     [ALGB] (2) protected Real[2] annulus_pipe.roughnessesFM (min = {0.0 for $i1 in 1:2})
(225)     [ALGB] (4) Real[2, 2] annulus_pipe.statesFM.p (start = {5e6 for $i1 in 1:2}, min = {611.657 for $i1 in 1:2}, max = {1e8 for $i1 in 1:2}, nominal = {1e6 for $i1 in 1:2})
(226)     [ALGB] (1) Real[1] circular_pipe.flowModel.Fs_fg
(227)     [ALGB] (1) Real[1] circular_pipe.flowModel.pathLengths_internal = circular_pipe.flowModel.pathLengths
(228)     [ALGB] (1) Real[1] massflowsink2.ports.p (start = {5e6 for $i1 in 1:1}, min = {611.657 for $i1 in 1:1}, max = {1e8 for $i1 in 1:1}, nominal = {1e6 for $i1 in 1:1})
(229)     [ALGB] (1) Real boundary.medium.state.T (start = 500.0, min = 273.15, max = 2273.15, nominal = 500.0)
(230)     [ALGB] (2) flow Real[2] circular_pipe.heatTransfer.heatPorts.Q_flow
(231)     [ALGB] (2) Real[2] annulus_pipe.mediums.sat.psat (start = {5e6 for $i1 in 1:2}, min = {611.657 for $i1 in 1:2}, max = {1e8 for $i1 in 1:2}, nominal = {1e6 for $i1 in 1:2})
(232)     [ALGB] (4) final input Real[2, 2] circular_pipe.flowModel.states.T = {circular_pipe.statesFM[1].T, circular_pipe.statesFM[2].T} (start = {500.0 for $i1 in 1:2}, min = {273.15 for $i1 in 1:2}, max = {2273.15 for $i1 in 1:2}, nominal = {500.0 for $i1 in 1:2})
(233)     [ALGB] (2) flow Real[2] annulus_pipe.heatTransfer.heatPorts.Q_flow
(234)     [ALGB] (1) Real massflowsink1.medium.sat.Tsat (start = 500.0, min = 273.15, max = 2273.15, nominal = 500.0)
(235)     [ALGB] (1) Real circular_pipe.port_b.p (start = 5e6, min = 611.657, max = 1e8, nominal = 1e6)
(236)     [ALGB] (2) Real[2] annulus_pipe.mediums.T (start = {293.15 for $mediums1 in 1:2}, min = {273.15 for $i1 in 1:2}, max = {2273.15 for $i1 in 1:2}, nominal = {500.0 for $i1 in 1:2}, StateSelect = default)
(237)     [ALGB] (1) Real[1] circular_pipe.flowModel.m_flows (start = {0.0 for $i1 in 1:1}, min = {-1e60 for $i1 in 1:1}, max = {1e5 for $i1 in 1:1}, StateSelect = default)
(238)     [ALGB] (3) Real[3] annulus_pipe.H_flows (min = {-1e8 for $i1 in 1:3}, max = {1e8 for $i1 in 1:3}, nominal = {1000.0 for $i1 in 1:3})
(239)     [ALGB] (1) protected Real circular_pipe.flowModel.dp_fric_nominal = sum({Modelica.Fluid.Examples.NonCircularPipes.circular_pipe.flowModel.WallFriction.pressureLoss_m_flow(circular_pipe.flowModel.m_flow_nominal / circular_pipe.flowModel.nParallel, circular_pipe.flowModel.rho_nominal, circular_pipe.flowModel.rho_nominal, circular_pipe.flowModel.mu_nominal, circular_pipe.flowModel.mu_nominal, circular_pipe.flowModel.pathLengths_internal[1], circular_pipe.flowModel.diameters[1], ((circular_pipe.flowModel.crossAreas[2:2] + circular_pipe.flowModel.crossAreas[1:1]) / 2.0)[1], ((circular_pipe.flowModel.roughnesses[2:2] + circular_pipe.flowModel.roughnesses[1:1]) / 2.0)[1], circular_pipe.flowModel.m_flow_small / circular_pipe.flowModel.nParallel, circular_pipe.flowModel.Res_turbulent_internal[1])}) (min = 0.0, nominal = 1e5)
(240)     [DISC] (4) final input Integer[2, 2] annulus_pipe.heatTransfer.states.phase = {annulus_pipe.mediums[1].state.phase, annulus_pipe.mediums[2].state.phase} (min = {0 for $i1 in 1:2}, max = {2 for $i1 in 1:2})
(241)     [DISC] (2) Boolean[2] $SEV_15[$i1]
(242)     [ALGB] (1) Real[1] circular_pipe.flowModel.mus_act (start = {0.001 for $i1 in 1:1}, min = {0.0 for $i1 in 1:1}, max = {1e8 for $i1 in 1:1}, nominal = {0.001 for $i1 in 1:1})
(243)     [ALGB] (2) Real[2] circular_pipe.Qb_flows
(244)     [ALGB] (4) final input Real[2, 2] circular_pipe.flowModel.states.d = {circular_pipe.statesFM[1].d, circular_pipe.statesFM[2].d} (start = {150.0 for $i1 in 1:2}, min = {0.0 for $i1 in 1:2}, max = {1e5 for $i1 in 1:2}, nominal = {500.0 for $i1 in 1:2})


System Equations (231/373)
****************************
(1)       [SCAL] (1) massflowsink1.medium.u = massflowsink1.medium.h - (99999.99999999999 * massflowsink1.medium.p_bar) / massflowsink1.medium.d ($RES_SIM_205)
(2)       [FOR-] (2) ($RES_SIM_80)
(2)       [----] for $i1 in 1:2 loop
(2)       [----]   [SCAL] (1) annulus_pipe.mediums[$i1].phase = if $SEV_7[$i1] then 1 else 2 ($RES_SIM_81)
(2)       [----] end for;
(3)       [ARRY] (1) {0.0} = circular_pipe.flowModel.Ib_flows - (circular_pipe.flowModel.Fs_fg + circular_pipe.flowModel.Fs_p) ($RES_SIM_120)
(4)       [SCAL] (1) massflowsink1.medium.sat.psat = 99999.99999999999 * massflowsink1.medium.p_bar ($RES_SIM_206)
(5)       [ARRY] (1) circular_pipe.flowModel.Is = {circular_pipe.flowModel.m_flows[1] * circular_pipe.flowModel.pathLengths[1]} ($RES_SIM_121)
(6)       [FOR-] (2) ($RES_BND_257)
(6)       [----] for $i1 in 1:2 loop
(6)       [----]   [SCAL] (1) circular_pipe.fluidVolumes[$i1] = (50.0 * circular_pipe.crossAreas[$i1]) * circular_pipe.nParallel ($RES_BND_258)
(6)       [----] end for;
(7)       [SCAL] (1) massflowsink1.medium.sat.Tsat = Modelica.Media.Water.IF97_Utilities.BaseIF97.Basic.tsat(99999.99999999999 * massflowsink1.medium.p_bar) ($RES_SIM_207)
(8)       [ARRY] (1) circular_pipe.flowModel.dps_fg = {(2.0 * (circular_pipe.flowModel.Fs_fg[1] / circular_pipe.flowModel.nParallel)) / (circular_pipe.flowModel.crossAreas[1] + circular_pipe.flowModel.crossAreas[2])} ($RES_SIM_122)
(9)       [SCAL] (1) -((-273.15) - massflowsink1.medium.T_degC) = Modelica.Media.Water.IF97_Utilities.T_props_ph(99999.99999999999 * massflowsink1.medium.p_bar, massflowsink1.medium.h, Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(99999.99999999999 * massflowsink1.medium.p_bar, massflowsink1.medium.h, massflowsink1.medium.phase, 0)) ($RES_SIM_208)
(10)      [ARRY] (1) circular_pipe.flowModel.Fs_p = circular_pipe.flowModel.nParallel * {0.5 * (circular_pipe.flowModel.crossAreas[1] + circular_pipe.flowModel.crossAreas[2]) * (circular_pipe.flowModel.states.phase - circular_pipe.flowModel.states.phase)} ($RES_SIM_123)
(11)      [FOR-] (2) ($RES_BND_259)
(11)      [----] for $i1 in 1:2 loop
(11)      [----]   [SCAL] (1) circular_pipe.mediums[$i1].p_bar = 1e-5 * circular_pipe.mediums[$i1].p ($RES_BND_260)
(11)      [----] end for;
(12)      [SCAL] (1) massflowsink1.medium.d = Modelica.Media.Water.IF97_Utilities.rho_props_ph(99999.99999999999 * massflowsink1.medium.p_bar, massflowsink1.medium.h, Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(99999.99999999999 * massflowsink1.medium.p_bar, massflowsink1.medium.h, massflowsink1.medium.phase, 0)) ($RES_SIM_209)
(13)      [FOR-] (2) ($RES_SIM_84)
(13)      [----] for $i1 in 1:2 loop
(13)      [----]   [SCAL] (1) $DER.circular_pipe.ms[$i1] = circular_pipe.mb_flows[$i1] ($RES_SIM_85)
(13)      [----] end for;
(14)      [ARRY] (1) circular_pipe.flowModel.Ib_flows = {0.0} ($RES_SIM_124)
(15)      [SCAL] (1) circular_pipe.flowModel.rhos_act[1] = noEvent(if $SEV_8 then circular_pipe.flowModel.rhos[1] else circular_pipe.flowModel.rhos[2]) ($RES_SIM_125)
(16)      [FOR-] (2) ($RES_SIM_86)
(16)      [----] for $i1 in 1:2 loop
(16)      [----]   [SCAL] (1) $DER.circular_pipe.Us[$i1] = circular_pipe.Wb_flows[$i1] + circular_pipe.Hb_flows[$i1] + circular_pipe.Qb_flows[$i1] ($RES_SIM_87)
(16)      [----] end for;
(17)      [SCAL] (1) circular_pipe.flowModel.mus_act[1] = noEvent(if $SEV_8 then circular_pipe.flowModel.mus[1] else circular_pipe.flowModel.mus[2]) ($RES_SIM_126)
(18)      [ARRY] (1) circular_pipe.flowModel.m_flows = {homotopy(({$FUN_3} .* circular_pipe.flowModel.nParallel)[1], (circular_pipe.flowModel.m_flow_nominal / circular_pipe.flowModel.dp_nominal * (circular_pipe.flowModel.dps_fg - (circular_pipe.flowModel.g * circular_pipe.flowModel.dheights) .* circular_pipe.flowModel.rho_nominal))[1])} ($RES_SIM_127)
(19)      [FOR-] (2) ($RES_SIM_88)
(19)      [----] for $i1 in 1:2 loop
(19)      [----]   [SCAL] (1) circular_pipe.ms[$i1] = circular_pipe.fluidVolumes[$i1] * circular_pipe.mediums[$i1].d ($RES_SIM_89)
(19)      [----] end for;
(20)      [FOR-] (2) ($RES_EVT_371)
(20)      [----] for $i1 in 1:2 loop
(20)      [----]   [SCAL] (1) $SEV_7[$i1] = $SEV_5[$i1] or $SEV_6[$i1] ($RES_EVT_372)
(20)      [----] end for;
(21)      [SCAL] (1) $SEV_8 = circular_pipe.flowModel.m_flows[1] > 0.0 ($RES_EVT_373)
(22)      [FOR-] (2) ($RES_EVT_374)
(22)      [----] for $i1 in 1:2 loop
(22)      [----]   [SCAL] (1) $SEV_9[$i1] = circular_pipe.mediums[$i1].p >= 0.0 ($RES_EVT_375)
(22)      [----] end for;
(23)      [FOR-] (2) ($RES_EVT_378)
(23)      [----] for $i1 in 1:2 loop
(23)      [----]   [SCAL] (1) $SEV_11[$i1] = circular_pipe.mediums[$i1].h < Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p(circular_pipe.mediums.sat.psat, Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.boilingcurve_p(circular_pipe.mediums.sat.psat)) ($RES_EVT_379)
(23)      [----] end for;
(24)      [FOR-] (2) ($RES_SIM_10)
(24)      [----] for $i1 in 1:2 loop
(24)      [----]   [SCAL] (1) $DER.annulus_pipe.Us[$i1] = annulus_pipe.Wb_flows[$i1] + annulus_pipe.Hb_flows[$i1] + annulus_pipe.Qb_flows[$i1] ($RES_SIM_11)
(24)      [----] end for;
(25)      [SCAL] (1) massflowsink1.medium.phase = if $SEV_23 then 1 else 2 ($RES_SIM_210)
(26)      [FOR-] (2) ($RES_SIM_12)
(26)      [----] for $i1 in 1:2 loop
(26)      [----]   [SCAL] (1) annulus_pipe.ms[$i1] = annulus_pipe.fluidVolumes[$i1] * annulus_pipe.mediums[$i1].d ($RES_SIM_13)
(26)      [----] end for;
(27)      [FOR-] (2) ($RES_BND_261)
(27)      [----] for $i1 in 1:2 loop
(27)      [----]   [SCAL] (1) circular_pipe.mediums[$i1].T_degC = (-273.15) + circular_pipe.mediums[$i1].T ($RES_BND_262)
(27)      [----] end for;
(28)      [FOR-] (2) ($RES_SIM_212)
(28)      [----] for $i1 in 1:2 loop
(28)      [----]   [SCAL] (1) boundary.ports[$i1].p = boundary.p ($RES_SIM_213)
(28)      [----] end for;
(29)      [FOR-] (2) ($RES_SIM_14)
(29)      [----] for $i1 in 1:2 loop
(29)      [----]   [SCAL] (1) annulus_pipe.Us[$i1] = annulus_pipe.ms[$i1] * annulus_pipe.mediums[$i1].u ($RES_SIM_15)
(29)      [----] end for;
(30)      [ARRY] (2) circular_pipe.flowModel.vs = circular_pipe.vsFM ($RES_BND_263)
(31)      [ARRY] (2) circular_pipe.flowModel.crossAreas = circular_pipe.crossAreasFM ($RES_BND_264)
(32)      [FOR-] (2) ($RES_SIM_214)
(32)      [----] for $i1 in 1:2 loop
(32)      [----]   [SCAL] (1) boundary.ports[$i1].h_outflow = boundary.medium.h ($RES_SIM_215)
(32)      [----] end for;
(33)      [SCAL] (1) annulus_pipe.port_b.p = annulus_pipe.mediums[2].p ($RES_SIM_16)
(34)      [ARRY] (2) circular_pipe.flowModel.dimensions = circular_pipe.dimensionsFM ($RES_BND_265)
(35)      [FOR-] (2) ($RES_SIM_90)
(35)      [----] for $i1 in 1:2 loop
(35)      [----]   [SCAL] (1) circular_pipe.Us[$i1] = circular_pipe.ms[$i1] * circular_pipe.mediums[$i1].u ($RES_SIM_91)
(35)      [----] end for;
(36)      [SCAL] (1) annulus_pipe.port_a.p = annulus_pipe.mediums[1].p ($RES_SIM_17)
(37)      [ARRY] (2) circular_pipe.flowModel.roughnesses = circular_pipe.roughnessesFM ($RES_BND_266)
(38)      [SCAL] (1) boundary.medium.h = Modelica.Media.Water.IF97_Utilities.h_pT(boundary.p, boundary.T, 0) ($RES_SIM_216)
(39)      [ARRY] (2) annulus_pipe.vsFM[:] = annulus_pipe.vs ($RES_SIM_18)
(40)      [ARRY] (1) circular_pipe.flowModel.dheights = circular_pipe.dheightsFM ($RES_BND_267)
(41)      [SCAL] (1) circular_pipe.port_b.p = circular_pipe.mediums[2].p ($RES_SIM_92)
(42)      [ARRY] (1) annulus_pipe.m_flows[2:2] = annulus_pipe.flowModel.m_flows[:] ($RES_SIM_19)
(43)      [ARRY] (1) circular_pipe.flowModel.pathLengths = circular_pipe.pathLengths ($RES_BND_268)
(44)      [SCAL] (1) circular_pipe.port_a.p = circular_pipe.mediums[1].p ($RES_SIM_93)
(45)      [FOR-] (2) ($RES_BND_269)
(45)      [----] for $i1 in 1:2 loop
(45)      [----]   [SCAL] (1) circular_pipe.flowModel.rhos[$i1] = circular_pipe.flowModel.states.d ($RES_BND_270)
(45)      [----] end for;
(46)      [ARRY] (2) circular_pipe.vsFM[:] = circular_pipe.vs ($RES_SIM_94)
(47)      [FOR-] (2) ($RES_SIM_134)
(47)      [----] for $i1 in 1:2 loop
(47)      [----]   [SCAL] (1) circular_pipe.mediums[$i1].phase = circular_pipe.mediums[$i1].state.phase ($RES_SIM_135)
(47)      [----] end for;
(48)      [ARRY] (1) circular_pipe.m_flows[2:2] = circular_pipe.flowModel.m_flows[:] ($RES_SIM_95)
(49)      [ARRY] (10) circular_pipe.statesFM[:] = circular_pipe.mediums[:].state ($RES_SIM_96)
(50)      [FOR-] (2) ($RES_SIM_136)
(50)      [----] for $i1 in 1:2 loop
(50)      [----]   [SCAL] (1) circular_pipe.mediums[$i1].d = circular_pipe.mediums[$i1].state.d ($RES_SIM_137)
(50)      [----] end for;
(51)      [FOR-] (2) ($RES_SIM_138)
(51)      [----] for $i1 in 1:2 loop
(51)      [----]   [SCAL] (1) circular_pipe.mediums[$i1].T = circular_pipe.mediums[$i1].state.T ($RES_SIM_139)
(51)      [----] end for;
(52)      [SCAL] (1) circular_pipe.port_b.h_outflow = circular_pipe.mediums[2].h ($RES_SIM_99)
(53)      [FOR-] (2) ($RES_EVT_380)
(53)      [----] for $i1 in 1:2 loop
(53)      [----]   [SCAL] (1) $SEV_12[$i1] = circular_pipe.mediums[$i1].h > Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p(circular_pipe.mediums.sat.psat, Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.dewcurve_p(circular_pipe.mediums.sat.psat)) ($RES_EVT_381)
(53)      [----] end for;
(54)      [FOR-] (2) ($RES_EVT_382)
(54)      [----] for $i1 in 1:2 loop
(54)      [----]   [SCAL] (1) $SEV_13[$i1] = $SEV_11[$i1] or $SEV_12[$i1] ($RES_EVT_383)
(54)      [----] end for;
(55)      [FOR-] (2) ($RES_EVT_384)
(55)      [----] for $i1 in 1:2 loop
(55)      [----]   [SCAL] (1) $SEV_14[$i1] = circular_pipe.mediums[$i1].p > 2.2064e7 ($RES_EVT_385)
(55)      [----] end for;
(56)      [FOR-] (2) ($RES_EVT_386)
(56)      [----] for $i1 in 1:2 loop
(56)      [----]   [SCAL] (1) $SEV_15[$i1] = $SEV_13[$i1] or $SEV_14[$i1] ($RES_EVT_387)
(56)      [----] end for;
(57)      [SCAL] (1) $SEV_16 = abs(sum({abs(massflowsink2.ports[1].m_flow)}) - abs(massflowsink2.ports[1].m_flow)) <= 1e-60 ($RES_EVT_388)
(58)      [ARRY] (10) annulus_pipe.statesFM[:] = annulus_pipe.mediums[:].state ($RES_SIM_20)
(59)      [FOR-] (2) ($RES_BND_271)
(59)      [----] for $i1 in 1:2 loop
(59)      [----]   [SCAL] (1) circular_pipe.flowModel.mus[$i1] = Modelica.Media.Water.IF97_Utilities.dynamicViscosity(circular_pipe.flowModel.states.d, circular_pipe.flowModel.states.h, circular_pipe.flowModel.states.phase, circular_pipe.flowModel.states.p) ($RES_BND_272)
(59)      [----] end for;
(60)      [SCAL] (1) annulus_pipe.port_b.h_outflow = annulus_pipe.mediums[2].h ($RES_SIM_23)
(61)      [SCAL] (1) annulus_pipe.port_a.h_outflow = annulus_pipe.mediums[1].h ($RES_SIM_24)
(62)      [ARRY] (1) circular_pipe.flowModel.pathLengths_internal = circular_pipe.flowModel.pathLengths ($RES_BND_273)
(63)      [SCAL] (1) annulus_pipe.port_b.m_flow = -annulus_pipe.m_flows[3] ($RES_SIM_25)
(64)      [SCAL] (1) circular_pipe.flowModel.Res_turbulent_internal[1] = circular_pipe.flowModel.Re_turbulent ($RES_BND_274)
(65)      [SCAL] (1) annulus_pipe.port_a.m_flow = annulus_pipe.m_flows[1] ($RES_SIM_26)
(66)      [ARRY] (1) circular_pipe.flowModel.diameters = 0.5 * (circular_pipe.flowModel.dimensions[2:2] + circular_pipe.flowModel.dimensions[1:1]) ($RES_BND_275)
(67)      [FOR-] (2) ($RES_SIM_140)
(67)      [----] for $i1 in 1:2 loop
(67)      [----]   [SCAL] (1) circular_pipe.mediums[$i1].p = circular_pipe.mediums[$i1].state.p ($RES_SIM_141)
(67)      [----] end for;
(68)      [SCAL] (1) annulus_pipe.H_flows[3] = -$FUN_10 ($RES_SIM_27)
(69)      [SCAL] (1) boundary.medium.phase = boundary.medium.state.phase ($RES_SIM_226)
(70)      [SCAL] (1) annulus_pipe.H_flows[1] = $FUN_9 ($RES_SIM_28)
(71)      [FOR-] (2) ($RES_BND_277)
(71)      [----] for $i1 in 1:2 loop
(71)      [----]   [SCAL] (1) circular_pipe.vs[$i1] = ((0.5 * (circular_pipe.m_flows[1 + $i1] + circular_pipe.m_flows[$i1])) / (circular_pipe.crossAreas[$i1] * circular_pipe.mediums[$i1].d)) / circular_pipe.nParallel ($RES_BND_278)
(71)      [----] end for;
(72)      [SCAL] (1) boundary.medium.d = boundary.medium.state.d ($RES_SIM_227)
(73)      [FOR-] (2) ($RES_SIM_142)
(73)      [----] for $i1 in 1:2 loop
(73)      [----]   [SCAL] (1) circular_pipe.mediums[$i1].h = circular_pipe.mediums[$i1].state.h ($RES_SIM_143)
(73)      [----] end for;
(74)      [SCAL] (1) annulus_pipe.H_flows[2] = $FUN_8 ($RES_SIM_29)
(75)      [SCAL] (1) -((-273.15) - boundary.medium.T_degC) = boundary.medium.state.T ($RES_SIM_228)
(76)      [FOR-] (2) ($RES_SIM_146)
(76)      [----] for $i1 in 1:2 loop
(76)      [----]   [SCAL] (1) circular_pipe.mediums[$i1].u = circular_pipe.mediums[$i1].h - circular_pipe.mediums[$i1].p / circular_pipe.mediums[$i1].d ($RES_SIM_147)
(76)      [----] end for;
(77)      [FOR-] (2) ($RES_SIM_148)
(77)      [----] for $i1 in 1:2 loop
(77)      [----]   [SCAL] (1) circular_pipe.mediums[$i1].sat.psat = circular_pipe.mediums[$i1].p ($RES_SIM_149)
(77)      [----] end for;
(78)      [SCAL] (1) $SEV_19 = (massflowsink2.medium.h < Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p(massflowsink2.medium.sat.psat, Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.boilingcurve_p(massflowsink2.medium.sat.psat)) or massflowsink2.medium.h > Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p(massflowsink2.medium.sat.psat, Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.dewcurve_p(massflowsink2.medium.sat.psat))) or 99999.99999999999 * massflowsink2.medium.p_bar > 2.2064e7 ($RES_EVT_391)
(79)      [SCAL] (1) $SEV_20 = abs(sum({abs(massflowsink1.ports[1].m_flow)}) - abs(massflowsink1.ports[1].m_flow)) <= 1e-60 ($RES_EVT_392)
(80)      [SCAL] (1) $SEV_23 = (massflowsink1.medium.h < Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p(massflowsink1.medium.sat.psat, Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.boilingcurve_p(massflowsink1.medium.sat.psat)) or massflowsink1.medium.h > Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p(massflowsink1.medium.sat.psat, Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.dewcurve_p(massflowsink1.medium.sat.psat))) or 99999.99999999999 * massflowsink1.medium.p_bar > 2.2064e7 ($RES_EVT_395)
(81)      [SCAL] (1) $SEV_26 = (boundary.medium.h < Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p(boundary.medium.sat.psat, Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.boilingcurve_p(boundary.medium.sat.psat)) or boundary.medium.h > Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p(boundary.medium.sat.psat, Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.dewcurve_p(boundary.medium.sat.psat))) or boundary.p > 2.2064e7 ($RES_EVT_398)
(82)      [FOR-] (2) ($RES_SIM_30)
(82)      [----] for $i1 in 1:2 loop
(82)      [----]   [SCAL] (1) annulus_pipe.mb_flows[$i1] = annulus_pipe.m_flows[$i1] - annulus_pipe.m_flows[$i1 + 1] ($RES_SIM_31)
(82)      [----] end for;
(83)      [FOR-] (2) ($RES_BND_280)
(83)      [----] for $i1 in 1:2 loop
(83)      [----]   [SCAL] (1) circular_pipe.heatTransfer.Ts[$i1] = circular_pipe.heatTransfer.states.h ($RES_BND_281)
(83)      [----] end for;
(84)      [SCAL] (1) boundary.medium.h = boundary.medium.state.h ($RES_SIM_230)
(85)      [FOR-] (2) ($RES_SIM_32)
(85)      [----] for $i1 in 1:2 loop
(85)      [----]   [SCAL] (1) annulus_pipe.Hb_flows[$i1] = annulus_pipe.H_flows[$i1] - annulus_pipe.H_flows[$i1 + 1] ($RES_SIM_33)
(85)      [----] end for;
(86)      [ARRY] (2) circular_pipe.heatTransfer.vs = circular_pipe.vs ($RES_BND_282)
(87)      [SCAL] (1) boundary.medium.u = boundary.medium.h - boundary.p / boundary.medium.d ($RES_SIM_232)
(88)      [ARRY] (2) annulus_pipe.roughnessesFM[:] = annulus_pipe.roughnesses ($RES_SIM_34)
(89)      [SCAL] (1) boundary.medium.sat.psat = boundary.p ($RES_SIM_233)
(90)      [ARRY] (2) annulus_pipe.dimensionsFM[:] = annulus_pipe.dimensions ($RES_SIM_35)
(91)      [ARRY] (2) annulus_pipe.crossAreasFM[:] = annulus_pipe.crossAreas ($RES_SIM_36)
(92)      [SCAL] (1) -((-273.15) - boundary.medium.T_degC) = Modelica.Media.Water.IF97_Utilities.T_props_ph(boundary.p, boundary.medium.h, Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(boundary.p, boundary.medium.h, boundary.medium.phase, 0)) ($RES_SIM_235)
(93)      [SCAL] (1) annulus_pipe.dheightsFM[1] = 0.0 ($RES_SIM_37)
(94)      [FOR-] (2) ($RES_SIM_150)
(94)      [----] for $i1 in 1:2 loop
(94)      [----]   [SCAL] (1) circular_pipe.mediums[$i1].sat.Tsat = Modelica.Media.Water.IF97_Utilities.BaseIF97.Basic.tsat(circular_pipe.mediums[$i1].p) ($RES_SIM_151)
(94)      [----] end for;
(95)      [FOR-] (2) ($RES_BND_286)
(95)      [----] for $i1 in 1:2 loop
(95)      [----]   [SCAL] (1) annulus_pipe.fluidVolumes[$i1] = (50.0 * annulus_pipe.crossAreas[$i1]) * annulus_pipe.nParallel ($RES_BND_287)
(95)      [----] end for;
(96)      [SCAL] (1) boundary.medium.d = Modelica.Media.Water.IF97_Utilities.rho_props_ph(boundary.p, boundary.medium.h, Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(boundary.p, boundary.medium.h, boundary.medium.phase, 0)) ($RES_SIM_236)
(97)      [SCAL] (1) annulus_pipe.pathLengths[1] = 100.0 ($RES_SIM_38)
(98)      [SCAL] (1) boundary.medium.phase = if $SEV_26 then 1 else 2 ($RES_SIM_237)
(99)      [SCAL] (1) annulus_pipe.Wb_flows[2] = (0.5 * (annulus_pipe.mediums[2].p - annulus_pipe.mediums[1].p) + 0.5 * annulus_pipe.flowModel.dps_fg[1]) * annulus_pipe.crossAreas[2] * annulus_pipe.vs[2] * annulus_pipe.nParallel ($RES_SIM_39)
(100)     [FOR-] (2) ($RES_SIM_152)
(100)     [----] for $i1 in 1:2 loop
(100)     [----]   [SCAL] (1) circular_pipe.mediums[$i1].T = Modelica.Media.Water.IF97_Utilities.T_props_ph(circular_pipe.mediums[$i1].p, circular_pipe.mediums[$i1].h, Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(circular_pipe.mediums[$i1].p, circular_pipe.mediums[$i1].h, circular_pipe.mediums[$i1].phase, 0)) ($RES_SIM_153)
(100)     [----] end for;
(101)     [FOR-] (2) ($RES_BND_288)
(101)     [----] for $i1 in 1:2 loop
(101)     [----]   [SCAL] (1) annulus_pipe.mediums[$i1].p_bar = 1e-5 * annulus_pipe.mediums[$i1].p ($RES_BND_289)
(101)     [----] end for;
(102)     [FOR-] (2) ($RES_SIM_239)
(102)     [----] for $i1 in 1:2 loop
(102)     [----]   [SCAL] (1) annulus_pipe.heatTransfer.heatPorts[$i1].Q_flow = 0.0 ($RES_SIM_240)
(102)     [----] end for;
(103)     [FOR-] (2) ($RES_SIM_154)
(103)     [----] for $i1 in 1:2 loop
(103)     [----]   [SCAL] (1) circular_pipe.mediums[$i1].d = Modelica.Media.Water.IF97_Utilities.rho_props_ph(circular_pipe.mediums[$i1].p, circular_pipe.mediums[$i1].h, Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(circular_pipe.mediums[$i1].p, circular_pipe.mediums[$i1].h, circular_pipe.mediums[$i1].phase, 0)) ($RES_SIM_155)
(103)     [----] end for;
(104)     [FOR-] (2) ($RES_SIM_156)
(104)     [----] for $i1 in 1:2 loop
(104)     [----]   [SCAL] (1) circular_pipe.mediums[$i1].phase = if $SEV_15[$i1] then 1 else 2 ($RES_SIM_157)
(104)     [----] end for;
(105)     [SCAL] (1) -massflowsink1.m_flow = sum(massflowsink1.ports.m_flow) ($RES_$AUX_332)
(106)     [SCAL] (1) -massflowsink2.m_flow = sum(massflowsink2.ports.m_flow) ($RES_$AUX_331)
(107)     [SCAL] (1) $FUN_3 = Modelica.Fluid.Examples.NonCircularPipes.circular_pipe.flowModel.WallFriction.massFlowRate_dp_staticHead(circular_pipe.flowModel.dps_fg[1], circular_pipe.flowModel.rhos[1], circular_pipe.flowModel.rhos[2], circular_pipe.flowModel.mus[1], circular_pipe.flowModel.mus[2], circular_pipe.flowModel.pathLengths_internal[1], circular_pipe.flowModel.diameters[1], (circular_pipe.flowModel.g * circular_pipe.flowModel.dheights)[1], (0.5 .* (circular_pipe.flowModel.crossAreas[1:1] + circular_pipe.flowModel.crossAreas[2:2]))[1], (0.5 .* (circular_pipe.flowModel.roughnesses[1:1] + circular_pipe.flowModel.roughnesses[2:2]))[1], circular_pipe.flowModel.dp_small, circular_pipe.flowModel.Res_turbulent_internal[1]) ($RES_$AUX_330)
(108)     [SCAL] (1) annulus_pipe.Wb_flows[1] = (0.5 * (annulus_pipe.mediums[2].p - annulus_pipe.mediums[1].p) + 0.5 * annulus_pipe.flowModel.dps_fg[1]) * annulus_pipe.crossAreas[1] * annulus_pipe.vs[1] * annulus_pipe.nParallel ($RES_SIM_40)
(109)     [ARRY] (2) annulus_pipe.Qb_flows = annulus_pipe.heatTransfer.Q_flows ($RES_SIM_41)
(110)     [FOR-] (2) ($RES_BND_290)
(110)     [----] for $i1 in 1:2 loop
(110)     [----]   [SCAL] (1) annulus_pipe.mediums[$i1].T_degC = (-273.15) + annulus_pipe.mediums[$i1].T ($RES_BND_291)
(110)     [----] end for;
(111)     [ARRY] (2) annulus_pipe.heatTransfer.Q_flows = annulus_pipe.heatTransfer.heatPorts.Q_flow ($RES_SIM_42)
(112)     [SCAL] (1) annulus_pipe.port_b.m_flow + massflowsink2.ports[1].m_flow = 0.0 ($RES_SIM_241)
(113)     [ARRY] (2) annulus_pipe.heatTransfer.Ts = annulus_pipe.heatTransfer.heatPorts.T ($RES_SIM_43)
(114)     [ARRY] (2) annulus_pipe.flowModel.vs = annulus_pipe.vsFM ($RES_BND_292)
(115)     [FOR-] (2) ($RES_SIM_242)
(115)     [----] for $i1 in 1:2 loop
(115)     [----]   [SCAL] (1) circular_pipe.heatTransfer.heatPorts[$i1].Q_flow = 0.0 ($RES_SIM_243)
(115)     [----] end for;
(116)     [ARRY] (1) {0.0} = annulus_pipe.flowModel.Ib_flows - (annulus_pipe.flowModel.Fs_fg + annulus_pipe.flowModel.Fs_p) ($RES_SIM_44)
(117)     [ARRY] (2) annulus_pipe.flowModel.crossAreas = annulus_pipe.crossAreasFM ($RES_BND_293)
(118)     [ARRY] (1) annulus_pipe.flowModel.Is = {annulus_pipe.flowModel.m_flows[1] * annulus_pipe.flowModel.pathLengths[1]} ($RES_SIM_45)
(119)     [ARRY] (2) annulus_pipe.flowModel.dimensions = annulus_pipe.dimensionsFM ($RES_BND_294)
(120)     [SCAL] (1) circular_pipe.port_b.m_flow + massflowsink1.ports[1].m_flow = 0.0 ($RES_SIM_244)
(121)     [ARRY] (1) annulus_pipe.flowModel.dps_fg = {(2.0 * (annulus_pipe.flowModel.Fs_fg[1] / annulus_pipe.flowModel.nParallel)) / (annulus_pipe.flowModel.crossAreas[1] + annulus_pipe.flowModel.crossAreas[2])} ($RES_SIM_46)
(122)     [ARRY] (2) annulus_pipe.flowModel.roughnesses = annulus_pipe.roughnessesFM ($RES_BND_295)
(123)     [SCAL] (1) annulus_pipe.port_a.m_flow + boundary.ports[2].m_flow = 0.0 ($RES_SIM_245)
(124)     [ARRY] (1) annulus_pipe.flowModel.Fs_p = annulus_pipe.flowModel.nParallel * {0.5 * (annulus_pipe.flowModel.crossAreas[1] + annulus_pipe.flowModel.crossAreas[2]) * (annulus_pipe.flowModel.states.phase - annulus_pipe.flowModel.states.phase)} ($RES_SIM_47)
(125)     [SCAL] (1) massflowsink2.ports[1].p = 99999.99999999999 * massflowsink2.medium.p_bar ($RES_SIM_160)
(126)     [ARRY] (1) annulus_pipe.flowModel.dheights = annulus_pipe.dheightsFM ($RES_BND_296)
(127)     [SCAL] (1) circular_pipe.port_a.m_flow + boundary.ports[1].m_flow = 0.0 ($RES_SIM_246)
(128)     [ARRY] (1) annulus_pipe.flowModel.Ib_flows = {0.0} ($RES_SIM_48)
(129)     [SCAL] (1) massflowsink2.ports[1].h_outflow = massflowsink2.medium.h ($RES_SIM_161)
(130)     [ARRY] (1) annulus_pipe.flowModel.pathLengths = annulus_pipe.pathLengths ($RES_BND_297)
(131)     [SCAL] (1) annulus_pipe.port_b.p = massflowsink2.ports[1].p ($RES_SIM_247)
(132)     [SCAL] (1) annulus_pipe.flowModel.rhos_act[1] = noEvent(if $SEV_0 then annulus_pipe.flowModel.rhos[1] else annulus_pipe.flowModel.rhos[2]) ($RES_SIM_49)
(133)     [FOR-] (2) ($RES_BND_298)
(133)     [----] for $i1 in 1:2 loop
(133)     [----]   [SCAL] (1) annulus_pipe.flowModel.rhos[$i1] = annulus_pipe.flowModel.states.d ($RES_BND_299)
(133)     [----] end for;
(134)     [SCAL] (1) circular_pipe.port_b.p = massflowsink1.ports[1].p ($RES_SIM_248)
(135)     [SCAL] (1) boundary.ports[2].p = annulus_pipe.port_a.p ($RES_SIM_249)
(136)     [SCAL] (1) massflowsink2.medium.h = Modelica.Media.Water.IF97_Utilities.h_pT(99999.99999999999 * massflowsink2.medium.p_bar, massflowsink2.T, 0) ($RES_SIM_164)
(137)     [SCAL] (1) $FUN_4 = semiLinear(circular_pipe.m_flows[2], circular_pipe.mediums[1].h, circular_pipe.mediums[2].h) ($RES_$AUX_329)
(138)     [SCAL] (1) $FUN_5 = semiLinear(circular_pipe.port_a.m_flow, boundary.ports[1].h_outflow, circular_pipe.mediums[1].h) ($RES_$AUX_328)
(139)     [SCAL] (1) $FUN_6 = semiLinear(circular_pipe.port_b.m_flow, massflowsink1.ports[1].h_outflow, circular_pipe.mediums[2].h) ($RES_$AUX_327)
(140)     [SCAL] (1) $FUN_7 = Modelica.Fluid.Examples.NonCircularPipes.annulus_pipe.flowModel.WallFriction.massFlowRate_dp_staticHead(annulus_pipe.flowModel.dps_fg[1], annulus_pipe.flowModel.rhos[1], annulus_pipe.flowModel.rhos[2], annulus_pipe.flowModel.mus[1], annulus_pipe.flowModel.mus[2], annulus_pipe.flowModel.pathLengths_internal[1], annulus_pipe.flowModel.diameters[1], (annulus_pipe.flowModel.g * annulus_pipe.flowModel.dheights)[1], (0.5 .* (annulus_pipe.flowModel.crossAreas[1:1] + annulus_pipe.flowModel.crossAreas[2:2]))[1], (0.5 .* (annulus_pipe.flowModel.roughnesses[1:1] + annulus_pipe.flowModel.roughnesses[2:2]))[1], annulus_pipe.flowModel.dp_small, annulus_pipe.flowModel.Res_turbulent_internal[1]) ($RES_$AUX_326)
(141)     [SCAL] (1) $FUN_8 = semiLinear(annulus_pipe.m_flows[2], annulus_pipe.mediums[1].h, annulus_pipe.mediums[2].h) ($RES_$AUX_325)
(142)     [SCAL] (1) $FUN_9 = semiLinear(annulus_pipe.port_a.m_flow, boundary.ports[2].h_outflow, annulus_pipe.mediums[1].h) ($RES_$AUX_324)
(143)     [SCAL] (1) $FUN_10 = semiLinear(annulus_pipe.port_b.m_flow, massflowsink2.ports[1].h_outflow, annulus_pipe.mediums[2].h) ($RES_$AUX_323)
(144)     [SCAL] (1) $FUN_11 = Modelica.Fluid.Examples.NonCircularPipes.annulus_pipe.flowModel.WallFriction.pressureLoss_m_flow(annulus_pipe.flowModel.m_flow_nominal / annulus_pipe.flowModel.nParallel, annulus_pipe.flowModel.rho_nominal, annulus_pipe.flowModel.rho_nominal, annulus_pipe.flowModel.mu_nominal, annulus_pipe.flowModel.mu_nominal, annulus_pipe.flowModel.pathLengths_internal[1], annulus_pipe.flowModel.diameters[1], (0.5 .* (annulus_pipe.flowModel.crossAreas[2:2] + annulus_pipe.flowModel.crossAreas[1:1]))[1], (0.5 .* (annulus_pipe.flowModel.roughnesses[2:2] + annulus_pipe.flowModel.roughnesses[1:1]))[1], annulus_pipe.flowModel.m_flow_small / annulus_pipe.flowModel.nParallel, annulus_pipe.flowModel.Res_turbulent_internal[1]) ($RES_$AUX_322)
(145)     [FOR-] (2) ($RES_BND_300)
(145)     [----] for $i1 in 1:2 loop
(145)     [----]   [SCAL] (1) annulus_pipe.flowModel.mus[$i1] = Modelica.Media.Water.IF97_Utilities.dynamicViscosity(annulus_pipe.flowModel.states.d, annulus_pipe.flowModel.states.h, annulus_pipe.flowModel.states.phase, annulus_pipe.flowModel.states.p) ($RES_BND_301)
(145)     [----] end for;
(146)     [SCAL] (1) annulus_pipe.flowModel.dp_fric_nominal = sum({$FUN_11}) ($RES_$AUX_321)
(147)     [SCAL] (1) $FUN_13 = Modelica.Fluid.Examples.NonCircularPipes.circular_pipe.flowModel.WallFriction.pressureLoss_m_flow(circular_pipe.flowModel.m_flow_nominal / circular_pipe.flowModel.nParallel, circular_pipe.flowModel.rho_nominal, circular_pipe.flowModel.rho_nominal, circular_pipe.flowModel.mu_nominal, circular_pipe.flowModel.mu_nominal, circular_pipe.flowModel.pathLengths_internal[1], circular_pipe.flowModel.diameters[1], (0.5 .* (circular_pipe.flowModel.crossAreas[2:2] + circular_pipe.flowModel.crossAreas[1:1]))[1], (0.5 .* (circular_pipe.flowModel.roughnesses[2:2] + circular_pipe.flowModel.roughnesses[1:1]))[1], circular_pipe.flowModel.m_flow_small / circular_pipe.flowModel.nParallel, circular_pipe.flowModel.Res_turbulent_internal[1]) ($RES_$AUX_320)
(148)     [ARRY] (1) annulus_pipe.flowModel.pathLengths_internal = annulus_pipe.flowModel.pathLengths ($RES_BND_302)
(149)     [SCAL] (1) annulus_pipe.flowModel.Res_turbulent_internal[1] = annulus_pipe.flowModel.Re_turbulent ($RES_BND_303)
(150)     [ARRY] (1) annulus_pipe.flowModel.diameters = 0.5 * (annulus_pipe.flowModel.dimensions[2:2] + annulus_pipe.flowModel.dimensions[1:1]) ($RES_BND_304)
(151)     [FOR-] (2) ($RES_BND_306)
(151)     [----] for $i1 in 1:2 loop
(151)     [----]   [SCAL] (1) annulus_pipe.vs[$i1] = ((0.5 * (annulus_pipe.m_flows[1 + $i1] + annulus_pipe.m_flows[$i1])) / (annulus_pipe.crossAreas[$i1] * annulus_pipe.mediums[$i1].d)) / annulus_pipe.nParallel ($RES_BND_307)
(151)     [----] end for;
(152)     [FOR-] (2) ($RES_BND_309)
(152)     [----] for $i1 in 1:2 loop
(152)     [----]   [SCAL] (1) annulus_pipe.heatTransfer.Ts[$i1] = annulus_pipe.heatTransfer.states.h ($RES_BND_310)
(152)     [----] end for;
(153)     [SCAL] (1) annulus_pipe.flowModel.mus_act[1] = noEvent(if $SEV_0 then annulus_pipe.flowModel.mus[1] else annulus_pipe.flowModel.mus[2]) ($RES_SIM_50)
(154)     [ARRY] (1) annulus_pipe.flowModel.m_flows = {homotopy(({$FUN_7} .* annulus_pipe.flowModel.nParallel)[1], (annulus_pipe.flowModel.m_flow_nominal / annulus_pipe.flowModel.dp_nominal * (annulus_pipe.flowModel.dps_fg - (annulus_pipe.flowModel.g * annulus_pipe.flowModel.dheights) .* annulus_pipe.flowModel.rho_nominal))[1])} ($RES_SIM_51)
(155)     [SCAL] (1) circular_pipe.state_a.h = boundary.ports[1].h_outflow ($RES_SIM_334)
(156)     [SCAL] (1) boundary.ports[1].p = circular_pipe.port_a.p ($RES_SIM_250)
(157)     [SCAL] (1) circular_pipe.state_a.d = Modelica.Media.Water.IF97_Utilities.rho_ph(circular_pipe.port_a.p, boundary.ports[1].h_outflow, 0, 0) ($RES_SIM_335)
(158)     [SCAL] (1) circular_pipe.state_a.T = Modelica.Media.Water.IF97_Utilities.T_ph(circular_pipe.port_a.p, boundary.ports[1].h_outflow, 0, 0) ($RES_SIM_336)
(159)     [SCAL] (1) circular_pipe.state_a.p = circular_pipe.port_a.p ($RES_SIM_337)
(160)     [FOR-] (2) ($RES_SIM_8)
(160)     [----] for $i1 in 1:2 loop
(160)     [----]   [SCAL] (1) $DER.annulus_pipe.ms[$i1] = annulus_pipe.mb_flows[$i1] ($RES_SIM_9)
(160)     [----] end for;
(161)     [SCAL] (1) circular_pipe.state_b.h = massflowsink1.ports[1].h_outflow ($RES_SIM_339)
(162)     [FOR-] (2) ($RES_SIM_58)
(162)     [----] for $i1 in 1:2 loop
(162)     [----]   [SCAL] (1) annulus_pipe.mediums[$i1].phase = annulus_pipe.mediums[$i1].state.phase ($RES_SIM_59)
(162)     [----] end for;
(163)     [SCAL] (1) massflowsink2.medium.phase = massflowsink2.medium.state.phase ($RES_SIM_173)
(164)     [SCAL] (1) massflowsink2.medium.d = massflowsink2.medium.state.d ($RES_SIM_174)
(165)     [SCAL] (1) -((-273.15) - massflowsink2.medium.T_degC) = massflowsink2.medium.state.T ($RES_SIM_175)
(166)     [SCAL] (1) 99999.99999999999 * massflowsink2.medium.p_bar = massflowsink2.medium.state.p ($RES_SIM_176)
(167)     [SCAL] (1) massflowsink2.medium.h = massflowsink2.medium.state.h ($RES_SIM_177)
(168)     [SCAL] (1) circular_pipe.flowModel.dp_fric_nominal = sum({$FUN_13}) ($RES_$AUX_319)
(169)     [SCAL] (1) massflowsink2.medium.u = massflowsink2.medium.h - (99999.99999999999 * massflowsink2.medium.p_bar) / massflowsink2.medium.d ($RES_SIM_179)
(170)     [ARRY] (2) annulus_pipe.heatTransfer.vs = annulus_pipe.vs ($RES_BND_311)
(171)     [ARRY] (10) circular_pipe.flowModel.states = circular_pipe.statesFM ($RES_BND_315)
(172)     [ARRY] (10) circular_pipe.heatTransfer.states = circular_pipe.mediums.state ($RES_BND_316)
(173)     [ARRY] (10) annulus_pipe.flowModel.states = annulus_pipe.statesFM ($RES_BND_317)
(174)     [ARRY] (10) annulus_pipe.heatTransfer.states = annulus_pipe.mediums.state ($RES_BND_318)
(175)     [SCAL] (1) circular_pipe.state_b.d = Modelica.Media.Water.IF97_Utilities.rho_ph(circular_pipe.port_b.p, massflowsink1.ports[1].h_outflow, 0, 0) ($RES_SIM_340)
(176)     [SCAL] (1) circular_pipe.state_b.T = Modelica.Media.Water.IF97_Utilities.T_ph(circular_pipe.port_b.p, massflowsink1.ports[1].h_outflow, 0, 0) ($RES_SIM_341)
(177)     [SCAL] (1) circular_pipe.state_b.p = circular_pipe.port_b.p ($RES_SIM_342)
(178)     [FOR-] (2) ($RES_SIM_60)
(178)     [----] for $i1 in 1:2 loop
(178)     [----]   [SCAL] (1) annulus_pipe.mediums[$i1].d = annulus_pipe.mediums[$i1].state.d ($RES_SIM_61)
(178)     [----] end for;
(179)     [SCAL] (1) circular_pipe.port_a.h_outflow = circular_pipe.mediums[1].h ($RES_SIM_100)
(180)     [SCAL] (1) circular_pipe.port_b.m_flow = -circular_pipe.m_flows[3] ($RES_SIM_101)
(181)     [SCAL] (1) annulus_pipe.state_a.h = boundary.ports[2].h_outflow ($RES_SIM_344)
(182)     [FOR-] (2) ($RES_SIM_62)
(182)     [----] for $i1 in 1:2 loop
(182)     [----]   [SCAL] (1) annulus_pipe.mediums[$i1].T = annulus_pipe.mediums[$i1].state.T ($RES_SIM_63)
(182)     [----] end for;
(183)     [SCAL] (1) circular_pipe.port_a.m_flow = circular_pipe.m_flows[1] ($RES_SIM_102)
(184)     [SCAL] (1) annulus_pipe.state_a.d = Modelica.Media.Water.IF97_Utilities.rho_ph(annulus_pipe.port_a.p, boundary.ports[2].h_outflow, 0, 0) ($RES_SIM_345)
(185)     [SCAL] (1) circular_pipe.H_flows[3] = -$FUN_6 ($RES_SIM_103)
(186)     [SCAL] (1) annulus_pipe.state_a.T = Modelica.Media.Water.IF97_Utilities.T_ph(annulus_pipe.port_a.p, boundary.ports[2].h_outflow, 0, 0) ($RES_SIM_346)
(187)     [FOR-] (2) ($RES_SIM_64)
(187)     [----] for $i1 in 1:2 loop
(187)     [----]   [SCAL] (1) annulus_pipe.mediums[$i1].p = annulus_pipe.mediums[$i1].state.p ($RES_SIM_65)
(187)     [----] end for;
(188)     [SCAL] (1) circular_pipe.H_flows[1] = $FUN_5 ($RES_SIM_104)
(189)     [SCAL] (1) annulus_pipe.state_a.p = annulus_pipe.port_a.p ($RES_SIM_347)
(190)     [SCAL] (1) circular_pipe.H_flows[2] = $FUN_4 ($RES_SIM_105)
(191)     [FOR-] (2) ($RES_SIM_66)
(191)     [----] for $i1 in 1:2 loop
(191)     [----]   [SCAL] (1) annulus_pipe.mediums[$i1].h = annulus_pipe.mediums[$i1].state.h ($RES_SIM_67)
(191)     [----] end for;
(192)     [FOR-] (2) ($RES_SIM_106)
(192)     [----] for $i1 in 1:2 loop
(192)     [----]   [SCAL] (1) circular_pipe.mb_flows[$i1] = circular_pipe.m_flows[$i1] - circular_pipe.m_flows[$i1 + 1] ($RES_SIM_107)
(192)     [----] end for;
(193)     [SCAL] (1) annulus_pipe.state_b.h = massflowsink2.ports[1].h_outflow ($RES_SIM_349)
(194)     [SCAL] (1) massflowsink2.medium.sat.psat = 99999.99999999999 * massflowsink2.medium.p_bar ($RES_SIM_180)
(195)     [SCAL] (1) massflowsink2.medium.sat.Tsat = Modelica.Media.Water.IF97_Utilities.BaseIF97.Basic.tsat(99999.99999999999 * massflowsink2.medium.p_bar) ($RES_SIM_181)
(196)     [FOR-] (2) ($RES_SIM_108)
(196)     [----] for $i1 in 1:2 loop
(196)     [----]   [SCAL] (1) circular_pipe.Hb_flows[$i1] = circular_pipe.H_flows[$i1] - circular_pipe.H_flows[$i1 + 1] ($RES_SIM_109)
(196)     [----] end for;
(197)     [SCAL] (1) -((-273.15) - massflowsink2.medium.T_degC) = Modelica.Media.Water.IF97_Utilities.T_props_ph(99999.99999999999 * massflowsink2.medium.p_bar, massflowsink2.medium.h, Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(99999.99999999999 * massflowsink2.medium.p_bar, massflowsink2.medium.h, massflowsink2.medium.phase, 0)) ($RES_SIM_182)
(198)     [SCAL] (1) massflowsink2.medium.d = Modelica.Media.Water.IF97_Utilities.rho_props_ph(99999.99999999999 * massflowsink2.medium.p_bar, massflowsink2.medium.h, Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(99999.99999999999 * massflowsink2.medium.p_bar, massflowsink2.medium.h, massflowsink2.medium.phase, 0)) ($RES_SIM_183)
(199)     [SCAL] (1) massflowsink2.medium.phase = if $SEV_19 then 1 else 2 ($RES_SIM_184)
(200)     [SCAL] (1) massflowsink1.ports[1].p = 99999.99999999999 * massflowsink1.medium.p_bar ($RES_SIM_186)
(201)     [SCAL] (1) massflowsink1.ports[1].h_outflow = massflowsink1.medium.h ($RES_SIM_187)
(202)     [SCAL] (1) $SEV_0 = annulus_pipe.flowModel.m_flows[1] > 0.0 ($RES_EVT_358)
(203)     [FOR-] (2) ($RES_EVT_359)
(203)     [----] for $i1 in 1:2 loop
(203)     [----]   [SCAL] (1) $SEV_1[$i1] = annulus_pipe.mediums[$i1].p >= 0.0 ($RES_EVT_360)
(203)     [----] end for;
(204)     [SCAL] (1) annulus_pipe.state_b.d = Modelica.Media.Water.IF97_Utilities.rho_ph(annulus_pipe.port_b.p, massflowsink2.ports[1].h_outflow, 0, 0) ($RES_SIM_350)
(205)     [SCAL] (1) annulus_pipe.state_b.T = Modelica.Media.Water.IF97_Utilities.T_ph(annulus_pipe.port_b.p, massflowsink2.ports[1].h_outflow, 0, 0) ($RES_SIM_351)
(206)     [SCAL] (1) annulus_pipe.state_b.p = annulus_pipe.port_b.p ($RES_SIM_352)
(207)     [FOR-] (2) ($RES_SIM_70)
(207)     [----] for $i1 in 1:2 loop
(207)     [----]   [SCAL] (1) annulus_pipe.mediums[$i1].u = annulus_pipe.mediums[$i1].h - annulus_pipe.mediums[$i1].p / annulus_pipe.mediums[$i1].d ($RES_SIM_71)
(207)     [----] end for;
(208)     [ARRY] (2) circular_pipe.roughnessesFM[:] = circular_pipe.roughnesses ($RES_SIM_110)
(209)     [ARRY] (2) circular_pipe.dimensionsFM[:] = circular_pipe.dimensions ($RES_SIM_111)
(210)     [FOR-] (2) ($RES_SIM_72)
(210)     [----] for $i1 in 1:2 loop
(210)     [----]   [SCAL] (1) annulus_pipe.mediums[$i1].sat.psat = annulus_pipe.mediums[$i1].p ($RES_SIM_73)
(210)     [----] end for;
(211)     [ARRY] (2) circular_pipe.crossAreasFM[:] = circular_pipe.crossAreas ($RES_SIM_112)
(212)     [SCAL] (1) circular_pipe.dheightsFM[1] = 0.0 ($RES_SIM_113)
(213)     [FOR-] (2) ($RES_SIM_74)
(213)     [----] for $i1 in 1:2 loop
(213)     [----]   [SCAL] (1) annulus_pipe.mediums[$i1].sat.Tsat = Modelica.Media.Water.IF97_Utilities.BaseIF97.Basic.tsat(annulus_pipe.mediums[$i1].p) ($RES_SIM_75)
(213)     [----] end for;
(214)     [SCAL] (1) circular_pipe.pathLengths[1] = 100.0 ($RES_SIM_114)
(215)     [SCAL] (1) circular_pipe.Wb_flows[2] = (0.5 * (circular_pipe.mediums[2].p - circular_pipe.mediums[1].p) + 0.5 * circular_pipe.flowModel.dps_fg[1]) * circular_pipe.crossAreas[2] * circular_pipe.vs[2] * circular_pipe.nParallel ($RES_SIM_115)
(216)     [FOR-] (2) ($RES_SIM_76)
(216)     [----] for $i1 in 1:2 loop
(216)     [----]   [SCAL] (1) annulus_pipe.mediums[$i1].T = Modelica.Media.Water.IF97_Utilities.T_props_ph(annulus_pipe.mediums[$i1].p, annulus_pipe.mediums[$i1].h, Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(annulus_pipe.mediums[$i1].p, annulus_pipe.mediums[$i1].h, annulus_pipe.mediums[$i1].phase, 0)) ($RES_SIM_77)
(216)     [----] end for;
(217)     [SCAL] (1) circular_pipe.Wb_flows[1] = (0.5 * (circular_pipe.mediums[2].p - circular_pipe.mediums[1].p) + 0.5 * circular_pipe.flowModel.dps_fg[1]) * circular_pipe.crossAreas[1] * circular_pipe.vs[1] * circular_pipe.nParallel ($RES_SIM_116)
(218)     [SCAL] (1) massflowsink1.medium.h = Modelica.Media.Water.IF97_Utilities.h_pT(99999.99999999999 * massflowsink1.medium.p_bar, massflowsink1.T, 0) ($RES_SIM_190)
(219)     [ARRY] (2) circular_pipe.Qb_flows = circular_pipe.heatTransfer.Q_flows ($RES_SIM_117)
(220)     [FOR-] (2) ($RES_SIM_78)
(220)     [----] for $i1 in 1:2 loop
(220)     [----]   [SCAL] (1) annulus_pipe.mediums[$i1].d = Modelica.Media.Water.IF97_Utilities.rho_props_ph(annulus_pipe.mediums[$i1].p, annulus_pipe.mediums[$i1].h, Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(annulus_pipe.mediums[$i1].p, annulus_pipe.mediums[$i1].h, annulus_pipe.mediums[$i1].phase, 0)) ($RES_SIM_79)
(220)     [----] end for;
(221)     [ARRY] (2) circular_pipe.heatTransfer.Q_flows = circular_pipe.heatTransfer.heatPorts.Q_flow ($RES_SIM_118)
(222)     [ARRY] (2) circular_pipe.heatTransfer.Ts = circular_pipe.heatTransfer.heatPorts.T ($RES_SIM_119)
(223)     [SCAL] (1) massflowsink1.medium.phase = massflowsink1.medium.state.phase ($RES_SIM_199)
(224)     [FOR-] (2) ($RES_EVT_363)
(224)     [----] for $i1 in 1:2 loop
(224)     [----]   [SCAL] (1) $SEV_3[$i1] = annulus_pipe.mediums[$i1].h < Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p(annulus_pipe.mediums.sat.psat, Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.boilingcurve_p(annulus_pipe.mediums.sat.psat)) ($RES_EVT_364)
(224)     [----] end for;
(225)     [FOR-] (2) ($RES_EVT_365)
(225)     [----] for $i1 in 1:2 loop
(225)     [----]   [SCAL] (1) $SEV_4[$i1] = annulus_pipe.mediums[$i1].h > Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.hvl_p(annulus_pipe.mediums.sat.psat, Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.dewcurve_p(annulus_pipe.mediums.sat.psat)) ($RES_EVT_366)
(225)     [----] end for;
(226)     [FOR-] (2) ($RES_EVT_367)
(226)     [----] for $i1 in 1:2 loop
(226)     [----]   [SCAL] (1) $SEV_5[$i1] = $SEV_3[$i1] or $SEV_4[$i1] ($RES_EVT_368)
(226)     [----] end for;
(227)     [FOR-] (2) ($RES_EVT_369)
(227)     [----] for $i1 in 1:2 loop
(227)     [----]   [SCAL] (1) $SEV_6[$i1] = annulus_pipe.mediums[$i1].p > 2.2064e7 ($RES_EVT_370)
(227)     [----] end for;
(228)     [SCAL] (1) massflowsink1.medium.d = massflowsink1.medium.state.d ($RES_SIM_200)
(229)     [SCAL] (1) -((-273.15) - massflowsink1.medium.T_degC) = massflowsink1.medium.state.T ($RES_SIM_201)
(230)     [SCAL] (1) 99999.99999999999 * massflowsink1.medium.p_bar = massflowsink1.medium.state.p ($RES_SIM_202)
(231)     [SCAL] (1) massflowsink1.medium.h = massflowsink1.medium.state.h ($RES_SIM_203)