Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roughness|K|L|geometry.1.|geometry.2.|geometry.3.|geometry.4.|geometry.5.|d_ann|D_ann|d_cir|a_ell|b_ell|a_rec|b_rec|a_tri|h_tri|beta|eta|rho|input_mdot_1.1.|input_mdot_1.2.|input_mdot_1.3.|input_mdot_1.4.|input_mdot_1.5.|input_dp_1.1.|input_dp_1.2.|input_dp_1.3.|input_dp_1.4.|input_dp_1.5.|M_FLOW_1.1.|M_FLOW_1.2.|M_FLOW_1.3.|M_FLOW_1.4.|M_FLOW_1.5.|DP_1.1.|DP_1.2.|DP_1.3.|DP_1.4.|DP_1.5.|MIN|A_crossT.1.|A_crossT.2.|A_crossT.3.|A_crossT.4.|A_crossT.5.|perimeterT.1.|perimeterT.2.|perimeterT.3.|perimeterT.4.|perimeterT.5.|d_hydT.1.|d_hydT.2.|d_hydT.3.|d_hydT.4.|d_hydT.5.|A_cross|d_hyd|perimeter|velocity_1.1.|velocity_1.2.|velocity_1.3.|velocity_1.4.|velocity_1.5.|Re_1.1.|Re_1.2.|Re_1.3.|Re_1.4.|Re_1.5.|DP_plot_1.1.|DP_plot_1.2.|DP_plot_1.3.|DP_plot_1.4.|DP_plot_1.5.|zeta_TOT_1.1.|zeta_TOT_1.2.|zeta_TOT_1.3.|zeta_TOT_1.4.|zeta_TOT_1.5.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004357/0.004362, allocations: 345 kB / 15.95 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.948/3.948, allocations: 341.5 MB / 358.2 MB, free: 12.56 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003741/0.00374, allocations: 221.2 kB / 397.9 MB, free: 4.895 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5237/0.5237, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006551/0.0006554, allocations: 12 kB / 0.5592 GB, free: 53.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09059/0.0913, allocations: 48.71 MB / 0.6068 GB, free: 4.605 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.002597/0.09395, allocations: 1.813 MB / 0.6085 GB, free: 2.777 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.2709/0.3649, allocations: 2.999 MB / 0.6115 GB, free: 88.52 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.3652, allocations: 1.188 kB / 0.6115 GB, free: 88.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004657/0.3657, allocations: 88.61 kB / 0.6116 GB, free: 88.5 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005306/0.3662, allocations: 122.4 kB / 0.6117 GB, free: 88.47 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003255/0.3695, allocations: 0.7653 MB / 0.6124 GB, free: 88.36 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000912/0.3704, allocations: 0.585 MB / 0.613 GB, free: 88.17 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.3706, allocations: 80.69 kB / 0.6131 GB, free: 88.16 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004124/0.3711, allocations: 204.2 kB / 0.6133 GB, free: 88.09 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005019/0.3716, allocations: 279.9 kB / 0.6135 GB, free: 88.02 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.158e-05/0.3717, allocations: 23.31 kB / 0.6136 GB, free: 88.02 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004613/0.3763, allocations: 1.831 MB / 0.6153 GB, free: 87.92 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003056/0.3766, allocations: 139.8 kB / 0.6155 GB, free: 87.88 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003312/0.377, allocations: 118.6 kB / 0.6156 GB, free: 87.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002796/0.3798, allocations: 0.9337 MB / 0.6165 GB, free: 87.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.3799, allocations: 0 / 0.6165 GB, free: 87.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3799, allocations: 0 / 0.6165 GB, free: 87.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.839e-06/0.3799, allocations: 0 / 0.6165 GB, free: 87.73 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002649/0.3825, allocations: 0.9196 MB / 0.6174 GB, free: 87.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.092e-05/0.3826, allocations: 13.66 kB / 0.6174 GB, free: 87.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002872/0.3829, allocations: 74.22 kB / 0.6175 GB, free: 87.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007344/0.3837, allocations: 356.5 kB / 0.6178 GB, free: 86.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.976e-05/0.3838, allocations: 57.06 kB / 0.6179 GB, free: 86.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001783/0.3839, allocations: 71.94 kB / 0.6179 GB, free: 86.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003092/0.387, allocations: 1.222 MB / 0.6191 GB, free: 86.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.647e-05/0.3871, allocations: 4.594 kB / 0.6191 GB, free: 86.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.3873, allocations: 29.5 kB / 0.6192 GB, free: 86.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000158/0.3874, allocations: 85.27 kB / 0.6193 GB, free: 86.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00493/0.3924, allocations: 1.725 MB / 0.6209 GB, free: 86.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007817/0.4003, allocations: 2.91 MB / 0.6238 GB, free: 85.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/0.4018, allocations: 434 kB / 0.6242 GB, free: 84.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004655/0.4023, allocations: 150.3 kB / 0.6243 GB, free: 84.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.1e-05/0.4024, allocations: 9.172 kB / 0.6243 GB, free: 84.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.4024, allocations: 40.75 kB / 0.6244 GB, free: 84.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 3.046e-06/0.4025, allocations: 3.75 kB / 0.6244 GB, free: 84.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.001602/0.4041, allocations: 0.4886 MB / 0.6249 GB, free: 84.65 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.4041, allocations: 58.41 kB / 0.6249 GB, free: 84.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/0.4044, allocations: 214.6 kB / 0.6251 GB, free: 84.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.827e-05/0.4045, allocations: 29.7 kB / 0.6252 GB, free: 84.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/0.4047, allocations: 384 kB / 0.6255 GB, free: 84.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.4049, allocations: 120.6 kB / 0.6256 GB, free: 84.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.4049, allocations: 10.91 kB / 0.6256 GB, free: 84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.017e-05/0.405, allocations: 331.5 kB / 0.626 GB, free: 83.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004925/0.4055, allocations: 153.1 kB / 0.6261 GB, free: 83.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006024/0.4061, allocations: 347.8 kB / 0.6264 GB, free: 83.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006023/0.4067, allocations: 211.2 kB / 0.6266 GB, free: 83.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.4068, allocations: 1.094 kB / 0.6266 GB, free: 83.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00155/0.4083, allocations: 0.5465 MB / 0.6272 GB, free: 83.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.4084, allocations: 10.31 kB / 0.6272 GB, free: 83.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.4084, allocations: 7.281 kB / 0.6272 GB, free: 83.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.672e-05/0.4085, allocations: 10.09 kB / 0.6272 GB, free: 83.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/0.4099, allocations: 209.2 kB / 0.6274 GB, free: 83.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/0.4114, allocations: 3.005 MB / 0.6303 GB, free: 80.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000597/0.4121, allocations: 59.42 kB / 0.6304 GB, free: 80.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-05/0.4122, allocations: 36.17 kB / 0.6304 GB, free: 80.11 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 (geometry[5],roughness,geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006247/0.4128, allocations: 277.1 kB / 0.6307 GB, free: 79.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.233e-05/0.4129, allocations: 25.03 kB / 0.6307 GB, free: 79.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001993/0.4149, allocations: 0.5611 MB / 0.6313 GB, free: 79.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.415, allocations: 1.828 kB / 0.6313 GB, free: 79.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.415, allocations: 0 / 0.6313 GB, free: 79.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.411e-05/0.4151, allocations: 102.6 kB / 0.6314 GB, free: 79.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.191e-05/0.4152, allocations: 5.812 kB / 0.6314 GB, free: 79.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003132/0.4155, allocations: 24.81 kB / 0.6314 GB, free: 79.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.4156, allocations: 29.64 kB / 0.6314 GB, free: 79.62 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00226/0.4179, allocations: 0.6447 MB / 0.632 GB, free: 79.36 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001771/0.4197, allocations: 0.7627 MB / 0.6328 GB, free: 79 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005083/0.4203, allocations: 171.3 kB / 0.633 GB, free: 78.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001581/0.4205, allocations: 132.9 kB / 0.6331 GB, free: 78.86 MB / 362.7 MB Notification: Performance of Backend: time 5.82e-07/0.4205, allocations: 0 / 0.6331 GB, free: 78.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003391/0.4239, allocations: 0.6801 MB / 0.6337 GB, free: 78.65 MB / 362.7 MB Notification: Performance of SimCode: time 0.004224/0.4282, allocations: 1.778 MB / 0.6355 GB, free: 77.39 MB / 362.7 MB Notification: Performance of Templates: time 0.03057/0.4588, allocations: 8.749 MB / 0.644 GB, free: 73.15 MB / 362.7 MB