Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.Plate.kc_turbulent,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1_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.001165/0.001165, allocations: 101.4 kB / 16.42 MB, free: 6.52 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.001143/0.001143, 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.207/1.207, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.1535/0.1535, allocations: 38 MB / 308.6 MB, free: 5.992 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.776e-05/1.777e-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.Plate.kc_turbulent): time 0.001851/0.001876, allocations: 1.803 MB / 435.4 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.002891, allocations: 1.009 MB / 436.5 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.051e-05/0.002953, allocations: 4 kB / 436.5 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001749/0.003133, allocations: 35.75 kB / 436.5 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001647/0.003305, allocations: 75.59 kB / 436.6 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.003577, allocations: 119.5 kB / 436.7 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.003757, allocations: 191.3 kB / 436.9 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.023e-05/0.003794, allocations: 8 kB / 436.9 MB, free: 11.22 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.0039, allocations: 83.73 kB / 437 MB, free: 11.14 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.357e-05/0.004001, allocations: 99.64 kB / 437.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.004023, allocations: 4 kB / 437.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001722/0.0042, allocations: 127.8 kB / 437.2 MB, free: 10.91 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001302/0.004338, allocations: 237.8 kB / 437.4 MB, free: 10.68 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 5.546e-05/0.004399, allocations: 138.3 kB / 437.6 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.004429, allocations: 15.94 kB / 437.6 MB, free: 10.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.161e-05/0.004445, allocations: 7.984 kB / 437.6 MB, free: 10.52 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.0005719/0.005021, allocations: 0.8491 MB / 438.4 MB, free: 9.562 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001253/0.005153, allocations: 119.6 kB / 438.5 MB, free: 9.445 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0002812/0.005442, allocations: 487.7 kB / 439 MB, free: 8.941 MB / 318.1 MB Notification: Performance of simplify1: time 2.079e-05/0.005469, allocations: 23.97 kB / 439 MB, free: 8.918 MB / 318.1 MB Notification: Performance of Alias: time 7.397e-05/0.005548, allocations: 121.7 kB / 439.2 MB, free: 8.762 MB / 318.1 MB Notification: Performance of simplify2: time 1.386e-05/0.005567, allocations: 23.97 kB / 439.2 MB, free: 8.738 MB / 318.1 MB Notification: Performance of Events: time 8.472e-05/0.005655, allocations: 83.75 kB / 439.3 MB, free: 8.656 MB / 318.1 MB Notification: Performance of Detect States: time 8.247e-05/0.005744, allocations: 117.6 kB / 439.4 MB, free: 8.527 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001258/0.005876, allocations: 164.5 kB / 439.5 MB, free: 8.336 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;