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.00387/0.003869, allocations: 364 kB / 15.96 MB, free: 6.203 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.045/4.045, allocations: 388.9 MB / 405.6 MB, free: 9.582 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.003523/0.003522, allocations: 222.7 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.65/0.65, allocations: 80.02 MB / 0.5627 GB, free: 19.75 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000503/0.0005034, allocations: 15.98 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1034, allocations: 54.87 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.002072/0.1055, allocations: 1.454 MB / 0.6815 GB, free: 40.16 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.1072, allocations: 0.9133 MB / 0.6824 GB, free: 39.24 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.828e-05/0.1073, allocations: 0 / 0.6824 GB, free: 39.24 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002395/0.1076, allocations: 47.8 kB / 0.6825 GB, free: 39.2 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.1078, allocations: 59.67 kB / 0.6825 GB, free: 39.14 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003701/0.1082, allocations: 97.52 kB / 0.6826 GB, free: 39.04 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002733/0.1085, allocations: 226.8 kB / 0.6828 GB, free: 38.82 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.583e-05/0.1086, allocations: 25.67 kB / 0.6829 GB, free: 38.8 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.1087, allocations: 75.59 kB / 0.6829 GB, free: 38.72 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.1089, allocations: 95.55 kB / 0.683 GB, free: 38.63 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.861e-05/0.109, allocations: 8 kB / 0.683 GB, free: 38.62 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004502/0.1094, allocations: 199.6 kB / 0.6832 GB, free: 38.43 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.385e-05/0.1095, allocations: 55.7 kB / 0.6833 GB, free: 38.37 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.024e-05/0.1096, allocations: 61.58 kB / 0.6833 GB, free: 38.3 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003001/0.1099, allocations: 175.9 kB / 0.6835 GB, free: 38.13 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1099, allocations: 4 kB / 0.6835 GB, free: 38.13 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1099, allocations: 4 kB / 0.6835 GB, free: 38.12 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.1099, allocations: 0 / 0.6835 GB, free: 38.12 MB / 346.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.0007924/0.1107, allocations: 0.5063 MB / 0.684 GB, free: 37.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.1108, allocations: 8.031 kB / 0.684 GB, free: 37.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/0.112, allocations: 135.4 kB / 0.6842 GB, free: 37.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003393/0.1124, allocations: 258.6 kB / 0.6844 GB, free: 37.14 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.814e-05/0.1124, allocations: 12.44 kB / 0.6844 GB, free: 37.13 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.826e-05/0.1125, allocations: 28 kB / 0.6844 GB, free: 37.1 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008862/0.1134, allocations: 445.8 kB / 0.6849 GB, free: 36.64 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1134, allocations: 0 / 0.6849 GB, free: 36.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.22e-05/0.1135, allocations: 8 kB / 0.6849 GB, free: 36.63 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.592e-05/0.1136, allocations: 24.55 kB / 0.6849 GB, free: 36.61 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.1146, allocations: 401.9 kB / 0.6853 GB, free: 36.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002619/0.1173, allocations: 1.477 MB / 0.6867 GB, free: 34.62 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003863/0.1177, allocations: 102.5 kB / 0.6868 GB, free: 34.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000245/0.1179, allocations: 56.81 kB / 0.6869 GB, free: 34.46 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.118, allocations: 4.141 kB / 0.6869 GB, free: 34.45 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.118, allocations: 42.5 kB / 0.6869 GB, free: 34.4 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.926e-06/0.118, allocations: 0 / 0.6869 GB, free: 34.4 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008958/0.1189, allocations: 205.2 kB / 0.6871 GB, free: 34.2 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.119, allocations: 55.41 kB / 0.6872 GB, free: 34.13 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004383/0.1194, allocations: 338.4 kB / 0.6875 GB, free: 33.79 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.1195, allocations: 25.7 kB / 0.6875 GB, free: 33.76 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.1196, allocations: 179.3 kB / 0.6877 GB, free: 33.58 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.1196, allocations: 23.66 kB / 0.6877 GB, free: 33.55 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.195e-05/0.1197, allocations: 4 kB / 0.6877 GB, free: 33.55 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.21e-05/0.1197, allocations: 334.8 kB / 0.688 GB, free: 33.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/0.1201, allocations: 75.94 kB / 0.6881 GB, free: 33.14 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003197/0.1204, allocations: 121.9 kB / 0.6882 GB, free: 33 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003279/0.1207, allocations: 87.94 kB / 0.6883 GB, free: 32.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.1208, allocations: 0 / 0.6883 GB, free: 32.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007696/0.1215, allocations: 261.1 kB / 0.6885 GB, free: 32.65 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.1216, allocations: 7.984 kB / 0.6886 GB, free: 32.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.1216, allocations: 4 kB / 0.6886 GB, free: 32.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.1216, allocations: 0 / 0.6886 GB, free: 32.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002627/0.1243, allocations: 120 kB / 0.6887 GB, free: 32.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002409/0.1267, allocations: 1.844 MB / 0.6905 GB, free: 30.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005011/0.1272, allocations: 31.69 kB / 0.6905 GB, free: 30.58 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.012e-05/0.1273, allocations: 7.984 kB / 0.6905 GB, free: 30.57 MB / 346.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.0001949/0.1275, allocations: 162.5 kB / 0.6907 GB, free: 30.4 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.295e-05/0.1275, allocations: 27.77 kB / 0.6907 GB, free: 30.38 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007813/0.1283, allocations: 215.1 kB / 0.6909 GB, free: 30.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.1284, allocations: 0 / 0.6909 GB, free: 30.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1284, allocations: 0 / 0.6909 GB, free: 30.16 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.31e-05/0.1285, allocations: 100.8 kB / 0.691 GB, free: 30.04 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.823e-05/0.1286, allocations: 0 / 0.691 GB, free: 30.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003423/0.1289, allocations: 15.98 kB / 0.691 GB, free: 30.03 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.618e-05/0.129, allocations: 7.984 kB / 0.691 GB, free: 30.02 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00206/0.1311, allocations: 307.2 kB / 0.6913 GB, free: 29.7 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009292/0.132, allocations: 425.6 kB / 0.6917 GB, free: 29.27 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002598/0.1323, allocations: 63.94 kB / 0.6918 GB, free: 29.21 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003598/0.1327, allocations: 241.9 kB / 0.692 GB, free: 28.98 MB / 346.7 MB Notification: Performance of Backend: time 7.51e-07/0.1327, allocations: 0 / 0.692 GB, free: 28.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004373/0.1371, allocations: 346.1 kB / 0.6923 GB, free: 28.63 MB / 346.7 MB Notification: Performance of SimCode: time 0.001955/0.1391, allocations: 1.028 MB / 0.6933 GB, free: 27.56 MB / 346.7 MB Notification: Performance of Templates: time 0.01539/0.1545, allocations: 5.516 MB / 0.6987 GB, free: 22.09 MB / 346.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