Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|velocity.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_2.1.|Re_2.2.|Re_2.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|velocity.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_2.1.|Re_2.2.|Re_2.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 106.3 kB / 18.46 MB, free: 4.59 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.001063/0.001063, allocations: 188.2 kB / 19.39 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 243.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1971/0.1971, allocations: 44.19 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.798e-05/1.799e-05, allocations: 2.281 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.002961/0.002987, allocations: 1.898 MB / 473.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00196/0.004961, allocations: 1.086 MB / 474.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.005089, allocations: 4 kB / 474.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000304/0.0054, allocations: 43.75 kB / 474.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002172/0.005626, allocations: 63.59 kB / 474.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006799/0.006326, allocations: 163.3 kB / 474.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004108/0.006746, allocations: 199.3 kB / 474.6 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.663e-05/0.006813, allocations: 16.97 kB / 474.6 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002088/0.007028, allocations: 95.59 kB / 474.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.007178, allocations: 87.72 kB / 474.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.00721, allocations: 8 kB / 474.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003938/0.007609, allocations: 239.6 kB / 475.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0002363/0.007855, allocations: 253.4 kB / 475.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001254/0.007986, allocations: 166 kB / 475.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.631e-05/0.008029, allocations: 15.94 kB / 475.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.399e-05/0.008058, allocations: 4 kB / 475.5 MB, free: 8.863 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 (17) * Number of variables: 98 (18) Notification: Performance of Bindings: time 0.001028/0.009091, allocations: 0.9379 MB / 476.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0002219/0.009319, allocations: 114.5 kB / 476.5 MB, free: 7.711 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0004511/0.009778, allocations: 419.9 kB / 477 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simplify1: time 3.522e-05/0.009823, allocations: 19.97 kB / 477 MB, free: 7.254 MB / 350.1 MB Notification: Performance of Alias: time 0.0004856/0.01031, allocations: 294.4 kB / 477.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of simplify2: time 3.783e-05/0.01036, allocations: 19.97 kB / 477.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of Events: time 0.0001315/0.0105, allocations: 83.78 kB / 477.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of Detect States: time 0.0001423/0.01065, allocations: 124 kB / 477.5 MB, free: 6.68 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0002044/0.01087, allocations: 170.2 kB / 477.7 MB, free: 6.492 MB / 350.1 MB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency mflow_test could not be divided by the body size 3 without rest. Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (3) m_flow = {(mflow_test * eta[1]) / eta[3], (mflow_test * eta[2]) / eta[3], mflow_test} ($RES_BND_8) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (21/111) *************************** (1) [ALGB] (9) Real[3, 3] m_flow_IN_con_2.s = {s for $m_flow_IN_con_21 in 1:3} (2) [ALGB] (3) Real[3] Nu_2 (3) [ALGB] (3) Real[3] Re_2 (4) [ALGB] (9) Real[3, 3] m_flow_IN_var_2.m_flow = {m_flow[$m_flow_IN_var_21] for $m_flow_IN_var_21 in 1:3} (5) [ALGB] (9) Real[3, 3] m_flow_IN_var_2.lambda = {lambda[$m_flow_IN_var_21] for $m_flow_IN_var_21 in 1:3} (6) [ALGB] (3) Real[3] $FUN_9 (7) [ALGB] (3) Real[3] $FUN_8 (8) [DISC] (9) final enumeration Modelica.Fluid.Dissipation.Utilities.Types.kc_evenGap(DevOne, DevBoth, UndevOne, UndevBoth)[3, 3] m_flow_IN_con_2.target = {Modelica.Fluid.Dissipation.Utilities.Types.kc_evenGap.DevBoth for $i1 in 1:3} (9) [ALGB] (3) Real[3] $FUN_7 (10) [ALGB] (3) Real[3] $FUN_6 (11) [ALGB] (9) Real[3, 3] m_flow_IN_var_2.cp = {cp[$m_flow_IN_var_21] for $m_flow_IN_var_21 in 1:3} (12) [ALGB] (3) Real[3] $FUN_5 (13) [ALGB] (3) Real[3] m_flow = {(mflow_test * eta[1]) / eta[3], (mflow_test * eta[2]) / eta[3], mflow_test} (14) [ALGB] (9) Real[3, 3] m_flow_IN_con_2.h = {h for $m_flow_IN_con_21 in 1:3} (15) [ALGB] (9) Real[3, 3] m_flow_IN_con_2.L = {L for $m_flow_IN_con_21 in 1:3} (16) [ALGB] (9) Real[3, 3] m_flow_IN_var_2.rho = {rho[$m_flow_IN_var_21] for $m_flow_IN_var_21 in 1:3} (min = {0.0 for $i1 in 1:3}) (17) [ALGB] (1) protected Real mflow_test = mflow_test (18) [ALGB] (9) Real[3, 3] m_flow_IN_var_2.eta = {eta[$m_flow_IN_var_21] for $m_flow_IN_var_21 in 1:3} (min = {0.0 for $i1 in 1:3}) (19) [DISC] (1) Boolean $TEV_4 (20) [DISC] (1) Boolean $TEV_3 (21) [ALGB] (3) Real[3] velocity = {m_flow[i] / (s * rho[i] * h) for i in 1:3} System Equations (17/57) ************************** (1) [FOR-] (3) ($RES_BND_9) (1) [----] for $i1 in 1:3 loop (1) [----] [SCAL] (1) m_flow_IN_con_2[$i1].target = Modelica.Fluid.Dissipation.Utilities.Types.kc_evenGap.DevBoth ($RES_BND_10) (1) [----] end for; (2) [ARRY] (3) m_flow = {(mflow_test * eta[1]) / eta[3], (mflow_test * eta[2]) / eta[3], mflow_test} ($RES_BND_8) (3) [FOR-] (3) ($RES_$AUX_34) (3) [----] for $i1 in 1:3 loop (3) [----] [SCAL] (1) Re_2[$i1] = $FUN_7[$i1] ($RES_$AUX_35) (3) [----] end for; (4) [FOR-] (3) ($RES_BND_6) (4) [----] for $i1 in 1:3 loop (4) [----] [SCAL] (1) velocity[$i1] = m_flow[$i1] / (s * rho[$i1] * h) ($RES_BND_7) (4) [----] end for; (5) [FOR-] (15) ($RES_$AUX_28) (5) [----] for $i1 in 1:3 loop (5) [----] [TUPL] (5) ($FUN_5[$i1], $FUN_6[$i1], $FUN_7[$i1], $FUN_8[$i1], $FUN_9[$i1]) = Modelica.Fluid.Dissipation.HeatTransfer.Channel.kc_evenGapTurbulent(m_flow_IN_con_2[$i1], m_flow_IN_var_2[$i1]) ($RES_$AUX_29) (5) [----] end for; (6) [SCAL] (1) mflow_test = input_mflow_0.offset + (if $TEV_3 then 0.0 else if $TEV_4 then (input_mflow_0.height * (time - input_mflow_0.startTime)) / input_mflow_0.duration else input_mflow_0.height) ($RES_SIM_5) (7) [FOR-] (3) ($RES_BND_11) (7) [----] for $i1 in 1:3 loop (7) [----] [SCAL] (1) m_flow_IN_con_2[$i1].h = h ($RES_BND_12) (7) [----] end for; (8) [FOR-] (3) ($RES_$AUX_36) (8) [----] for $i1 in 1:3 loop (8) [----] [SCAL] (1) Nu_2[$i1] = $FUN_8[$i1] ($RES_$AUX_37) (8) [----] end for; (9) [FOR-] (3) ($RES_BND_13) (9) [----] for $i1 in 1:3 loop (9) [----] [SCAL] (1) m_flow_IN_con_2[$i1].s = s ($RES_BND_14) (9) [----] end for; (10) [FOR-] (3) ($RES_BND_15) (10) [----] for $i1 in 1:3 loop (10) [----] [SCAL] (1) m_flow_IN_con_2[$i1].L = L ($RES_BND_16) (10) [----] end for; (11) [FOR-] (3) ($RES_BND_21) (11) [----] for $i1 in 1:3 loop (11) [----] [SCAL] (1) m_flow_IN_var_2[$i1].lambda = lambda[$i1] ($RES_BND_22) (11) [----] end for; (12) [FOR-] (3) ($RES_BND_23) (12) [----] for $i1 in 1:3 loop (12) [----] [SCAL] (1) m_flow_IN_var_2[$i1].rho = rho[$i1] ($RES_BND_24) (12) [----] end for; (13) [FOR-] (3) ($RES_BND_17) (13) [----] for $i1 in 1:3 loop (13) [----] [SCAL] (1) m_flow_IN_var_2[$i1].cp = cp[$i1] ($RES_BND_18) (13) [----] end for; (14) [FOR-] (3) ($RES_BND_25) (14) [----] for $i1 in 1:3 loop (14) [----] [SCAL] (1) m_flow_IN_var_2[$i1].m_flow = m_flow[$i1] ($RES_BND_26) (14) [----] end for; (15) [FOR-] (3) ($RES_BND_19) (15) [----] for $i1 in 1:3 loop (15) [----] [SCAL] (1) m_flow_IN_var_2[$i1].eta = eta[$i1] ($RES_BND_20) (15) [----] end for; (16) [SCAL] (1) $TEV_3 = time < input_mflow_0.startTime ($RES_EVT_41) (17) [SCAL] (1) $TEV_4 = time < (input_mflow_0.startTime + input_mflow_0.duration) ($RES_EVT_42)