Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) 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(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 107 kB / 16.42 MB, free: 6.512 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.001134/0.001134, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.241/1.241, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1621/0.1621, allocations: 38 MB / 308.6 MB, free: 6 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.34e-05/1.341e-05, allocations: 2.281 kB / 433.6 MB, free: 14.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.008115/0.008137, allocations: 12.59 MB / 446.2 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005671/0.01382, allocations: 5.402 MB / 451.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002718/0.01411, allocations: 15.88 kB / 451.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005227/0.01464, allocations: 210.7 kB / 451.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00131/0.01596, allocations: 0.6803 MB / 452.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002857/0.01887, allocations: 1.569 MB / 454.1 MB, free: 9.977 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001152/0.02002, allocations: 1.344 MB / 455.4 MB, free: 8.629 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003925/0.02043, allocations: 345.6 kB / 455.8 MB, free: 8.289 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006414/0.02108, allocations: 0.5529 MB / 456.3 MB, free: 7.734 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004934/0.02158, allocations: 446.4 kB / 456.7 MB, free: 7.297 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.157e-05/0.02166, allocations: 40 kB / 456.8 MB, free: 7.258 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001358/0.02303, allocations: 1.061 MB / 457.8 MB, free: 6.195 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0007083/0.02375, allocations: 0.9675 MB / 458.8 MB, free: 5.219 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003621/0.02412, allocations: 0.5903 MB / 459.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.02423, allocations: 91.75 kB / 459.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd: time 6.244e-05/0.0243, allocations: 19.94 kB / 459.5 MB, free: 4.512 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 (67) * Number of variables: 84 (72) Notification: Performance of Bindings: time 0.002128/0.02643, allocations: 2.469 MB / 462 MB, free: 1.922 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0002306/0.02667, allocations: 210.3 kB / 462.2 MB, free: 1.719 MB / 334.1 MB Notification: Performance of Early Inline: time 0.001018/0.02769, allocations: 1.132 MB / 463.3 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of simplify1: time 9.344e-05/0.0278, allocations: 87.88 kB / 463.4 MB, free: 484 kB / 334.1 MB Notification: Performance of Alias: time 0.001348/0.02915, allocations: 1.361 MB / 464.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of simplify2: time 6.73e-05/0.02923, allocations: 67.91 kB / 464.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of Events: time 0.0002334/0.02947, allocations: 190.2 kB / 465 MB, free: 14.72 MB / 350.1 MB Notification: Performance of Detect States: time 0.0002903/0.02977, allocations: 307.2 kB / 465.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0004044/0.03018, allocations: 466.8 kB / 465.8 MB, free: 13.86 MB / 350.1 MB Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (48/60) ************************** (1) [ALGB] (1) final Real[1] pipe1.flowModel.dheights = {pipe1.height_ab} (2) [ALGB] (1) Real[1] pipe1.flowModel.rhos_act (start = {1.0 for $i1 in 1:1}, min = {0.0 for $i1 in 1:1}, max = {1e5 for $i1 in 1:1}, nominal = {1.0 for $i1 in 1:1}) (3) [ALGB] (4) input Real[2, 2] pipe1.flowModel.states.T (start = {288.15 for $i1 in 1:2}, min = {1.0 for $i1 in 1:2}, max = {1e4 for $i1 in 1:2}, nominal = {300.0 for $i1 in 1:2}) (4) [ALGB] (1) flow Real[1] source.ports.m_flow (min = {-1e60}, max = {1e60}) (5) [ALGB] (1) Real $FUN_4 (6) [ALGB] (1) Real $FUN_3 (7) [ALGB] (1) Real pipe1.port_b.p (start = 1e5, min = 0.0, max = 1e8, nominal = 1e5) (8) [ALGB] (1) Real $FUN_2 (9) [ALGB] (2) final Real[2] pipe1.flowModel.roughnesses = {pipe1.roughness, pipe1.roughness} (min = {0.0 for $i1 in 1:2}) (10) [ALGB] (1) Real $FUN_1 (11) [ALGB] (1) stream Real[1] source.ports.h_outflow (min = {-1e10 for $i1 in 1:1}, max = {1e10 for $i1 in 1:1}, nominal = {1e6 for $i1 in 1:1}) (12) [ALGB] (1) Real source.medium.state.p (start = 1e5, min = 0.0, max = 1e8, nominal = 1e5) (13) [ALGB] (2) Real[2] pipe1.flowModel.mus = {ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe1.flowModel.Medium.dynamicViscosity(pipe1.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}) (14) [ALGB] (1) Real[1] pipe1.flowModel.Fs_fg (15) [DISC] (1) protected Real p_table.b (16) [DISC] (1) protected Real p_table.a (17) [ALGB] (1) Real[1] pipe1.flowModel.dps_fg (start = {pipe1.flowModel.p_a_start - pipe1.flowModel.p_b_start for $i1 in 1:1}) (18) [ALGB] (1) stream Real[1] sink.ports.h_outflow (min = {-1e10 for $i1 in 1:1}, max = {1e10 for $i1 in 1:1}, nominal = {1e6 for $i1 in 1:1}) (19) [DISC] (1) protected discrete Real p_table.nextEventScaled (fixed = true, start = 0.0) (20) [ALGB] (1) Real[1] pipe1.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}) (21) [ALGB] (1) flow Real[1] sink.ports.m_flow (min = {-1e60}, max = {1e60}) (22) [ALGB] (1) flow Real pipe1.port_b.m_flow (min = -1e5, max = 1e60) (23) [ALGB] (1) Real[1] pipe1.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) (24) [ALGB] (1) Real[1] source.ports.p (start = {1e5 for $i1 in 1:1}, min = {0.0 for $i1 in 1:1}, max = {1e8 for $i1 in 1:1}, nominal = {1e5 for $i1 in 1:1}) (25) [ALGB] (1) Real[1] pipe1.flowModel.Res_turbulent_internal = pipe1.flowModel.Re_turbulent * {1.0 for $i1 in 1:1} (26) [DISC] (1) protected discrete Real p_table.nextEvent (fixed = true, start = 0.0) (27) [ALGB] (1) Real[1] pipe1.flowModel.Fs_p (28) [ALGB] (4) input Real[2, 2] pipe1.flowModel.states.p (start = {1e5 for $i1 in 1:2}, min = {0.0 for $i1 in 1:2}, max = {1e8 for $i1 in 1:2}, nominal = {1e5 for $i1 in 1:2}) (29) [ALGB] (2) Real[2] pipe1.flowModel.vs = {(-pipe1.port_b.m_flow) / (pipe1.flowModel.crossAreas[1] * ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe1.Medium.density(pipe1.flowModel.states[1])), -pipe1.port_b.m_flow / (ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe1.Medium.density(pipe1.flowModel.states[2]) * pipe1.flowModel.crossAreas[2])} / pipe1.nParallel (30) [ALGB] (2) Real[2] pipe1.flowModel.rhos = {ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe1.flowModel.Medium.density(pipe1.flowModel.states[$i1]) for $i1 in 1:2} (start = {1.0 for $i1 in 1:2}, min = {0.0 for $i1 in 1:2}, max = {1e5 for $i1 in 1:2}, nominal = {1.0 for $i1 in 1:2}) (31) [ALGB] (1) Real[1] sink.ports.p (start = {1e5 for $i1 in 1:1}, min = {0.0 for $i1 in 1:1}, max = {1e8 for $i1 in 1:1}, nominal = {1e5 for $i1 in 1:1}) (32) [ALGB] (1) Real source.medium.p_bar = Modelica.SIunits.Conversions.to_bar(99999.99999999999 * source.medium.p_bar) (33) [ALGB] (1) protected Real pipe1.flowModel.dp_fric_nominal = sum({ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe1.flowModel.WallFriction.pressureLoss_m_flow(pipe1.flowModel.m_flow_nominal / pipe1.flowModel.nParallel, pipe1.flowModel.rho_nominal, pipe1.flowModel.rho_nominal, pipe1.flowModel.mu_nominal, pipe1.flowModel.mu_nominal, pipe1.flowModel.pathLengths_internal[1], pipe1.flowModel.diameters[1], ((pipe1.flowModel.crossAreas[2:2] + pipe1.flowModel.crossAreas[1:1]) / 2.0)[1], ((pipe1.flowModel.roughnesses[2:2] + pipe1.flowModel.roughnesses[1:1]) / 2.0)[1], pipe1.flowModel.m_flow_small / pipe1.flowModel.nParallel, pipe1.flowModel.Res_turbulent_internal[1])}) (min = 0.0, nominal = 1e5) (34) [ALGB] (2) final Real[2] pipe1.flowModel.crossAreas = {pipe1.crossArea, pipe1.crossArea} (35) [ALGB] (1) final Real[1] pipe1.flowModel.pathLengths = {pipe1.length} (36) [DISC] (1) Boolean $TEV_0 (37) [ALGB] (1) Real[1] pipe1.flowModel.Ib_flows (38) [ALGB] (1) protected Real[1] pipe1.flowModel.diameters = 0.5 * (pipe1.flowModel.dimensions[2:2] + pipe1.flowModel.dimensions[1:1]) (39) [ALGB] (1) Real[1] pipe1.flowModel.pathLengths_internal = pipe1.flowModel.pathLengths (40) [ALGB] (2) final Real[2] pipe1.flowModel.dimensions = {(4.0 * pipe1.crossArea) / pipe1.perimeter, (4.0 * pipe1.crossArea) / pipe1.perimeter} (41) [ALGB] (1) Real pipe1.port_a.p (start = 1e5, min = 0.0, max = 1e8, nominal = 1e5) (42) [DISC] (1) Boolean $SEV_11 (43) [DISC] (1) protected Integer p_table.last (start = 1) (44) [ALGB] (1) stream Real pipe1.port_a.h_outflow (min = -1e10, max = 1e10, nominal = 1e6) (45) [ALGB] (1) Real[1] pipe1.flowModel.Is (46) [ALGB] (1) stream Real pipe1.port_b.h_outflow (min = -1e10, max = 1e10, nominal = 1e6) (47) [ALGB] (1) Real $FUN_6 (48) [DISC] (1) Integer $FUN_5 System Equations (40/56) ************************** (1) [SCAL] (1) $TEV_0 = $PRE.p_table.nextEvent ($RES_EVT_90) (2) [SCAL] (1) source.medium.state.p = 99999.99999999999 * source.medium.p_bar ($RES_SIM_14) (3) [ARRY] (1) pipe1.flowModel.Is = {pipe1.flowModel.m_flows[1] * pipe1.flowModel.pathLengths[1]} ($RES_SIM_50) (4) [SCAL] (1) $SEV_11 = pipe1.flowModel.m_flows[1] > 0.0 ($RES_EVT_98) (5) [ARRY] (1) pipe1.flowModel.dps_fg = {(2.0 * (pipe1.flowModel.Fs_fg[1] / pipe1.flowModel.nParallel)) / (pipe1.flowModel.crossAreas[1] + pipe1.flowModel.crossAreas[2])} ($RES_SIM_51) (6) [ARRY] (1) pipe1.flowModel.Fs_p = pipe1.flowModel.nParallel * {0.5 * (pipe1.flowModel.crossAreas[1] + pipe1.flowModel.crossAreas[2]) * (pipe1.flowModel.states.T - pipe1.flowModel.states.T)} ($RES_SIM_52) (7) [ARRY] (1) pipe1.flowModel.Ib_flows = {0.0} ($RES_SIM_53) (8) [SCAL] (1) pipe1.flowModel.rhos_act[1] = noEvent(if $SEV_11 then pipe1.flowModel.rhos[1] else pipe1.flowModel.rhos[2]) ($RES_SIM_54) (9) [SCAL] (1) pipe1.flowModel.mus_act[1] = noEvent(if $SEV_11 then pipe1.flowModel.mus[1] else pipe1.flowModel.mus[2]) ($RES_SIM_55) (10) [ARRY] (1) pipe1.flowModel.m_flows = {homotopy(({$FUN_1} .* pipe1.flowModel.nParallel)[1], (pipe1.flowModel.m_flow_nominal / pipe1.flowModel.dp_nominal * (pipe1.flowModel.dps_fg - (pipe1.flowModel.g * pipe1.flowModel.dheights) .* pipe1.flowModel.rho_nominal))[1])} ($RES_SIM_56) (11) [SCAL] (1) pipe1.port_b.m_flow + sink.ports[1].m_flow = 0.0 ($RES_SIM_57) (12) [ARRY] (2) pipe1.flowModel.vs = {-(0.0010044335697769957 * pipe1.port_b.m_flow) / pipe1.flowModel.crossAreas[1], -(0.0010044335697769957 * pipe1.port_b.m_flow) / pipe1.flowModel.crossAreas[2]} / pipe1.nParallel ($RES_BND_63) (13) [ARRY] (2) pipe1.flowModel.crossAreas = {pipe1.crossArea, pipe1.crossArea} ($RES_BND_64) (14) [SCAL] (1) source.ports[1].m_flow - pipe1.port_b.m_flow = 0.0 ($RES_SIM_59) (15) [ARRY] (2) pipe1.flowModel.dimensions = {(4.0 * pipe1.crossArea) / pipe1.perimeter, (4.0 * pipe1.crossArea) / pipe1.perimeter} ($RES_BND_65) (16) [ARRY] (2) pipe1.flowModel.roughnesses = {pipe1.roughness, pipe1.roughness} ($RES_BND_66) (17) [ARRY] (4) pipe1.flowModel.states = {ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe1.Medium.ThermodynamicState(pipe1.port_a.p, 273.15 + 2.390057361376673e-4 * source.ports[1].h_outflow), ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe1.Medium.ThermodynamicState(pipe1.port_b.p, 273.15 + 2.390057361376673e-4 * sink.ports[1].h_outflow)} ($RES_BND_81) (18) [ARRY] (1) pipe1.flowModel.dheights = {pipe1.height_ab} ($RES_BND_67) (19) [ARRY] (1) pipe1.flowModel.pathLengths = {pipe1.length} ($RES_BND_68) (20) [FOR-] (2) ($RES_BND_69) (20) [----] for $i1 in 1:2 loop (20) [----] [SCAL] (1) pipe1.flowModel.rhos[$i1] = 995.586 ($RES_BND_70) (20) [----] end for; (21) [SCAL] (1) 99999.99999999999 * source.medium.p_bar = p_table.a * time + p_table.b ($RES_SIM_22) (22) [SCAL] (1) sink.ports[1].p = sink.p ($RES_SIM_24) (23) [SCAL] (1) sink.ports[1].h_outflow = 4184.0 * ((-273.15) + sink.T) ($RES_SIM_25) (24) [SCAL] (1) pipe1.flowModel.dp_fric_nominal = sum({$FUN_6}) ($RES_$AUX_82) (25) [SCAL] (1) $FUN_6 = ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe1.flowModel.WallFriction.pressureLoss_m_flow(pipe1.flowModel.m_flow_nominal / pipe1.flowModel.nParallel, pipe1.flowModel.rho_nominal, pipe1.flowModel.rho_nominal, pipe1.flowModel.mu_nominal, pipe1.flowModel.mu_nominal, pipe1.flowModel.pathLengths_internal[1], pipe1.flowModel.diameters[1], (0.5 .* (pipe1.flowModel.crossAreas[2:2] + pipe1.flowModel.crossAreas[1:1]))[1], (0.5 .* (pipe1.flowModel.roughnesses[2:2] + pipe1.flowModel.roughnesses[1:1]))[1], pipe1.flowModel.m_flow_small / pipe1.flowModel.nParallel, pipe1.flowModel.Res_turbulent_internal[1]) ($RES_$AUX_83) (26) [TUPL] (4) ($FUN_2, $FUN_3, $FUN_4, $FUN_5) = ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.p_table.getInterpolationCoefficients(p_table.table, p_table.offset, p_table.startTime, time, p_table.last, 1e-13, p_table.shiftTime) ($RES_$AUX_84) (27) [SCAL] (1) $FUN_1 = ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe1.flowModel.WallFriction.massFlowRate_dp_staticHead(pipe1.flowModel.dps_fg[1], pipe1.flowModel.rhos[1], pipe1.flowModel.rhos[2], pipe1.flowModel.mus[1], pipe1.flowModel.mus[2], pipe1.flowModel.pathLengths_internal[1], pipe1.flowModel.diameters[1], (pipe1.flowModel.g * pipe1.flowModel.dheights)[1], (0.5 .* (pipe1.flowModel.crossAreas[1:1] + pipe1.flowModel.crossAreas[2:2]))[1], (0.5 .* (pipe1.flowModel.roughnesses[1:1] + pipe1.flowModel.roughnesses[2:2]))[1], pipe1.flowModel.dp_small, pipe1.flowModel.Res_turbulent_internal[1]) ($RES_$AUX_85) (28) [SCAL] (1) source.ports[1].p = pipe1.port_a.p ($RES_SIM_60) (29) [SCAL] (1) pipe1.port_a.h_outflow = sink.ports[1].h_outflow + system.g * pipe1.height_ab ($RES_SIM_45) (30) [SCAL] (1) pipe1.port_b.p = sink.ports[1].p ($RES_SIM_61) (31) [SCAL] (1) pipe1.port_b.h_outflow = source.ports[1].h_outflow - system.g * pipe1.height_ab ($RES_SIM_46) (32) [SCAL] (1) -pipe1.port_b.m_flow = pipe1.flowModel.m_flows[1] ($RES_SIM_48) (33) [ARRY] (1) {0.0} = pipe1.flowModel.Ib_flows - (pipe1.flowModel.Fs_fg + pipe1.flowModel.Fs_p) ($RES_SIM_49) (34) [FOR-] (2) ($RES_BND_71) (34) [----] for $i1 in 1:2 loop (34) [----] [SCAL] (1) pipe1.flowModel.mus[$i1] = 0.001 ($RES_BND_72) (34) [----] end for; (35) [ARRY] (1) pipe1.flowModel.pathLengths_internal = pipe1.flowModel.pathLengths ($RES_BND_73) (36) [SCAL] (1) pipe1.flowModel.Res_turbulent_internal[1] = pipe1.flowModel.Re_turbulent ($RES_BND_74) (37) [SCAL] (1) source.ports[1].h_outflow = 4184.0 * ((-273.15) + source.T) ($RES_SIM_4) (38) [ARRY] (1) pipe1.flowModel.diameters = 0.5 * (pipe1.flowModel.dimensions[2:2] + pipe1.flowModel.dimensions[1:1]) ($RES_BND_75) (39) [SCAL] (1) source.ports[1].p = 99999.99999999999 * source.medium.p_bar ($RES_SIM_3) (40) [ALGO] (5) ($RES_SIM_2) (40) [----] assert(not (p_table.table[1, 1] > 0.0 or p_table.table[1, 1] < 0.0), "The first point in time has to be set to 0, but is table[1,1] = " + String(p_table.table[1, 1], 6, 0, true), AssertionLevel.error); (40) [----] when {time >= $PRE.p_table.nextEvent, initial()} then (40) [----] (p_table.a, p_table.b, p_table.nextEventScaled, p_table.last) := ($FUN_2, $FUN_3, $FUN_4, $FUN_5); (40) [----] p_table.nextEvent := p_table.nextEventScaled; (40) [----] end when;