Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1_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.001166/0.001166, allocations: 105.8 kB / 16.42 MB, free: 6.461 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.001119/0.001119, allocations: 189.9 kB / 17.36 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.213/1.213, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.1679/0.1679, allocations: 38 MB / 308.6 MB, free: 6.004 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.28e-05/1.281e-05, allocations: 2.281 kB / 433.6 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.001995/0.002016, allocations: 1.897 MB / 435.5 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.003185, allocations: 1.13 MB / 436.7 MB, free: 11.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.247e-05/0.003248, allocations: 0 / 436.7 MB, free: 11.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001935/0.003447, allocations: 47.69 kB / 436.7 MB, free: 11.39 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.003579, allocations: 59.66 kB / 436.8 MB, free: 11.33 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003386/0.003935, allocations: 163.3 kB / 436.9 MB, free: 11.17 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.004132, allocations: 203.3 kB / 437.1 MB, free: 10.97 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.743e-05/0.004177, allocations: 5.125 kB / 437.1 MB, free: 10.96 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.00429, allocations: 95.59 kB / 437.2 MB, free: 10.87 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.004401, allocations: 91.66 kB / 437.3 MB, free: 10.78 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.004423, allocations: 4 kB / 437.3 MB, free: 10.78 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002561/0.004684, allocations: 239.6 kB / 437.6 MB, free: 10.54 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001334/0.004825, allocations: 257.5 kB / 437.8 MB, free: 10.29 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 6.214e-05/0.004893, allocations: 162 kB / 438 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.218e-05/0.00492, allocations: 15.94 kB / 438 MB, free: 10.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.187e-05/0.004936, allocations: 0 / 438 MB, free: 10.11 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.0006489/0.00559, allocations: 0.9496 MB / 438.9 MB, free: 9.059 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001143/0.005711, allocations: 115.2 kB / 439 MB, free: 8.949 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0002603/0.005979, allocations: 423.9 kB / 439.5 MB, free: 8.508 MB / 318.1 MB Notification: Performance of simplify1: time 2.165e-05/0.006007, allocations: 23.95 kB / 439.5 MB, free: 8.484 MB / 318.1 MB Notification: Performance of Alias: time 0.0002844/0.006296, allocations: 282.5 kB / 439.8 MB, free: 8.16 MB / 318.1 MB Notification: Performance of simplify2: time 1.916e-05/0.006324, allocations: 31.95 kB / 439.8 MB, free: 8.129 MB / 318.1 MB Notification: Performance of Events: time 8.082e-05/0.00641, allocations: 83.72 kB / 439.9 MB, free: 8.047 MB / 318.1 MB Notification: Performance of Detect States: time 8.826e-05/0.006505, allocations: 117.9 kB / 440 MB, free: 7.918 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001297/0.00664, allocations: 165.7 kB / 440.2 MB, free: 7.734 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)