Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002681/0.002687, allocations: 361 kB / 15.95 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.167/4.167, allocations: 388.9 MB / 405.6 MB, free: 9.59 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003504/0.003503, allocations: 236.6 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.673/0.673, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008274/0.0008278, allocations: 8 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1098, allocations: 54.87 MB / 0.6801 GB, free: 41.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4735/0.5833, allocations: 85.14 MB / 0.7633 GB, free: 120 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003659/0.5837, allocations: 102.4 kB / 0.7633 GB, free: 60 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02674/0.6105, allocations: 5.794 MB / 0.769 GB, free: 11.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.836e-06/0.6106, allocations: 0 / 0.769 GB, free: 11.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.495e-05/0.6106, allocations: 8 kB / 0.769 GB, free: 11 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.000967/0.6116, allocations: 0.4995 MB / 0.7695 GB, free: 10.47 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.6116, allocations: 12.03 kB / 0.7695 GB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001733/0.6134, allocations: 182.7 kB / 0.7697 GB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004808/0.6139, allocations: 249.3 kB / 0.7699 GB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.6139, allocations: 16.25 kB / 0.7699 GB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.221e-05/0.614, allocations: 23.5 kB / 0.77 GB, free: 9.992 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.6151, allocations: 440.8 kB / 0.7704 GB, free: 9.609 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.6151, allocations: 0 / 0.7704 GB, free: 9.609 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.731e-05/0.6152, allocations: 14.58 kB / 0.7704 GB, free: 9.602 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.529e-05/0.6152, allocations: 20.55 kB / 0.7704 GB, free: 9.582 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.6164, allocations: 392.1 kB / 0.7708 GB, free: 9.297 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003224/0.6196, allocations: 1.713 MB / 0.7725 GB, free: 7.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004303/0.6201, allocations: 101.5 kB / 0.7726 GB, free: 7.473 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000265/0.6204, allocations: 53.88 kB / 0.7726 GB, free: 7.422 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.578e-05/0.6205, allocations: 8.141 kB / 0.7726 GB, free: 7.414 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.6205, allocations: 34 kB / 0.7727 GB, free: 7.375 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 3.286e-06/0.6205, allocations: 0 / 0.7727 GB, free: 7.375 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.001029/0.6216, allocations: 213.9 kB / 0.7729 GB, free: 7.176 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.6216, allocations: 55.36 kB / 0.7729 GB, free: 7.109 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005699/0.6222, allocations: 333.9 kB / 0.7732 GB, free: 6.828 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.6223, allocations: 33.7 kB / 0.7733 GB, free: 6.789 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.6224, allocations: 173.2 kB / 0.7734 GB, free: 6.648 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/0.6225, allocations: 30.83 kB / 0.7735 GB, free: 6.621 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.276e-05/0.6225, allocations: 3.438 kB / 0.7735 GB, free: 6.621 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.6227, allocations: 337.3 kB / 0.7738 GB, free: 6.293 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000334/0.623, allocations: 73.62 kB / 0.7739 GB, free: 6.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003661/0.6234, allocations: 119.4 kB / 0.774 GB, free: 6.105 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003797/0.6238, allocations: 93.56 kB / 0.7741 GB, free: 6.031 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.6238, allocations: 3.938 kB / 0.7741 GB, free: 6.027 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009593/0.6248, allocations: 247.6 kB / 0.7743 GB, free: 5.812 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.6248, allocations: 8 kB / 0.7743 GB, free: 5.805 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.6249, allocations: 3.953 kB / 0.7743 GB, free: 5.801 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.6249, allocations: 4 kB / 0.7743 GB, free: 5.797 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002641/0.6275, allocations: 115.8 kB / 0.7744 GB, free: 5.684 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002868/0.6304, allocations: 1.842 MB / 0.7762 GB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005619/0.631, allocations: 35.42 kB / 0.7763 GB, free: 3.766 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.6311, allocations: 8 kB / 0.7763 GB, free: 3.758 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.0002692/0.6314, allocations: 157.4 kB / 0.7764 GB, free: 3.605 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/0.6315, allocations: 23.72 kB / 0.7764 GB, free: 3.582 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008704/0.6323, allocations: 210.8 kB / 0.7766 GB, free: 3.406 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.6324, allocations: 4 kB / 0.7766 GB, free: 3.402 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.6324, allocations: 7.938 kB / 0.7766 GB, free: 3.395 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.6324, allocations: 0 / 0.7766 GB, free: 3.395 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005293/0.6329, allocations: 275.7 kB / 0.7769 GB, free: 3.105 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.633, allocations: 4 kB / 0.7769 GB, free: 3.102 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002136/0.6351, allocations: 99.53 kB / 0.777 GB, free: 3.008 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/0.6351, allocations: 0 / 0.777 GB, free: 3.008 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/0.6352, allocations: 4 kB / 0.777 GB, free: 3.004 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001747/0.6369, allocations: 1.797 MB / 0.7788 GB, free: 1.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.637, allocations: 0 / 0.7788 GB, free: 1.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007475/0.6377, allocations: 265.2 kB / 0.779 GB, free: 0.9023 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.6379, allocations: 96.83 kB / 0.7791 GB, free: 0.7891 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.762e-05/0.6379, allocations: 11.86 kB / 0.7791 GB, free: 0.7812 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/0.6383, allocations: 8 kB / 0.7791 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.587e-05/0.6384, allocations: 15.88 kB / 0.7791 GB, free: 0.7578 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.6384, allocations: 4 kB / 0.7791 GB, free: 0.7539 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003995/0.6388, allocations: 246.1 kB / 0.7794 GB, free: 0.5625 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.747e-06/0.6388, allocations: 0 / 0.7794 GB, free: 0.5625 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005142/0.6394, allocations: 75.31 kB / 0.7795 GB, free: 0.4922 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (11): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.000278/0.6397, allocations: 138.3 kB / 0.7796 GB, free: 360 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004078/0.6438, allocations: 264.2 kB / 0.7798 GB, free: 116 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.6438, allocations: 0 / 0.7798 GB, free: 116 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001796/0.6456, allocations: 118.9 kB / 0.78 GB, free: 4 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006356/0.6463, allocations: 47.42 kB / 0.78 GB, free: 15.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.6477, allocations: 0.5336 MB / 0.7805 GB, free: 15.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000436/0.6482, allocations: 0.7855 MB / 0.7813 GB, free: 14.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002977/0.6485, allocations: 54.25 kB / 0.7813 GB, free: 14.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.6487, allocations: 19.44 kB / 0.7814 GB, free: 14.55 MB / 378.7 MB Notification: Performance of SimCode: time 1.342e-06/0.6487, allocations: 0 / 0.7814 GB, free: 14.55 MB / 378.7 MB Notification: Performance of Templates: time 0.01453/0.6632, allocations: 4.804 MB / 0.786 GB, free: 9.812 MB / 378.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