Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_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.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.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004371/0.004371, allocations: 371.2 kB / 15.97 MB, free: 6.195 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 3.848/3.848, allocations: 388.9 MB / 405.6 MB, free: 48.55 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.005003/0.005003, allocations: 228.8 kB / 451 MB, free: 3.035 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.8568/0.8568, allocations: 80.01 MB / 0.5627 GB, free: 6.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006425/0.0006427, allocations: 12 kB / 0.6265 GB, free: 4.801 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1676, allocations: 54.88 MB / 0.6801 GB, free: 13.78 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW): time 0.003284/0.171, allocations: 1.773 MB / 0.6819 GB, free: 12 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004422/0.1755, allocations: 1.744 MB / 0.6836 GB, free: 10.24 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002451/0.1758, allocations: 4 kB / 0.6836 GB, free: 10.24 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003707/0.1762, allocations: 51.73 kB / 0.6836 GB, free: 10.19 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005715/0.1768, allocations: 143.3 kB / 0.6838 GB, free: 10.05 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002127/0.1789, allocations: 0.5028 MB / 0.6843 GB, free: 9.543 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007406/0.1797, allocations: 438.1 kB / 0.6847 GB, free: 9.113 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.1798, allocations: 40.66 kB / 0.6847 GB, free: 9.066 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003089/0.1801, allocations: 135.3 kB / 0.6848 GB, free: 8.934 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003772/0.1805, allocations: 183.3 kB / 0.685 GB, free: 8.754 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.166e-05/0.1806, allocations: 12 kB / 0.685 GB, free: 8.742 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003386/0.184, allocations: 1.536 MB / 0.6865 GB, free: 7.203 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002642/0.1843, allocations: 95.58 kB / 0.6866 GB, free: 7.109 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.1845, allocations: 73.58 kB / 0.6867 GB, free: 7.031 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00135/0.1859, allocations: 0.4991 MB / 0.6872 GB, free: 6.531 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1859, allocations: 4 kB / 0.6872 GB, free: 6.527 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1859, allocations: 0 / 0.6872 GB, free: 6.527 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.1859, allocations: 0 / 0.6872 GB, free: 6.527 MB / 394.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.00151/0.1875, allocations: 0.6081 MB / 0.6878 GB, free: 5.871 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.801e-05/0.1875, allocations: 8.031 kB / 0.6878 GB, free: 5.863 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.1877, allocations: 39.53 kB / 0.6878 GB, free: 5.824 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004725/0.1882, allocations: 266.4 kB / 0.6881 GB, free: 5.523 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.361e-05/0.1882, allocations: 36.59 kB / 0.6881 GB, free: 5.488 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.987e-05/0.1883, allocations: 35.97 kB / 0.6881 GB, free: 5.453 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.1896, allocations: 499.9 kB / 0.6886 GB, free: 4.961 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.1897, allocations: 0 / 0.6886 GB, free: 4.961 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.264e-05/0.1898, allocations: 15.98 kB / 0.6886 GB, free: 4.945 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000118/0.1899, allocations: 52.95 kB / 0.6887 GB, free: 4.891 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.1914, allocations: 0.5425 MB / 0.6892 GB, free: 4.352 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003052/0.1945, allocations: 1.294 MB / 0.6905 GB, free: 2.941 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.1959, allocations: 378.4 kB / 0.6908 GB, free: 2.562 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004342/0.1963, allocations: 124.8 kB / 0.691 GB, free: 2.438 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.064e-05/0.1964, allocations: 19.97 kB / 0.691 GB, free: 2.418 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.1965, allocations: 38.56 kB / 0.691 GB, free: 2.371 MB / 394.7 MB Notification: Performance of pre-optimization done (n=26): time 3.086e-06/0.1965, allocations: 0 / 0.691 GB, free: 2.371 MB / 394.7 MB Notification: Performance of matching and sorting (n=26): time 0.001602/0.1981, allocations: 445 kB / 0.6914 GB, free: 1.93 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.1982, allocations: 59.34 kB / 0.6915 GB, free: 1.859 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005212/0.1987, allocations: 302.5 kB / 0.6918 GB, free: 1.559 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.21e-05/0.1987, allocations: 29.7 kB / 0.6918 GB, free: 1.523 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.199, allocations: 200 kB / 0.692 GB, free: 1.324 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.1991, allocations: 94.67 kB / 0.6921 GB, free: 1.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.1992, allocations: 4 kB / 0.6921 GB, free: 1.227 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.1993, allocations: 343 kB / 0.6924 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004729/0.1998, allocations: 123.9 kB / 0.6925 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004888/0.2003, allocations: 154.7 kB / 0.6927 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005274/0.2009, allocations: 153.3 kB / 0.6928 GB, free: 464 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.2009, allocations: 0 / 0.6928 GB, free: 464 kB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001294/0.2022, allocations: 386.4 kB / 0.6932 GB, free: 72 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.2022, allocations: 8 kB / 0.6932 GB, free: 64 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.2023, allocations: 3.984 kB / 0.6932 GB, free: 60 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/0.2023, allocations: 4 kB / 0.6932 GB, free: 56 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3527/0.555, allocations: 122.8 kB / 0.6933 GB, free: 80.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001986/0.5571, allocations: 3.01 MB / 0.6963 GB, free: 78.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006173/0.5577, allocations: 42.14 kB / 0.6963 GB, free: 78.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-05/0.5578, allocations: 20.67 kB / 0.6963 GB, free: 78.06 MB / 394.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.0003403/0.5582, allocations: 181.3 kB / 0.6965 GB, free: 77.95 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.5583, allocations: 24.69 kB / 0.6965 GB, free: 77.95 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001952/0.5603, allocations: 462.1 kB / 0.697 GB, free: 77.91 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.5603, allocations: 5.344 kB / 0.697 GB, free: 77.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.5603, allocations: 1.344 kB / 0.697 GB, free: 77.91 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.5605, allocations: 104.4 kB / 0.6971 GB, free: 77.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.5606, allocations: 13.89 kB / 0.6971 GB, free: 77.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004581/0.5611, allocations: 18.44 kB / 0.6971 GB, free: 77.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.5612, allocations: 24.3 kB / 0.6971 GB, free: 77.8 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002405/0.5636, allocations: 0.5545 MB / 0.6977 GB, free: 77.64 MB / 394.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002158/0.5658, allocations: 0.6994 MB / 0.6984 GB, free: 77.42 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006021/0.5665, allocations: 141.7 kB / 0.6985 GB, free: 77.42 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004483/0.5669, allocations: 235.8 kB / 0.6987 GB, free: 77.34 MB / 394.7 MB Notification: Performance of Backend: time 8.71e-07/0.5669, allocations: 2.344 kB / 0.6987 GB, free: 77.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003225/0.5702, allocations: 463.1 kB / 0.6992 GB, free: 77.27 MB / 394.7 MB Notification: Performance of SimCode: time 0.002367/0.5726, allocations: 1.26 MB / 0.7004 GB, free: 76.44 MB / 394.7 MB Notification: Performance of Templates: time 0.02686/0.5995, allocations: 8.085 MB / 0.7083 GB, free: 76.12 MB / 394.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]