Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.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.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.Plate.kc_turbulent,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 105.7 kB / 16.42 MB, free: 6.031 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: 186 kB / 17.35 MB, free: 5.602 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.281/1.281, 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.2+maint.om/package.mo): time 0.1724/0.1724, allocations: 39.97 MB / 310.6 MB, free: 4.016 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.587e-05/1.587e-05, allocations: 2.281 kB / 436.4 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.001931/0.001955, allocations: 1.812 MB / 438.2 MB, free: 9.941 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.003019, allocations: 1.006 MB / 439.2 MB, free: 8.926 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.01e-05/0.003079, allocations: 4 kB / 439.2 MB, free: 8.922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001773/0.003262, allocations: 39.75 kB / 439.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001768/0.003447, allocations: 75.59 kB / 439.4 MB, free: 8.809 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.003729, allocations: 115.5 kB / 439.5 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001819/0.00392, allocations: 195.3 kB / 439.7 MB, free: 8.504 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.663e-05/0.003964, allocations: 8 kB / 439.7 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.004072, allocations: 79.73 kB / 439.7 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.862e-05/0.004178, allocations: 91.66 kB / 439.8 MB, free: 8.328 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.004202, allocations: 8 kB / 439.8 MB, free: 8.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.004384, allocations: 123.8 kB / 440 MB, free: 8.199 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.000133/0.004526, allocations: 237.9 kB / 440.2 MB, free: 7.965 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 5.714e-05/0.004589, allocations: 146.2 kB / 440.3 MB, free: 7.82 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.161e-05/0.004616, allocations: 8 kB / 440.3 MB, free: 7.812 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.243e-05/0.004633, allocations: 11.94 kB / 440.4 MB, free: 7.801 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: 46 (14) * Number of variables: 70 (14) Notification: Performance of Bindings: time 0.0005828/0.00522, allocations: 0.8414 MB / 441.2 MB, free: 6.855 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.00013/0.005357, allocations: 119.6 kB / 441.3 MB, free: 6.738 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0002841/0.005648, allocations: 487.7 kB / 441.8 MB, free: 6.234 MB / 318.1 MB Notification: Performance of simplify1: time 2.241e-05/0.005677, allocations: 31.97 kB / 441.8 MB, free: 6.203 MB / 318.1 MB Notification: Performance of Alias: time 7.671e-05/0.005758, allocations: 113.7 kB / 441.9 MB, free: 6.055 MB / 318.1 MB Notification: Performance of simplify2: time 1.451e-05/0.005778, allocations: 27.97 kB / 442 MB, free: 6.027 MB / 318.1 MB Notification: Performance of Events: time 8.594e-05/0.005868, allocations: 83.75 kB / 442 MB, free: 5.945 MB / 318.1 MB Notification: Performance of Detect States: time 8.856e-05/0.005963, allocations: 116.1 kB / 442.2 MB, free: 5.816 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001302/0.0061, allocations: 168.5 kB / 442.3 MB, free: 5.621 MB / 318.1 MB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency $FUN_7[$i1] could not be divided by the body size 5 without rest. Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [FOR-] (15) ($RES_$AUX_25) [----] for $i1 in 1:3 loop [----] [TUPL] (5) ($FUN_5[$i1], $FUN_6[$i1], $FUN_7[$i1], $FUN_8[$i1], $FUN_9[$i1]) = Modelica.Fluid.Dissipation.HeatTransfer.Plate.kc_turbulent(IN_con[$i1], IN_var[$i1]) ($RES_$AUX_26) [----] end for; Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (18/84) ************************** (1) [ALGB] (1) Real input_v_0.y (2) [ALGB] (9) Real[3, 3] IN_var.cp = {cp[$IN_var1] for $IN_var1 in 1:3} (3) [ALGB] (3) Real[3] $FUN_9 (4) [ALGB] (3) Real[3] $FUN_8 (5) [ALGB] (3) Real[3] Re = {(L * rho[i] * abs(velocity[i])) / eta[i] for i in 1:3} (6) [ALGB] (3) Real[3] Nu (7) [ALGB] (3) Real[3] $FUN_7 (8) [ALGB] (3) Real[3] $FUN_6 (9) [ALGB] (3) Real[3] $FUN_5 (10) [ALGB] (9) Real[3, 3] IN_var.eta = {eta[$IN_var1] for $IN_var1 in 1:3} (min = {0.0 for $i1 in 1:3}) (11) [ALGB] (9) Real[3, 3] IN_var.rho = {rho[$IN_var1] for $IN_var1 in 1:3} (min = {0.0 for $i1 in 1:3}) (12) [ALGB] (9) Real[3, 3] IN_var.lambda = {lambda[$IN_var1] for $IN_var1 in 1:3} (13) [ALGB] (9) Real[3, 3] IN_var.velocity = {velocity[$IN_var1] for $IN_var1 in 1:3} (14) [ALGB] (3) Real[3] $FUN_10 (15) [DISC] (1) Boolean $TEV_4 (16) [ALGB] (9) Real[3, 3] IN_con.L = {L for $IN_con1 in 1:3} (17) [DISC] (1) Boolean $TEV_3 (18) [ALGB] (3) Real[3] velocity = {(input_v_0.y * eta[1] * rho[3]) / (eta[3] * rho[1]), (input_v_0.y * eta[2] * rho[3]) / (eta[3] * rho[2]), input_v_0.y} System Equations (14/48) ************************** (1) [FOR-] (3) ($RES_BND_17) (1) [----] for $i1 in 1:3 loop (1) [----] [SCAL] (1) IN_var[$i1].velocity = velocity[$i1] ($RES_BND_18) (1) [----] end for; (2) [FOR-] (3) ($RES_BND_21) (2) [----] for $i1 in 1:3 loop (2) [----] [SCAL] (1) Re[$i1] = (L * rho[$i1] * $FUN_10[$i1]) / eta[$i1] ($RES_BND_22) (2) [----] end for; (3) [FOR-] (3) ($RES_$AUX_23) (3) [----] for $i1 in 1:3 loop (3) [----] [SCAL] (1) $FUN_10[$i1] = abs(velocity[$i1]) ($RES_$AUX_24) (3) [----] end for; (4) [FOR-] (15) ($RES_$AUX_25) (4) [----] for $i1 in 1:3 loop (4) [----] [TUPL] (5) ($FUN_5[$i1], $FUN_6[$i1], $FUN_7[$i1], $FUN_8[$i1], $FUN_9[$i1]) = Modelica.Fluid.Dissipation.HeatTransfer.Plate.kc_turbulent(IN_con[$i1], IN_var[$i1]) ($RES_$AUX_26) (4) [----] end for; (5) [SCAL] (1) $TEV_3 = time < input_v_0.startTime ($RES_EVT_36) (6) [FOR-] (3) ($RES_BND_9) (6) [----] for $i1 in 1:3 loop (6) [----] [SCAL] (1) IN_var[$i1].cp = cp[$i1] ($RES_BND_10) (6) [----] end for; (7) [SCAL] (1) $TEV_4 = time < (input_v_0.startTime + input_v_0.duration) ($RES_EVT_37) (8) [FOR-] (3) ($RES_BND_7) (8) [----] for $i1 in 1:3 loop (8) [----] [SCAL] (1) IN_con[$i1].L = L ($RES_BND_8) (8) [----] end for; (9) [FOR-] (3) ($RES_$AUX_31) (9) [----] for $i1 in 1:3 loop (9) [----] [SCAL] (1) Nu[$i1] = $FUN_8[$i1] ($RES_$AUX_32) (9) [----] end for; (10) [FOR-] (3) ($RES_BND_11) (10) [----] for $i1 in 1:3 loop (10) [----] [SCAL] (1) IN_var[$i1].eta = eta[$i1] ($RES_BND_12) (10) [----] end for; (11) [ARRY] (3) velocity = {(input_v_0.y * eta[1] * rho[3]) / (eta[3] * rho[1]), (input_v_0.y * eta[2] * rho[3]) / (eta[3] * rho[2]), input_v_0.y} ($RES_BND_6) (12) [FOR-] (3) ($RES_BND_13) (12) [----] for $i1 in 1:3 loop (12) [----] [SCAL] (1) IN_var[$i1].lambda = lambda[$i1] ($RES_BND_14) (12) [----] end for; (13) [SCAL] (1) input_v_0.y = input_v_0.offset + (if $TEV_3 then 0.0 else if $TEV_4 then (input_v_0.height * (time - input_v_0.startTime)) / input_v_0.duration else input_v_0.height) ($RES_SIM_5) (14) [FOR-] (3) ($RES_BND_15) (14) [----] for $i1 in 1:3 loop (14) [----] [SCAL] (1) IN_var[$i1].rho = rho[$i1] ($RES_BND_16) (14) [----] end for;