Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_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.General.dp_idealGas_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|frac_KmToRs.1.|frac_KmToRs.2.|frac_KmToRs.3.|dp_nom.1.|dp_nom.2.|dp_nom.3.|p_2.1.|p_2.2.|p_2.3.|m_flow_nom.1.|m_flow_nom.2.|m_flow_nom.3.|Km.1.|Km.2.|Km.3.|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_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00259/0.00259, allocations: 353.5 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.71/3.71, allocations: 341.5 MB / 358.2 MB, free: 12.55 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.004962/0.004962, allocations: 221.2 kB / 397.9 MB, free: 4.902 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.7082/0.7082, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006164/0.0006168, allocations: 8 kB / 0.5592 GB, free: 53.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0903/0.09095, allocations: 48.71 MB / 0.6068 GB, free: 4.613 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.002096/0.0931, allocations: 1.45 MB / 0.6082 GB, free: 3.148 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.09481, allocations: 0.9123 MB / 0.6091 GB, free: 2.234 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.836e-05/0.09492, allocations: 0 / 0.6091 GB, free: 2.234 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002531/0.09519, allocations: 47.75 kB / 0.6091 GB, free: 2.188 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002425/0.09545, allocations: 59.66 kB / 0.6092 GB, free: 2.129 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003849/0.09585, allocations: 87.72 kB / 0.6093 GB, free: 2.043 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002629/0.09613, allocations: 230.8 kB / 0.6095 GB, free: 1.816 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.252e-05/0.09622, allocations: 25.67 kB / 0.6095 GB, free: 1.789 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.09635, allocations: 75.58 kB / 0.6096 GB, free: 1.715 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.09654, allocations: 99.55 kB / 0.6097 GB, free: 1.617 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.796e-05/0.09658, allocations: 4 kB / 0.6097 GB, free: 1.613 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000446/0.09703, allocations: 191.7 kB / 0.6099 GB, free: 1.426 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.471e-05/0.09713, allocations: 55.75 kB / 0.6099 GB, free: 1.371 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.2667/0.3638, allocations: 62.34 kB / 0.61 GB, free: 88.71 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000535/0.3644, allocations: 186.3 kB / 0.6101 GB, free: 88.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.3644, allocations: 0 / 0.6101 GB, free: 88.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3644, allocations: 0 / 0.6101 GB, free: 88.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.3645, allocations: 0 / 0.6101 GB, free: 88.7 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008768/0.3653, allocations: 0.5062 MB / 0.6106 GB, free: 88.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.3654, allocations: 8.609 kB / 0.6106 GB, free: 88.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/0.3667, allocations: 134.2 kB / 0.6108 GB, free: 88.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003935/0.3671, allocations: 252.5 kB / 0.611 GB, free: 88.06 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.3672, allocations: 16.14 kB / 0.611 GB, free: 88.06 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-05/0.3673, allocations: 19.55 kB / 0.6111 GB, free: 88.06 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.3684, allocations: 438.9 kB / 0.6115 GB, free: 87.97 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.3684, allocations: 0 / 0.6115 GB, free: 87.97 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.726e-05/0.3684, allocations: 10.86 kB / 0.6115 GB, free: 87.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.797e-05/0.3685, allocations: 28.11 kB / 0.6115 GB, free: 87.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.3697, allocations: 404.4 kB / 0.6119 GB, free: 87.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002951/0.3727, allocations: 1.483 MB / 0.6133 GB, free: 86.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004267/0.3732, allocations: 101.3 kB / 0.6134 GB, free: 86.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002621/0.3734, allocations: 61.33 kB / 0.6135 GB, free: 86.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.3735, allocations: 3.078 kB / 0.6135 GB, free: 86.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.3735, allocations: 33.09 kB / 0.6135 GB, free: 86.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 3.206e-06/0.3735, allocations: 5.125 kB / 0.6135 GB, free: 86.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.001027/0.3746, allocations: 206 kB / 0.6137 GB, free: 86.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.305e-05/0.3746, allocations: 51.41 kB / 0.6138 GB, free: 86.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005697/0.3752, allocations: 329.7 kB / 0.6141 GB, free: 86.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.3752, allocations: 28.11 kB / 0.6141 GB, free: 86.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.3754, allocations: 177 kB / 0.6143 GB, free: 86.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.341e-05/0.3754, allocations: 27.19 kB / 0.6143 GB, free: 86.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.281e-05/0.3755, allocations: 2.562 kB / 0.6143 GB, free: 86.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.739e-05/0.3756, allocations: 339.1 kB / 0.6146 GB, free: 86.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003332/0.3759, allocations: 75.08 kB / 0.6147 GB, free: 86.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003574/0.3763, allocations: 120.6 kB / 0.6148 GB, free: 86.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003685/0.3767, allocations: 90.06 kB / 0.6149 GB, free: 86.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.3767, allocations: 0 / 0.6149 GB, free: 86.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009068/0.3776, allocations: 251.2 kB / 0.6152 GB, free: 86.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.3776, allocations: 7.234 kB / 0.6152 GB, free: 86.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.3777, allocations: 5.688 kB / 0.6152 GB, free: 86.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.3777, allocations: 2.797 kB / 0.6152 GB, free: 86.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002704/0.3804, allocations: 122.5 kB / 0.6153 GB, free: 86.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002537/0.383, allocations: 1.844 MB / 0.6171 GB, free: 84.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000541/0.3835, allocations: 40.31 kB / 0.6171 GB, free: 84.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.3836, allocations: 5.953 kB / 0.6171 GB, free: 84.3 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002307/0.3838, allocations: 159.9 kB / 0.6173 GB, free: 84.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.556e-05/0.3839, allocations: 23.31 kB / 0.6173 GB, free: 84.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008254/0.3847, allocations: 208.1 kB / 0.6175 GB, free: 84.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3848, allocations: 4.703 kB / 0.6175 GB, free: 84.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.3848, allocations: 0 / 0.6175 GB, free: 84.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.709e-05/0.3849, allocations: 104.9 kB / 0.6176 GB, free: 84.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.104e-05/0.3849, allocations: 0 / 0.6176 GB, free: 84.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003403/0.3853, allocations: 13.66 kB / 0.6176 GB, free: 84.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.825e-05/0.3854, allocations: 5.953 kB / 0.6176 GB, free: 84.04 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002278/0.3877, allocations: 305.3 kB / 0.6179 GB, free: 83.9 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001076/0.3888, allocations: 432.1 kB / 0.6183 GB, free: 83.68 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002845/0.3891, allocations: 64.73 kB / 0.6184 GB, free: 83.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004282/0.3895, allocations: 244.4 kB / 0.6186 GB, free: 83.6 MB / 362.7 MB Notification: Performance of Backend: time 6.21e-07/0.3895, allocations: 0 / 0.6186 GB, free: 83.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004573/0.3941, allocations: 339.2 kB / 0.6189 GB, free: 83.53 MB / 362.7 MB Notification: Performance of SimCode: time 0.002143/0.3963, allocations: 1.027 MB / 0.62 GB, free: 82.79 MB / 362.7 MB Notification: Performance of Templates: time 0.01628/0.4126, allocations: 5.527 MB / 0.6253 GB, free: 82.61 MB / 362.7 MB "" Variables in the reference:time,frac_KmToRs[1],frac_KmToRs[2],frac_KmToRs[3],dp_nom[1],dp_nom[2],dp_nom[3],p_2[1],p_2[2],p_2[3],m_flow_nom[1],m_flow_nom[2],m_flow_nom[3],Km[1],Km[2],Km[3],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 Variables in the result:DP[1],DP[2],DP[3],DP_plot[1],DP_plot[2],DP_plot[3],Km[1],Km[2],Km[3],M_FLOW[1],M_FLOW[2],M_FLOW[3],R_s,T_m,dp_IN_con[1].R_s,dp_IN_con[1].exp,dp_IN_con[2].R_s,dp_IN_con[2].exp,dp_IN_con[3].R_s,dp_IN_con[3].exp,dp_IN_var[1].T_m,dp_IN_var[1].p_m,dp_IN_var[1].rho_m,dp_IN_var[2].T_m,dp_IN_var[2].p_m,dp_IN_var[2].rho_m,dp_IN_var[3].T_m,dp_IN_var[3].p_m,dp_IN_var[3].rho_m,dp_nom[1],dp_nom[2],dp_nom[3],exp,frac_KmToRs[1],frac_KmToRs[2],frac_KmToRs[3],input_DP.duration,input_DP.height,input_DP.offset,input_DP.startTime,input_DP.y,input_dp[1],input_dp[2],input_dp[3],input_mdot[1],input_mdot[2],input_mdot[3],m_flow_IN_con[1].R_s,m_flow_IN_con[1].exp,m_flow_IN_con[2].R_s,m_flow_IN_con[2].exp,m_flow_IN_con[3].R_s,m_flow_IN_con[3].exp,m_flow_IN_var[1].T_m,m_flow_IN_var[1].p_m,m_flow_IN_var[1].rho_m,m_flow_IN_var[2].T_m,m_flow_IN_var[2].p_m,m_flow_IN_var[2].rho_m,m_flow_IN_var[3].T_m,m_flow_IN_var[3].p_m,m_flow_IN_var[3].rho_m,m_flow_nom[1],m_flow_nom[2],m_flow_nom[3],n,p_1,p_2[1],p_2[2],p_2[3],p_m,rho_m,time