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.009063/0.009068, allocations: 347.3 kB / 15.94 MB, free: 6.219 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.687/3.687, allocations: 341.5 MB / 358.2 MB, free: 28.6 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.005149/0.005149, allocations: 217 kB / 397.8 MB, free: 6 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5717/0.5717, allocations: 76.1 MB / 0.5014 GB, free: 0.8047 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004515/0.0004518, allocations: 12 kB / 0.5592 GB, free: 60.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08966/0.09014, allocations: 48.7 MB / 0.6068 GB, free: 11.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4501/0.5403, allocations: 78.71 MB / 0.6836 GB, free: 8.875 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003711/0.5407, allocations: 95.19 kB / 0.6837 GB, free: 8.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02427/0.565, allocations: 5.801 MB / 0.6894 GB, free: 3.762 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5651, allocations: 0 / 0.6894 GB, free: 3.762 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.5651, allocations: 4 kB / 0.6894 GB, free: 3.758 MB / 314.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.0007932/0.5659, allocations: 0.4973 MB / 0.6899 GB, free: 3.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.566, allocations: 12.03 kB / 0.6899 GB, free: 3.219 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001628/0.5676, allocations: 173.4 kB / 0.69 GB, free: 3.059 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004433/0.5681, allocations: 258.3 kB / 0.6903 GB, free: 2.781 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.5681, allocations: 20.3 kB / 0.6903 GB, free: 2.766 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.856e-05/0.5682, allocations: 18.69 kB / 0.6903 GB, free: 2.754 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009287/0.5691, allocations: 436.8 kB / 0.6907 GB, free: 2.383 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.5692, allocations: 4 kB / 0.6907 GB, free: 2.379 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.572e-05/0.5692, allocations: 14.92 kB / 0.6908 GB, free: 2.371 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.813e-05/0.5693, allocations: 24.55 kB / 0.6908 GB, free: 2.348 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.5703, allocations: 386.5 kB / 0.6911 GB, free: 2.062 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003026/0.5734, allocations: 1.716 MB / 0.6928 GB, free: 348 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005711/0.574, allocations: 97.44 kB / 0.6929 GB, free: 248 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003614/0.5744, allocations: 56.12 kB / 0.693 GB, free: 196 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.5744, allocations: 7.984 kB / 0.693 GB, free: 188 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.5745, allocations: 34.56 kB / 0.693 GB, free: 144 kB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 4.538e-06/0.5745, allocations: 3.938 kB / 0.693 GB, free: 140 kB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.001377/0.5759, allocations: 207.7 kB / 0.6932 GB, free: 15.95 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.576, allocations: 51.41 kB / 0.6933 GB, free: 15.88 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007608/0.5767, allocations: 330.7 kB / 0.6936 GB, free: 15.61 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.117e-05/0.5768, allocations: 25.7 kB / 0.6936 GB, free: 15.58 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.577, allocations: 181.3 kB / 0.6938 GB, free: 15.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.792e-05/0.5771, allocations: 26.95 kB / 0.6938 GB, free: 15.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/0.5771, allocations: 7.375 kB / 0.6938 GB, free: 15.4 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002051/0.5774, allocations: 332.5 kB / 0.6941 GB, free: 15.08 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000439/0.5778, allocations: 73.58 kB / 0.6942 GB, free: 15.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004871/0.5783, allocations: 126.2 kB / 0.6943 GB, free: 14.89 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004817/0.5788, allocations: 90.06 kB / 0.6944 GB, free: 14.81 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.5788, allocations: 4 kB / 0.6944 GB, free: 14.81 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001214/0.5801, allocations: 249.6 kB / 0.6946 GB, free: 14.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.5801, allocations: 4 kB / 0.6946 GB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.5802, allocations: 4 kB / 0.6946 GB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.5802, allocations: 4.188 kB / 0.6947 GB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003396/0.5836, allocations: 115.8 kB / 0.6948 GB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004012/0.5877, allocations: 1.841 MB / 0.6966 GB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007991/0.5885, allocations: 35.05 kB / 0.6966 GB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.135e-05/0.5886, allocations: 8 kB / 0.6966 GB, free: 12.54 MB / 330.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.000361/0.589, allocations: 165.2 kB / 0.6968 GB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.5891, allocations: 23.7 kB / 0.6968 GB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/0.5904, allocations: 212.4 kB / 0.697 GB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.5904, allocations: 0 / 0.697 GB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.5904, allocations: 7.984 kB / 0.697 GB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.5905, allocations: 0 / 0.697 GB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007607/0.5912, allocations: 279.8 kB / 0.6973 GB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.5913, allocations: 0 / 0.6973 GB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00285/0.5941, allocations: 108.6 kB / 0.6974 GB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.5942, allocations: 0 / 0.6974 GB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.848e-05/0.5942, allocations: 6.562 kB / 0.6974 GB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002255/0.5965, allocations: 1.785 MB / 0.6991 GB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/0.5965, allocations: 3.984 kB / 0.6991 GB, free: 9.93 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009934/0.5975, allocations: 272.7 kB / 0.6994 GB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.5977, allocations: 96.81 kB / 0.6995 GB, free: 9.555 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.658e-05/0.5978, allocations: 4 kB / 0.6995 GB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004812/0.5983, allocations: 11.05 kB / 0.6995 GB, free: 9.543 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.841e-05/0.5984, allocations: 7.938 kB / 0.6995 GB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/0.5985, allocations: 4 kB / 0.6995 GB, free: 9.531 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005856/0.5991, allocations: 244.3 kB / 0.6997 GB, free: 9.336 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.5991, allocations: 7.938 kB / 0.6997 GB, free: 9.328 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000782/0.5999, allocations: 70.88 kB / 0.6998 GB, free: 9.262 MB / 330.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.0003574/0.6003, allocations: 133.5 kB / 0.6999 GB, free: 9.129 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005497/0.6058, allocations: 276.6 kB / 0.7002 GB, free: 8.883 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.6058, allocations: 384 / 0.7002 GB, free: 8.883 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002393/0.6082, allocations: 115.4 kB / 0.7003 GB, free: 8.777 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008605/0.6091, allocations: 54.25 kB / 0.7004 GB, free: 8.734 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.611, allocations: 0.5434 MB / 0.7009 GB, free: 8.184 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005962/0.6116, allocations: 0.7793 MB / 0.7016 GB, free: 7.383 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003776/0.612, allocations: 54.25 kB / 0.7017 GB, free: 7.328 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/0.6122, allocations: 23.44 kB / 0.7017 GB, free: 7.309 MB / 330.7 MB Notification: Performance of SimCode: time 1.353e-06/0.6122, allocations: 0 / 0.7017 GB, free: 7.309 MB / 330.7 MB Notification: Performance of Templates: time 0.01922/0.6314, allocations: 4.799 MB / 0.7064 GB, free: 2.574 MB / 330.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