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_edgedOverall_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_edgedOverall_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|delta.1.|delta.2.|delta.3.|delta.4.|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002737/0.002741, allocations: 366.5 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.181/4.181, allocations: 388.9 MB / 405.6 MB, free: 10.23 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.003705/0.003705, allocations: 231.9 kB / 451 MB, free: 145.1 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.6436/0.6436, allocations: 80.03 MB / 0.5627 GB, free: 19.83 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006443/0.0006445, allocations: 12 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.147, allocations: 54.87 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW): time 0.002271/0.1494, allocations: 1.502 MB / 0.6816 GB, free: 40.11 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003099/0.1525, allocations: 1.659 MB / 0.6832 GB, free: 38.45 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.281e-05/0.1527, allocations: 4 kB / 0.6832 GB, free: 38.44 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002768/0.153, allocations: 47.75 kB / 0.6833 GB, free: 38.39 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003057/0.1533, allocations: 63.72 kB / 0.6833 GB, free: 38.33 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.1548, allocations: 0.5053 MB / 0.6838 GB, free: 37.83 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003418/0.1552, allocations: 262.8 kB / 0.6841 GB, free: 37.57 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.335e-05/0.1553, allocations: 25.61 kB / 0.6841 GB, free: 37.55 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.1555, allocations: 87.58 kB / 0.6842 GB, free: 37.46 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.1557, allocations: 111.5 kB / 0.6843 GB, free: 37.35 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.146e-05/0.1557, allocations: 8 kB / 0.6843 GB, free: 37.34 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002069/0.1578, allocations: 1.092 MB / 0.6853 GB, free: 36.25 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.158, allocations: 71.73 kB / 0.6854 GB, free: 36.18 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.437e-05/0.1581, allocations: 61.58 kB / 0.6855 GB, free: 36.11 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009338/0.1591, allocations: 423.4 kB / 0.6859 GB, free: 35.7 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.1591, allocations: 0 / 0.6859 GB, free: 35.7 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1591, allocations: 0 / 0.6859 GB, free: 35.7 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.1591, allocations: 0 / 0.6859 GB, free: 35.7 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.00103/0.1602, allocations: 0.5613 MB / 0.6864 GB, free: 35.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.1602, allocations: 8.031 kB / 0.6864 GB, free: 35.08 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.779e-05/0.1603, allocations: 27.62 kB / 0.6865 GB, free: 35.05 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.1606, allocations: 230.7 kB / 0.6867 GB, free: 34.79 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.1606, allocations: 12.44 kB / 0.6867 GB, free: 34.78 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.704e-05/0.1607, allocations: 24 kB / 0.6867 GB, free: 34.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007976/0.1615, allocations: 380.3 kB / 0.6871 GB, free: 34.38 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.1615, allocations: 8 kB / 0.6871 GB, free: 34.37 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.1616, allocations: 7.984 kB / 0.6871 GB, free: 34.36 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.827e-05/0.1616, allocations: 40.58 kB / 0.6871 GB, free: 34.32 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.1626, allocations: 398.3 kB / 0.6875 GB, free: 33.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001884/0.1646, allocations: 1.028 MB / 0.6885 GB, free: 32.8 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009274/0.1655, allocations: 282.5 kB / 0.6888 GB, free: 32.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003448/0.1659, allocations: 97.17 kB / 0.6889 GB, free: 32.43 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.803e-05/0.166, allocations: 16.23 kB / 0.6889 GB, free: 32.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.166, allocations: 34.75 kB / 0.6889 GB, free: 32.37 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 2.896e-06/0.166, allocations: 0 / 0.6889 GB, free: 32.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.001172/0.1672, allocations: 342.4 kB / 0.6893 GB, free: 32.03 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.1672, allocations: 55.41 kB / 0.6893 GB, free: 31.96 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002827/0.1675, allocations: 221.1 kB / 0.6895 GB, free: 31.73 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.1676, allocations: 33.7 kB / 0.6895 GB, free: 31.7 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.981e-05/0.1677, allocations: 144.4 kB / 0.6897 GB, free: 31.55 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.009e-05/0.1678, allocations: 78.84 kB / 0.6898 GB, free: 31.47 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/0.1678, allocations: 4 kB / 0.6898 GB, free: 31.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.068e-05/0.1679, allocations: 330.8 kB / 0.6901 GB, free: 31.13 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/0.1682, allocations: 83.92 kB / 0.6902 GB, free: 31.05 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00032/0.1685, allocations: 118 kB / 0.6903 GB, free: 30.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003396/0.1689, allocations: 107.8 kB / 0.6904 GB, free: 30.82 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.1689, allocations: 0 / 0.6904 GB, free: 30.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008183/0.1697, allocations: 269.2 kB / 0.6906 GB, free: 30.55 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.1698, allocations: 11.94 kB / 0.6906 GB, free: 30.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.1698, allocations: 0 / 0.6906 GB, free: 30.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.1698, allocations: 0 / 0.6906 GB, free: 30.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007828/0.1706, allocations: 91.95 kB / 0.6907 GB, free: 30.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001095/0.1717, allocations: 2.387 MB / 0.6931 GB, free: 27.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003058/0.1721, allocations: 23.75 kB / 0.6931 GB, free: 27.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.931e-05/0.1721, allocations: 19.92 kB / 0.6931 GB, free: 27.93 MB / 346.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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002167/0.1724, allocations: 166.5 kB / 0.6933 GB, free: 27.76 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-05/0.1724, allocations: 19.72 kB / 0.6933 GB, free: 27.74 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/0.1739, allocations: 355.4 kB / 0.6936 GB, free: 27.39 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.174, allocations: 3.984 kB / 0.6936 GB, free: 27.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.174, allocations: 0 / 0.6936 GB, free: 27.39 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001704/0.1742, allocations: 116.8 kB / 0.6937 GB, free: 27.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.985e-05/0.1742, allocations: 11.94 kB / 0.6937 GB, free: 27.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002758/0.1745, allocations: 19.92 kB / 0.6938 GB, free: 27.22 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.416e-05/0.1746, allocations: 23.97 kB / 0.6938 GB, free: 27.2 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001463/0.1761, allocations: 462.7 kB / 0.6942 GB, free: 26.73 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001248/0.1774, allocations: 0.5764 MB / 0.6948 GB, free: 26.14 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003451/0.1778, allocations: 108.6 kB / 0.6949 GB, free: 26.03 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002388/0.178, allocations: 169.5 kB / 0.6951 GB, free: 25.87 MB / 346.7 MB Notification: Performance of Backend: time 7.71e-07/0.178, allocations: 0 / 0.6951 GB, free: 25.87 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001918/0.18, allocations: 389.9 kB / 0.6954 GB, free: 25.48 MB / 346.7 MB Notification: Performance of SimCode: time 0.001458/0.1815, allocations: 1.087 MB / 0.6965 GB, free: 24.34 MB / 346.7 MB Notification: Performance of Templates: time 0.01595/0.1974, allocations: 6.396 MB / 0.7027 GB, free: 18 MB / 346.7 MB "" Variables in the reference:time,delta[1],delta[2],delta[3],delta[4],eta,rho,input_mdot[1],input_mdot[2],input_mdot[3],input_mdot[4],input_dp[1],input_dp[2],input_dp[3],input_dp[4],M_FLOW[1],M_FLOW[2],M_FLOW[3],M_FLOW[4],DP[1],DP[2],DP[3],DP[4],DP_plot[1],DP_plot[2],DP_plot[3],DP_plot[4],velocity[1],velocity[2],velocity[3],velocity[4],Re[1],Re[2],Re[3],Re[4],zeta_TOT[1],zeta_TOT[2],zeta_TOT[3],zeta_TOT[4],input_DP.y Variables in the result:A_cross,DP[1],DP[2],DP[3],DP[4],DP_plot[1],DP_plot[2],DP_plot[3],DP_plot[4],K,M_FLOW[1],M_FLOW[2],M_FLOW[3],M_FLOW[4],Re[1],Re[2],Re[3],Re[4],d_hyd,delta[1],delta[2],delta[3],delta[4],dp_IN_con[1].K,dp_IN_con[1].d_hyd,dp_IN_con[1].delta,dp_IN_con[2].K,dp_IN_con[2].d_hyd,dp_IN_con[2].delta,dp_IN_con[3].K,dp_IN_con[3].d_hyd,dp_IN_con[3].delta,dp_IN_con[4].K,dp_IN_con[4].d_hyd,dp_IN_con[4].delta,eta,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_dp[4],input_mdot[1],input_mdot[2],input_mdot[3],input_mdot[4],m_flow_IN_con[1].K,m_flow_IN_con[1].d_hyd,m_flow_IN_con[1].delta,m_flow_IN_con[2].K,m_flow_IN_con[2].d_hyd,m_flow_IN_con[2].delta,m_flow_IN_con[3].K,m_flow_IN_con[3].d_hyd,m_flow_IN_con[3].delta,m_flow_IN_con[4].K,m_flow_IN_con[4].d_hyd,m_flow_IN_con[4].delta,n,rho,time,velocity[1],velocity[2],velocity[3],velocity[4],zeta_TOT[1],zeta_TOT[2],zeta_TOT[3],zeta_TOT[4]