Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 107 kB / 16.42 MB, free: 6.523 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.001099/0.001099, allocations: 186 kB / 17.35 MB, free: 5.727 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.184/1.184, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.1607/0.1607, allocations: 38 MB / 308.6 MB, free: 5.992 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005e-05/1.006e-05, allocations: 5.516 kB / 433.6 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.001939/0.001957, allocations: 2.011 MB / 435.7 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.003125, allocations: 1.119 MB / 436.8 MB, free: 11.31 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.929e-05/0.003195, allocations: 0 / 436.8 MB, free: 11.31 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001914/0.003393, allocations: 59.61 kB / 436.8 MB, free: 11.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.003533, allocations: 71.52 kB / 436.9 MB, free: 11.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003659/0.00391, allocations: 167.4 kB / 437.1 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002133/0.004133, allocations: 255.1 kB / 437.3 MB, free: 10.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.802e-05/0.004178, allocations: 13.11 kB / 437.3 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.004306, allocations: 123.6 kB / 437.4 MB, free: 10.63 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.004431, allocations: 123.6 kB / 437.6 MB, free: 10.51 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.004453, allocations: 8 kB / 437.6 MB, free: 10.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002375/0.004696, allocations: 203.6 kB / 437.8 MB, free: 10.3 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001765/0.00488, allocations: 320.9 kB / 438.1 MB, free: 9.988 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 8.955e-05/0.004976, allocations: 225.4 kB / 438.3 MB, free: 9.766 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.764e-05/0.005008, allocations: 19.94 kB / 438.3 MB, free: 9.746 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.244e-05/0.005025, allocations: 0 / 438.3 MB, free: 9.746 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: 95 (27) * Number of variables: 182 (28) Notification: Performance of Bindings: time 0.0008537/0.005883, allocations: 1.335 MB / 439.7 MB, free: 8.301 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001535/0.006043, allocations: 167.5 kB / 439.8 MB, free: 8.141 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0003669/0.006417, allocations: 0.6004 MB / 440.4 MB, free: 7.512 MB / 318.1 MB Notification: Performance of simplify1: time 2.985e-05/0.006453, allocations: 19.97 kB / 440.4 MB, free: 7.492 MB / 318.1 MB Notification: Performance of Alias: time 0.000119/0.006577, allocations: 165.7 kB / 440.6 MB, free: 7.293 MB / 318.1 MB Notification: Performance of simplify2: time 1.466e-05/0.006598, allocations: 23.97 kB / 440.6 MB, free: 7.27 MB / 318.1 MB Notification: Performance of Events: time 9.93e-05/0.006702, allocations: 107.7 kB / 440.7 MB, free: 7.164 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001183/0.006826, allocations: 160.1 kB / 440.9 MB, free: 6.996 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001904/0.007022, allocations: 238.9 kB / 441.1 MB, free: 6.73 MB / 318.1 MB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency input_mflow_0.y could not be divided by the body size 3 without rest. Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (3) m_flow = {(input_mflow_0.y * eta[1]) / eta[3], (input_mflow_0.y * eta[2]) / eta[3], input_mflow_0.y} ($RES_BND_8) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (36/208) *************************** (1) [ALGB] (9) Real[3, 3] m_flow_IN_var_1.lambda = {lambda[$m_flow_IN_var_11] for $m_flow_IN_var_11 in 1:3} (2) [ALGB] (9) Real[3, 3] m_flow_IN_var_1.m_flow = {m_flow[$m_flow_IN_var_11] for $m_flow_IN_var_11 in 1:3} (3) [ALGB] (9) Real[3, 3] m_flow_IN_con_2.K = {0.0 for $i1 in 1:3} (4) [ALGB] (9) Real[3, 3] m_flow_IN_con_2.L = {L for $m_flow_IN_con_21 in 1:3} (5) [ALGB] (9) Real[3, 3] m_flow_IN_var_1.rho = {rho[$m_flow_IN_var_11] for $m_flow_IN_var_11 in 1:3} (min = {0.0 for $i1 in 1:3}) (6) [ALGB] (3) Real[3] $FUN_14 (7) [ALGB] (9) Real[3, 3] m_flow_IN_con_1.K = {0.0 for $i1 in 1:3} (8) [ALGB] (3) Real[3] $FUN_13 (9) [ALGB] (9) Real[3, 3] m_flow_IN_con_1.L = {L for $m_flow_IN_con_11 in 1:3} (10) [ALGB] (3) Real[3] $FUN_12 (11) [ALGB] (3) Real[3] $FUN_11 (12) [ALGB] (3) Real[3] $FUN_10 (13) [ALGB] (9) Real[3, 3] m_flow_IN_var_1.eta = {eta[$m_flow_IN_var_11] for $m_flow_IN_var_11 in 1:3} (min = {0.0 for $i1 in 1:3}) (14) [ALGB] (3) Real[3] m_flow = {(input_mflow_0.y * eta[1]) / eta[3], (input_mflow_0.y * eta[2]) / eta[3], input_mflow_0.y} (15) [DISC] (9) enumeration Modelica.Fluid.Dissipation.Utilities.Types.Roughness(Neglected, Considered)[3, 3] m_flow_IN_con_2.roughness = {Modelica.Fluid.Dissipation.Utilities.Types.Roughness.Considered for $i1 in 1:3} (16) [DISC] (9) enumeration Modelica.Fluid.Dissipation.Utilities.Types.Roughness(Neglected, Considered)[3, 3] m_flow_IN_con_1.roughness = {Modelica.Fluid.Dissipation.Utilities.Types.Roughness.Neglected for $i1 in 1:3} (17) [ALGB] (3) Real[3] Nu_2 (18) [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}) (19) [ALGB] (3) Real[3] Nu_1 (20) [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} (21) [ALGB] (9) Real[3, 3] m_flow_IN_con_1.d_hyd = {d_hyd for $m_flow_IN_con_11 in 1:3} (min = {0.0 for $i1 in 1:3}) (22) [ALGB] (3) Real[3] Re_1 (23) [DISC] (1) Boolean $TEV_4 (24) [ALGB] (9) Real[3, 3] m_flow_IN_con_2.d_hyd = {d_hyd for $m_flow_IN_con_21 in 1:3} (min = {0.0 for $i1 in 1:3}) (25) [DISC] (1) Boolean $TEV_3 (26) [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} (27) [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}) (28) [ALGB] (9) Real[3, 3] m_flow_IN_var_1.cp = {cp[$m_flow_IN_var_11] for $m_flow_IN_var_11 in 1:3} (29) [ALGB] (1) protected Real Re = Re_1[1] (30) [ALGB] (1) Real input_mflow_0.y (31) [ALGB] (3) Real[3] $FUN_9 (32) [ALGB] (3) Real[3] $FUN_8 (33) [ALGB] (3) Real[3] $FUN_7 (34) [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} (35) [ALGB] (3) Real[3] $FUN_6 (36) [ALGB] (3) Real[3] $FUN_5 System Equations (28/100) *************************** (1) [FOR-] (3) ($RES_BND_43) (1) [----] for $i1 in 1:3 loop (1) [----] [SCAL] (1) m_flow_IN_var_2[$i1].m_flow = m_flow[$i1] ($RES_BND_44) (1) [----] end for; (2) [FOR-] (3) ($RES_BND_37) (2) [----] for $i1 in 1:3 loop (2) [----] [SCAL] (1) m_flow_IN_var_2[$i1].eta = eta[$i1] ($RES_BND_38) (2) [----] end for; (3) [SCAL] (1) Re = Re_1[1] ($RES_BND_45) (4) [FOR-] (3) ($RES_BND_39) (4) [----] for $i1 in 1:3 loop (4) [----] [SCAL] (1) m_flow_IN_var_2[$i1].lambda = lambda[$i1] ($RES_BND_40) (4) [----] end for; (5) [SCAL] (1) $TEV_3 = time < input_mflow_0.startTime ($RES_EVT_65) (6) [SCAL] (1) $TEV_4 = time < (input_mflow_0.startTime + input_mflow_0.duration) ($RES_EVT_66) (7) [FOR-] (3) ($RES_BND_9) (7) [----] for $i1 in 1:3 loop (7) [----] [SCAL] (1) m_flow_IN_con_1[$i1].d_hyd = d_hyd ($RES_BND_10) (7) [----] end for; (8) [ARRY] (3) m_flow = {(input_mflow_0.y * eta[1]) / eta[3], (input_mflow_0.y * eta[2]) / eta[3], input_mflow_0.y} ($RES_BND_8) (9) [SCAL] (1) input_mflow_0.y = 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_7) (10) [FOR-] (3) ($RES_BND_11) (10) [----] for $i1 in 1:3 loop (10) [----] [SCAL] (1) m_flow_IN_con_1[$i1].L = L ($RES_BND_12) (10) [----] end for; (11) [FOR-] (3) ($RES_BND_13) (11) [----] for $i1 in 1:3 loop (11) [----] [SCAL] (1) m_flow_IN_con_1[$i1].roughness = Modelica.Fluid.Dissipation.Utilities.Types.Roughness.Neglected ($RES_BND_14) (11) [----] end for; (12) [FOR-] (15) ($RES_$AUX_50) (12) [----] for $i1 in 1:3 loop (12) [----] [TUPL] (5) ($FUN_5[$i1], $FUN_6[$i1], $FUN_7[$i1], $FUN_8[$i1], $FUN_9[$i1]) = Modelica.Fluid.Dissipation.HeatTransfer.StraightPipe.kc_turbulent(m_flow_IN_con_1[$i1], m_flow_IN_var_1[$i1]) ($RES_$AUX_51) (12) [----] end for; (13) [FOR-] (3) ($RES_BND_21) (13) [----] for $i1 in 1:3 loop (13) [----] [SCAL] (1) m_flow_IN_var_1[$i1].lambda = lambda[$i1] ($RES_BND_22) (13) [----] end for; (14) [FOR-] (3) ($RES_BND_15) (14) [----] for $i1 in 1:3 loop (14) [----] [SCAL] (1) m_flow_IN_con_1[$i1].K = 0.0 ($RES_BND_16) (14) [----] end for; (15) [FOR-] (3) ($RES_BND_23) (15) [----] for $i1 in 1:3 loop (15) [----] [SCAL] (1) m_flow_IN_var_1[$i1].rho = rho[$i1] ($RES_BND_24) (15) [----] end for; (16) [FOR-] (3) ($RES_BND_17) (16) [----] for $i1 in 1:3 loop (16) [----] [SCAL] (1) m_flow_IN_var_1[$i1].cp = cp[$i1] ($RES_BND_18) (16) [----] end for; (17) [FOR-] (15) ($RES_$AUX_48) (17) [----] for $i1 in 1:3 loop (17) [----] [TUPL] (5) ($FUN_10[$i1], $FUN_11[$i1], $FUN_12[$i1], $FUN_13[$i1], $FUN_14[$i1]) = Modelica.Fluid.Dissipation.HeatTransfer.StraightPipe.kc_turbulent(m_flow_IN_con_2[$i1], m_flow_IN_var_2[$i1]) ($RES_$AUX_49) (17) [----] end for; (18) [FOR-] (3) ($RES_$AUX_60) (18) [----] for $i1 in 1:3 loop (18) [----] [SCAL] (1) Nu_2[$i1] = $FUN_13[$i1] ($RES_$AUX_61) (18) [----] end for; (19) [FOR-] (3) ($RES_BND_25) (19) [----] for $i1 in 1:3 loop (19) [----] [SCAL] (1) m_flow_IN_var_1[$i1].m_flow = m_flow[$i1] ($RES_BND_26) (19) [----] end for; (20) [FOR-] (3) ($RES_BND_19) (20) [----] for $i1 in 1:3 loop (20) [----] [SCAL] (1) m_flow_IN_var_1[$i1].eta = eta[$i1] ($RES_BND_20) (20) [----] end for; (21) [FOR-] (3) ($RES_BND_31) (21) [----] for $i1 in 1:3 loop (21) [----] [SCAL] (1) m_flow_IN_con_2[$i1].roughness = Modelica.Fluid.Dissipation.Utilities.Types.Roughness.Considered ($RES_BND_32) (21) [----] end for; (22) [FOR-] (3) ($RES_$AUX_56) (22) [----] for $i1 in 1:3 loop (22) [----] [SCAL] (1) Re_1[$i1] = $FUN_7[$i1] ($RES_$AUX_57) (22) [----] end for; (23) [FOR-] (3) ($RES_BND_33) (23) [----] for $i1 in 1:3 loop (23) [----] [SCAL] (1) m_flow_IN_con_2[$i1].K = 0.0 ($RES_BND_34) (23) [----] end for; (24) [FOR-] (3) ($RES_BND_27) (24) [----] for $i1 in 1:3 loop (24) [----] [SCAL] (1) m_flow_IN_con_2[$i1].d_hyd = d_hyd ($RES_BND_28) (24) [----] end for; (25) [FOR-] (3) ($RES_$AUX_58) (25) [----] for $i1 in 1:3 loop (25) [----] [SCAL] (1) Nu_1[$i1] = $FUN_8[$i1] ($RES_$AUX_59) (25) [----] end for; (26) [FOR-] (3) ($RES_BND_29) (26) [----] for $i1 in 1:3 loop (26) [----] [SCAL] (1) m_flow_IN_con_2[$i1].L = L ($RES_BND_30) (26) [----] end for; (27) [FOR-] (3) ($RES_BND_41) (27) [----] for $i1 in 1:3 loop (27) [----] [SCAL] (1) m_flow_IN_var_2[$i1].rho = rho[$i1] ($RES_BND_42) (27) [----] end for; (28) [FOR-] (3) ($RES_BND_35) (28) [----] for $i1 in 1:3 loop (28) [----] [SCAL] (1) m_flow_IN_var_2[$i1].cp = cp[$i1] ($RES_BND_36) (28) [----] end for;