Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001215/0.001215, allocations: 105.9 kB / 16.42 MB, free: 6.516 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.001138/0.001139, allocations: 188.3 kB / 17.35 MB, free: 5.73 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.237/1.237, 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.2+maint.om/package.mo): time 0.1808/0.1808, allocations: 39.96 MB / 310.5 MB, free: 4.023 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074e-05/1.075e-05, allocations: 2.5 kB / 436.4 MB, free: 11.79 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.001994/0.002013, allocations: 1.917 MB / 438.3 MB, free: 9.852 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.003494, allocations: 1.122 MB / 439.5 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.097e-05/0.003575, allocations: 0 / 439.5 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002641/0.003846, allocations: 55.67 kB / 439.5 MB, free: 8.668 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.00401, allocations: 63.59 kB / 439.6 MB, free: 8.605 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003684/0.004394, allocations: 163.3 kB / 439.7 MB, free: 8.445 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000193/0.004597, allocations: 203.2 kB / 439.9 MB, free: 8.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.984e-05/0.004654, allocations: 9.125 kB / 439.9 MB, free: 8.238 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.004771, allocations: 83.67 kB / 440 MB, free: 8.156 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.004885, allocations: 99.58 kB / 440.1 MB, free: 8.059 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.004909, allocations: 8 kB / 440.1 MB, free: 8.051 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002691/0.005183, allocations: 239.6 kB / 440.4 MB, free: 7.816 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001421/0.005332, allocations: 241.6 kB / 440.6 MB, free: 7.578 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 7.121e-05/0.005409, allocations: 169.9 kB / 440.8 MB, free: 7.41 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.308e-05/0.005436, allocations: 15.94 kB / 440.8 MB, free: 7.395 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.366e-05/0.005454, allocations: 7.938 kB / 440.8 MB, free: 7.387 MB / 318.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.000679/0.006137, allocations: 0.9457 MB / 441.7 MB, free: 6.336 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001165/0.00626, allocations: 91.48 kB / 441.8 MB, free: 6.25 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0002626/0.00653, allocations: 435.8 kB / 442.2 MB, free: 5.797 MB / 318.1 MB Notification: Performance of simplify1: time 2.282e-05/0.006559, allocations: 23.97 kB / 442.3 MB, free: 5.773 MB / 318.1 MB Notification: Performance of Alias: time 0.0002934/0.006857, allocations: 286.5 kB / 442.5 MB, free: 5.445 MB / 318.1 MB Notification: Performance of simplify2: time 1.818e-05/0.006883, allocations: 23.97 kB / 442.6 MB, free: 5.422 MB / 318.1 MB Notification: Performance of Events: time 8.664e-05/0.006974, allocations: 83.77 kB / 442.7 MB, free: 5.34 MB / 318.1 MB Notification: Performance of Detect States: time 9.439e-05/0.007074, allocations: 117.7 kB / 442.8 MB, free: 5.211 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001371/0.007218, allocations: 165.7 kB / 442.9 MB, free: 5.027 MB / 318.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)