Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.3.|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.3.|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009293/0.0009294, allocations: 110.2 kB / 18.4 MB, free: 4.781 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.0009284/0.0009285, allocations: 195.5 kB / 19.34 MB, free: 3.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.225/1.225, allocations: 222.9 MB / 243 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1859/0.1859, allocations: 44.18 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.628e-05/2.631e-05, allocations: 8.75 kB / 409.8 MB, free: 26.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002287/0.00233, allocations: 1.639 MB / 411.5 MB, free: 24.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.003449, allocations: 0.8802 MB / 412.4 MB, free: 24.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.823e-05/0.003508, allocations: 0 / 412.4 MB, free: 24.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001862/0.003701, allocations: 27.83 kB / 412.4 MB, free: 24.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.003845, allocations: 55.69 kB / 412.4 MB, free: 23.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003324/0.004191, allocations: 134.3 kB / 412.6 MB, free: 23.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.004382, allocations: 135.5 kB / 412.7 MB, free: 23.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.031e-05/0.00443, allocations: 7.984 kB / 412.7 MB, free: 23.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.412e-05/0.004489, allocations: 63.8 kB / 412.8 MB, free: 23.63 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.89e-05/0.004563, allocations: 63.75 kB / 412.8 MB, free: 23.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.004582, allocations: 4 kB / 412.8 MB, free: 23.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002242/0.00481, allocations: 203.7 kB / 413 MB, free: 23.37 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001172/0.004936, allocations: 158.4 kB / 413.2 MB, free: 23.21 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 5.079e-05/0.004992, allocations: 114.7 kB / 413.3 MB, free: 23.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.02e-05/0.005017, allocations: 11.94 kB / 413.3 MB, free: 23.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.384e-05/0.005036, allocations: 0 / 413.3 MB, free: 23.09 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 (16) * Number of variables: 92 (16) Notification: Performance of Bindings: time 0.0005323/0.005572, allocations: 0.7094 MB / 414 MB, free: 22.27 MB / 302.1 MB Notification: Performance of FunctionAlias: time 6.749e-05/0.005646, allocations: 54.31 kB / 414.1 MB, free: 22.22 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0001682/0.005821, allocations: 280 kB / 414.4 MB, free: 21.92 MB / 302.1 MB Notification: Performance of simplify1: time 1.11e-05/0.005838, allocations: 7.984 kB / 414.4 MB, free: 21.91 MB / 302.1 MB Notification: Performance of Alias: time 0.0002277/0.006071, allocations: 201.9 kB / 414.6 MB, free: 21.67 MB / 302.1 MB Notification: Performance of simplify2: time 8.796e-06/0.006087, allocations: 11.98 kB / 414.6 MB, free: 21.66 MB / 302.1 MB Notification: Performance of Events: time 5.982e-05/0.006152, allocations: 39.91 kB / 414.6 MB, free: 21.62 MB / 302.1 MB Notification: Performance of Detect States: time 6.731e-05/0.006225, allocations: 86.19 kB / 414.7 MB, free: 21.52 MB / 302.1 MB Notification: Performance of Partitioning: time 9.239e-05/0.006323, allocations: 96.08 kB / 414.8 MB, free: 21.42 MB / 302.1 MB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency $FUN_1 could not be devided by the body size 3 without rest. Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (3) DP = {$FUN_1 for i in 1:3} ($RES_SIM_1) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (19/95) ************************** (1) [ALGB] (3) Real[3] DP = {input_dp[i] for i in 1:3} (start = {0.0 for $i1 in 1:3}) (2) [ALGB] (9) Real[3, 3] m_flow_IN_con.b = {b for $m_flow_IN_con1 in 1:3} (3) [ALGB] (9) Real[3, 3] m_flow_IN_con.a = {a[$m_flow_IN_con1] for $m_flow_IN_con1 in 1:3} (4) [ALGB] (1) Real input_DP.y (5) [ALGB] (9) Real[3, 3] dp_IN_con.dp_min = {0.1 for $i1 in 1:3} (6) [ALGB] (3) Real[3] M_FLOW (start = {0.0 for $i1 in 1:3}) (7) [ALGB] (1) Real $FUN_2 (8) [ALGB] (9) Real[3, 3] m_flow_IN_var.rho = {rho for $m_flow_IN_var1 in 1:3} (min = {0.0 for $i1 in 1:3}) (9) [ALGB] (3) Real[3] DP_plot = {DP[i] for i in 1:3} (10) [ALGB] (3) Real[3] input_dp = {1.0 for $i1 in 1:3} .* input_DP.y (start = {0.0 for $i1 in 1:3}) (11) [ALGB] (1) Real $FUN_1 (12) [ALGB] (3) Real[3] V_flow = {input_mdot[i] / 1.2 for i in 1:3} (13) [ALGB] (9) Real[3, 3] dp_IN_var.rho = {rho for $dp_IN_var1 in 1:3} (min = {0.0 for $i1 in 1:3}) (14) [ALGB] (3) Real[3] input_mdot (start = {0.0 for $i1 in 1:3}) (15) [ALGB] (9) Real[3, 3] m_flow_IN_con.dp_min = {0.1 for $i1 in 1:3} (16) [ALGB] (9) Real[3, 3] dp_IN_con.a = {a[$dp_IN_con1] for $dp_IN_con1 in 1:3} (17) [ALGB] (9) Real[3, 3] dp_IN_con.b = {b for $dp_IN_con1 in 1:3} (18) [DISC] (1) Boolean $TEV_1 (19) [DISC] (1) Boolean $TEV_0 System Equations (19/47) ************************** (1) [FOR-] (3) ($RES_BND_8) (1) [----] for $i1 in 1:3 loop (1) [----] [SCAL] (1) DP[$i1] = input_dp[$i1] ($RES_BND_9) (1) [----] end for; (2) [FOR-] (3) ($RES_BND_6) (2) [----] for $i1 in 1:3 loop (2) [----] [SCAL] (1) input_dp[$i1] = input_DP.y ($RES_BND_7) (2) [----] end for; (3) [SCAL] (1) $FUN_2 = Modelica.Fluid.Dissipation.PressureLoss.General.dp_volumeFlowRate_MFLOW(dp_IN_con[i], dp_IN_var[i], input_dp[i]) ($RES_$AUX_28) (4) [FOR-] (3) ($RES_BND_10) (4) [----] for $i1 in 1:3 loop (4) [----] [SCAL] (1) m_flow_IN_con[$i1].a = a[$i1] ($RES_BND_11) (4) [----] end for; (5) [SCAL] (1) $FUN_1 = Modelica.Fluid.Dissipation.PressureLoss.General.dp_volumeFlowRate_DP(m_flow_IN_con[i], m_flow_IN_var[i], input_mdot[i]) ($RES_$AUX_29) (6) [FOR-] (3) ($RES_BND_12) (6) [----] for $i1 in 1:3 loop (6) [----] [SCAL] (1) m_flow_IN_con[$i1].b = b ($RES_BND_13) (6) [----] end for; (7) [FOR-] (3) ($RES_BND_3) (7) [----] for $i1 in 1:3 loop (7) [----] [SCAL] (1) V_flow[$i1] = input_mdot[$i1] / 1.2 ($RES_BND_4) (7) [----] end for; (8) [SCAL] (1) input_DP.y = input_DP.offset + (if $TEV_0 then 0.0 else if $TEV_1 then (input_DP.height * (time - input_DP.startTime)) / input_DP.duration else input_DP.height) ($RES_SIM_2) (9) [FOR-] (3) ($RES_BND_14) (9) [----] for $i1 in 1:3 loop (9) [----] [SCAL] (1) m_flow_IN_con[$i1].dp_min = 0.1 ($RES_BND_15) (9) [----] end for; (10) [ARRY] (3) DP = {$FUN_1 for i in 1:3} ($RES_SIM_1) (11) [FOR-] (3) ($RES_BND_20) (11) [----] for $i1 in 1:3 loop (11) [----] [SCAL] (1) dp_IN_con[$i1].b = b ($RES_BND_21) (11) [----] end for; (12) [SCAL] (1) $TEV_0 = time < input_DP.startTime ($RES_EVT_30) (13) [ARRY] (3) M_FLOW = {$FUN_2 for i in 1:3} ($RES_SIM_0) (14) [SCAL] (1) $TEV_1 = time < (input_DP.startTime + input_DP.duration) ($RES_EVT_31) (15) [FOR-] (3) ($RES_BND_22) (15) [----] for $i1 in 1:3 loop (15) [----] [SCAL] (1) dp_IN_con[$i1].dp_min = 0.1 ($RES_BND_23) (15) [----] end for; (16) [FOR-] (3) ($RES_BND_16) (16) [----] for $i1 in 1:3 loop (16) [----] [SCAL] (1) m_flow_IN_var[$i1].rho = 1.2 ($RES_BND_17) (16) [----] end for; (17) [FOR-] (3) ($RES_BND_24) (17) [----] for $i1 in 1:3 loop (17) [----] [SCAL] (1) dp_IN_var[$i1].rho = 1.2 ($RES_BND_25) (17) [----] end for; (18) [FOR-] (3) ($RES_BND_18) (18) [----] for $i1 in 1:3 loop (18) [----] [SCAL] (1) dp_IN_con[$i1].a = a[$i1] ($RES_BND_19) (18) [----] end for; (19) [FOR-] (3) ($RES_BND_26) (19) [----] for $i1 in 1:3 loop (19) [----] [SCAL] (1) DP_plot[$i1] = DP[$i1] ($RES_BND_27) (19) [----] end for;