Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_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.Bend.dp_curvedOverall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|delta.1.|delta.2.|delta.3.|R_0.1.|R_0.2.|eta|rho|input_mdot_1.1.|input_mdot_1.2.|input_dp_1.1.|input_dp_1.2.|M_FLOW_1.1.|M_FLOW_1.2.|DP_1.1.|DP_1.2.|input_mdot_2.1.|input_mdot_2.2.|input_mdot_2.3.|input_dp_2.1.|input_dp_2.2.|input_dp_2.3.|M_FLOW_2.1.|M_FLOW_2.2.|M_FLOW_2.3.|DP_2.1.|DP_2.2.|DP_2.3.|frac_RD.1.|frac_RD.2.|velocity_1.1.|velocity_1.2.|Re_1.1.|Re_1.2.|velocity_2.1.|velocity_2.2.|velocity_2.3.|Re_2.1.|Re_2.2.|Re_2.3.|DP_plot_1.1.|DP_plot_1.2.|DP_plot_2.1.|DP_plot_2.2.|DP_plot_2.3.|zeta_TOT_1.1.|zeta_TOT_1.2.|zeta_TOT_2.1.|zeta_TOT_2.2.|zeta_TOT_2.3.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003791/0.003797, allocations: 348.9 kB / 15.95 MB, free: 6.215 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.78/3.78, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.003496/0.003495, allocations: 225.1 kB / 397.9 MB, free: 4.977 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.6391/0.6391, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006969/0.0006972, allocations: 16 kB / 0.5592 GB, free: 53.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1013, allocations: 48.71 MB / 0.6068 GB, free: 4.625 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW): time 0.002484/0.1038, allocations: 1.773 MB / 0.6085 GB, free: 2.84 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.2901/0.3939, allocations: 1.721 MB / 0.6102 GB, free: 88.69 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002046/0.3942, allocations: 1.406 kB / 0.6102 GB, free: 88.69 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003321/0.3945, allocations: 54.95 kB / 0.6102 GB, free: 88.69 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005109/0.3951, allocations: 139.4 kB / 0.6104 GB, free: 88.69 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002072/0.3972, allocations: 0.5045 MB / 0.6109 GB, free: 88.67 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007967/0.398, allocations: 434.8 kB / 0.6113 GB, free: 88.57 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.3981, allocations: 38.45 kB / 0.6113 GB, free: 88.57 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003285/0.3984, allocations: 139.2 kB / 0.6114 GB, free: 88.54 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004048/0.3989, allocations: 183.7 kB / 0.6116 GB, free: 88.5 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.934e-05/0.3989, allocations: 9.094 kB / 0.6116 GB, free: 88.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003653/0.4026, allocations: 1.536 MB / 0.6131 GB, free: 88.46 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002737/0.4029, allocations: 93.28 kB / 0.6132 GB, free: 88.45 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.4031, allocations: 75.33 kB / 0.6133 GB, free: 88.4 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001457/0.4046, allocations: 0.4982 MB / 0.6138 GB, free: 88.35 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.4046, allocations: 1.125 kB / 0.6138 GB, free: 88.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.4046, allocations: 0.5156 kB / 0.6138 GB, free: 88.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.4047, allocations: 0 / 0.6138 GB, free: 88.35 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001576/0.4062, allocations: 0.6288 MB / 0.6144 GB, free: 87.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/0.4063, allocations: 7.469 kB / 0.6144 GB, free: 87.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.4065, allocations: 33.06 kB / 0.6144 GB, free: 87.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004476/0.4069, allocations: 261.8 kB / 0.6147 GB, free: 87.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.714e-05/0.407, allocations: 27.28 kB / 0.6147 GB, free: 87.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.952e-05/0.4071, allocations: 32.5 kB / 0.6147 GB, free: 87.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.4084, allocations: 0.4967 MB / 0.6152 GB, free: 87.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.4085, allocations: 1.125 kB / 0.6152 GB, free: 87.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.018e-05/0.4085, allocations: 14.84 kB / 0.6152 GB, free: 87.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001213/0.4087, allocations: 53.42 kB / 0.6153 GB, free: 87.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/0.4101, allocations: 0.5375 MB / 0.6158 GB, free: 87.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002925/0.413, allocations: 1.299 MB / 0.6171 GB, free: 86.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/0.4144, allocations: 394.5 kB / 0.6175 GB, free: 86.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004613/0.4149, allocations: 124.9 kB / 0.6176 GB, free: 86.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.642e-05/0.415, allocations: 13.7 kB / 0.6176 GB, free: 86.85 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.415, allocations: 36.53 kB / 0.6176 GB, free: 86.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 3.016e-06/0.415, allocations: 0 / 0.6176 GB, free: 86.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.001542/0.4166, allocations: 442.4 kB / 0.618 GB, free: 86.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.4166, allocations: 54.31 kB / 0.6181 GB, free: 86.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000494/0.4171, allocations: 300.2 kB / 0.6184 GB, free: 86.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.4172, allocations: 29.7 kB / 0.6184 GB, free: 86.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.4173, allocations: 206.1 kB / 0.6186 GB, free: 86.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.4175, allocations: 91.22 kB / 0.6187 GB, free: 86.37 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.4175, allocations: 4.5 kB / 0.6187 GB, free: 86.37 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.865e-05/0.4176, allocations: 346.1 kB / 0.619 GB, free: 86.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004644/0.4181, allocations: 124.1 kB / 0.6191 GB, free: 86.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000492/0.4186, allocations: 164.4 kB / 0.6193 GB, free: 86.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005294/0.4191, allocations: 142.5 kB / 0.6194 GB, free: 86.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.4192, allocations: 1.25 kB / 0.6194 GB, free: 86.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001217/0.4204, allocations: 385.4 kB / 0.6198 GB, free: 85.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.4204, allocations: 5.562 kB / 0.6198 GB, free: 85.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.4204, allocations: 1.062 kB / 0.6198 GB, free: 85.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.4205, allocations: 4.859 kB / 0.6198 GB, free: 85.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.4216, allocations: 129.2 kB / 0.6199 GB, free: 85.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/0.4231, allocations: 3.014 MB / 0.6229 GB, free: 83.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000496/0.4236, allocations: 45.03 kB / 0.6229 GB, free: 83.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.955e-05/0.4237, allocations: 14.59 kB / 0.6229 GB, free: 83.01 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 31 * 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.0003281/0.424, allocations: 181.5 kB / 0.6231 GB, free: 82.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.967e-05/0.4241, allocations: 29.12 kB / 0.6231 GB, free: 82.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001544/0.4257, allocations: 463.4 kB / 0.6236 GB, free: 82.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.4257, allocations: 2.578 kB / 0.6236 GB, free: 82.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.4257, allocations: 0.5156 kB / 0.6236 GB, free: 82.83 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.4259, allocations: 113.4 kB / 0.6237 GB, free: 82.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.071e-05/0.426, allocations: 7.578 kB / 0.6237 GB, free: 82.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003428/0.4263, allocations: 14.09 kB / 0.6237 GB, free: 82.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.838e-05/0.4264, allocations: 26.98 kB / 0.6237 GB, free: 82.71 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001943/0.4284, allocations: 0.5543 MB / 0.6243 GB, free: 82.56 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001744/0.4302, allocations: 0.7063 MB / 0.625 GB, free: 82.32 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004684/0.4307, allocations: 145.7 kB / 0.6251 GB, free: 82.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003809/0.4311, allocations: 224.5 kB / 0.6253 GB, free: 82.25 MB / 362.7 MB Notification: Performance of Backend: time 6.61e-07/0.4311, allocations: 3.094 kB / 0.6253 GB, free: 82.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002753/0.4338, allocations: 466.5 kB / 0.6258 GB, free: 82.15 MB / 362.7 MB Notification: Performance of SimCode: time 0.002048/0.4359, allocations: 1.257 MB / 0.627 GB, free: 81.3 MB / 362.7 MB Notification: Performance of Templates: time 0.02289/0.4589, allocations: 8.087 MB / 0.6349 GB, free: 78.78 MB / 362.7 MB "" Variables in the reference:time,delta[1],delta[2],delta[3],R_0[1],R_0[2],eta,rho,input_mdot_1[1],input_mdot_1[2],input_dp_1[1],input_dp_1[2],M_FLOW_1[1],M_FLOW_1[2],DP_1[1],DP_1[2],input_mdot_2[1],input_mdot_2[2],input_mdot_2[3],input_dp_2[1],input_dp_2[2],input_dp_2[3],M_FLOW_2[1],M_FLOW_2[2],M_FLOW_2[3],DP_2[1],DP_2[2],DP_2[3],frac_RD[1],frac_RD[2],velocity_1[1],velocity_1[2],Re_1[1],Re_1[2],velocity_2[1],velocity_2[2],velocity_2[3],Re_2[1],Re_2[2],Re_2[3],DP_plot_1[1],DP_plot_1[2],DP_plot_2[1],DP_plot_2[2],DP_plot_2[3],zeta_TOT_1[1],zeta_TOT_1[2],zeta_TOT_2[1],zeta_TOT_2[2],zeta_TOT_2[3],input_DP.y Variables in the result:A_cross,DP_1[1],DP_1[2],DP_2[1],DP_2[2],DP_2[3],DP_plot_1[1],DP_plot_1[2],DP_plot_2[1],DP_plot_2[2],DP_plot_2[3],K,M_FLOW_1[1],M_FLOW_1[2],M_FLOW_2[1],M_FLOW_2[2],M_FLOW_2[3],R_0[1],R_0[2],Re_1[1],Re_1[2],Re_2[1],Re_2[2],Re_2[3],d_hyd,delta[1],delta[2],delta[3],dp_IN_con_1[1].K,dp_IN_con_1[1].R_0,dp_IN_con_1[1].d_hyd,dp_IN_con_1[1].delta,dp_IN_con_1[2].K,dp_IN_con_1[2].R_0,dp_IN_con_1[2].d_hyd,dp_IN_con_1[2].delta,dp_IN_con_2[1].K,dp_IN_con_2[1].d_hyd,dp_IN_con_2[1].delta,dp_IN_con_2[2].K,dp_IN_con_2[2].d_hyd,dp_IN_con_2[2].delta,dp_IN_con_2[3].K,dp_IN_con_2[3].d_hyd,dp_IN_con_2[3].delta,eta,frac_RD[1],frac_RD[2],input_DP.duration,input_DP.height,input_DP.offset,input_DP.startTime,input_DP.y,input_dp_1[1],input_dp_1[2],input_dp_2[1],input_dp_2[2],input_dp_2[3],input_mdot_1[1],input_mdot_1[2],input_mdot_2[1],input_mdot_2[2],input_mdot_2[3],m,m_flow_IN_con_1[1].K,m_flow_IN_con_1[1].R_0,m_flow_IN_con_1[1].d_hyd,m_flow_IN_con_1[2].K,m_flow_IN_con_1[2].R_0,m_flow_IN_con_1[2].d_hyd,m_flow_IN_con_2[1].K,m_flow_IN_con_2[1].d_hyd,m_flow_IN_con_2[1].delta,m_flow_IN_con_2[2].K,m_flow_IN_con_2[2].d_hyd,m_flow_IN_con_2[2].delta,m_flow_IN_con_2[3].K,m_flow_IN_con_2[3].d_hyd,m_flow_IN_con_2[3].delta,n,rho,time,velocity_1[1],velocity_1[2],velocity_2[1],velocity_2[2],velocity_2[3],zeta_TOT_1[1],zeta_TOT_1[2],zeta_TOT_2[1],zeta_TOT_2[2],zeta_TOT_2[3]