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_laminar.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_laminar,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009774/0.0009775, allocations: 110.8 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.0009264/0.0009265, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.203/1.203, 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.1687/0.1687, allocations: 38 MB / 308.6 MB, free: 5.988 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.648e-05/1.649e-05, allocations: 2.281 kB / 433.6 MB, free: 14.47 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.001965/0.00199, allocations: 1.816 MB / 435.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.003077, allocations: 0.9978 MB / 436.5 MB, free: 11.63 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.304e-05/0.003141, allocations: 4 kB / 436.5 MB, free: 11.63 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001986/0.003345, allocations: 31.77 kB / 436.5 MB, free: 11.6 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000196/0.003549, allocations: 71.53 kB / 436.6 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.00383, allocations: 123.5 kB / 436.7 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000189/0.004028, allocations: 187.3 kB / 436.9 MB, free: 11.22 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.204e-05/0.004077, allocations: 11.97 kB / 436.9 MB, free: 11.21 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.00419, allocations: 79.73 kB / 436.9 MB, free: 11.13 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.004302, allocations: 95.64 kB / 437 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.004326, allocations: 8 kB / 437 MB, free: 11.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.004513, allocations: 111.9 kB / 437.2 MB, free: 10.92 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001562/0.004678, allocations: 241.8 kB / 437.4 MB, free: 10.68 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 5.783e-05/0.004741, allocations: 142.3 kB / 437.5 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.425e-05/0.004769, allocations: 11.94 kB / 437.5 MB, free: 10.53 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.394e-05/0.004788, allocations: 4 kB / 437.5 MB, free: 10.53 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.0006391/0.005431, allocations: 0.8491 MB / 438.4 MB, free: 9.574 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001386/0.005576, allocations: 127.6 kB / 438.5 MB, free: 9.449 MB / 318.1 MB Notification: Performance of Early Inline: time 0.000286/0.005868, allocations: 487.7 kB / 439 MB, free: 8.945 MB / 318.1 MB Notification: Performance of simplify1: time 2.137e-05/0.005896, allocations: 23.97 kB / 439 MB, free: 8.922 MB / 318.1 MB Notification: Performance of Alias: time 8.116e-05/0.005982, allocations: 117.7 kB / 439.1 MB, free: 8.77 MB / 318.1 MB Notification: Performance of simplify2: time 1.573e-05/0.006003, allocations: 19.98 kB / 439.2 MB, free: 8.75 MB / 318.1 MB Notification: Performance of Events: time 9.481e-05/0.006102, allocations: 87.73 kB / 439.2 MB, free: 8.664 MB / 318.1 MB Notification: Performance of Detect States: time 9.262e-05/0.006201, allocations: 125.8 kB / 439.4 MB, free: 8.527 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001367/0.006343, allocations: 160.4 kB / 439.5 MB, free: 8.34 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_laminar(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_laminar(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;