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_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.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_laminar,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2_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.001206/0.001207, allocations: 105.4 kB / 16.42 MB, free: 6.043 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.001235/0.001235, allocations: 195.2 kB / 17.36 MB, free: 5.598 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.249/1.249, allocations: 205.1 MB / 223.2 MB, free: 12.29 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.1784/0.1784, allocations: 39.96 MB / 310.5 MB, free: 4.027 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/1.921e-05, allocations: 2.281 kB / 436.4 MB, free: 11.79 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.002086/0.002114, allocations: 1.824 MB / 438.2 MB, free: 9.953 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.003359, allocations: 0.9978 MB / 439.2 MB, free: 8.945 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.624e-05/0.003456, allocations: 4 kB / 439.2 MB, free: 8.941 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002118/0.003673, allocations: 35.75 kB / 439.3 MB, free: 8.906 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002099/0.00389, allocations: 71.59 kB / 439.3 MB, free: 8.836 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003305/0.004236, allocations: 115.5 kB / 439.5 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00022/0.004465, allocations: 187.3 kB / 439.6 MB, free: 8.539 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.935e-05/0.004511, allocations: 7.984 kB / 439.6 MB, free: 8.531 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.004633, allocations: 91.73 kB / 439.7 MB, free: 8.441 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.004749, allocations: 91.66 kB / 439.8 MB, free: 8.352 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.004775, allocations: 8 kB / 439.8 MB, free: 8.344 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001921/0.004973, allocations: 115.8 kB / 439.9 MB, free: 8.23 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001374/0.005118, allocations: 229.9 kB / 440.2 MB, free: 8.004 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 5.939e-05/0.005183, allocations: 154.2 kB / 440.3 MB, free: 7.852 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.789e-05/0.005216, allocations: 8 kB / 440.3 MB, free: 7.844 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.707e-05/0.005238, allocations: 7.938 kB / 440.3 MB, free: 7.836 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.0006089/0.005851, allocations: 0.8413 MB / 441.2 MB, free: 6.891 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001339/0.005991, allocations: 127.6 kB / 441.3 MB, free: 6.766 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0002822/0.00628, allocations: 487.7 kB / 441.8 MB, free: 6.262 MB / 318.1 MB Notification: Performance of simplify1: time 2.135e-05/0.006308, allocations: 27.97 kB / 441.8 MB, free: 6.234 MB / 318.1 MB Notification: Performance of Alias: time 8.054e-05/0.006394, allocations: 109.7 kB / 441.9 MB, free: 6.09 MB / 318.1 MB Notification: Performance of simplify2: time 1.472e-05/0.006413, allocations: 19.97 kB / 441.9 MB, free: 6.07 MB / 318.1 MB Notification: Performance of Events: time 9.079e-05/0.006508, allocations: 91.73 kB / 442 MB, free: 5.98 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001584/0.006673, allocations: 120.6 kB / 442.1 MB, free: 5.852 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001321/0.006811, allocations: 160.5 kB / 442.3 MB, free: 5.664 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;