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.004414/0.004419, allocations: 362.5 kB / 15.95 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.056/4.056, allocations: 388.9 MB / 405.6 MB, free: 9.668 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.00368/0.003679, allocations: 240.8 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.528/0.528, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004462/0.0004464, allocations: 8 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.114, allocations: 54.87 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5736/0.6877, allocations: 96.52 MB / 0.7744 GB, free: 4.867 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003432/0.6881, allocations: 101.1 kB / 0.7745 GB, free: 4.809 MB / 362.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:4646:11-4649:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:4673:11-4676:68:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:4633:11-4636:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:4660:11-4663:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.1212/0.8093, allocations: 22.57 MB / 0.7965 GB, free: 1.371 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.8094, allocations: 0 / 0.7965 GB, free: 1.371 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.814e-05/0.8094, allocations: 4 kB / 0.7965 GB, free: 1.367 MB / 378.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.001615/0.811, allocations: 0.624 MB / 0.7971 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.8111, allocations: 12.03 kB / 0.7971 GB, free: 0.707 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.8112, allocations: 35.53 kB / 0.7972 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004842/0.8117, allocations: 261.1 kB / 0.7974 GB, free: 396 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.508e-05/0.8118, allocations: 24.31 kB / 0.7974 GB, free: 380 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.552e-05/0.8119, allocations: 34.05 kB / 0.7975 GB, free: 356 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.8132, allocations: 0.5012 MB / 0.798 GB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.8132, allocations: 0 / 0.798 GB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.535e-05/0.8133, allocations: 15.73 kB / 0.798 GB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-05/0.8134, allocations: 36.92 kB / 0.798 GB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.8148, allocations: 0.5372 MB / 0.7985 GB, free: 15.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003076/0.8179, allocations: 1.316 MB / 0.7998 GB, free: 14.22 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/0.8193, allocations: 374.5 kB / 0.8002 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000427/0.8197, allocations: 130.9 kB / 0.8003 GB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.142e-05/0.8198, allocations: 11.98 kB / 0.8003 GB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.8198, allocations: 42.34 kB / 0.8004 GB, free: 13.74 MB / 394.7 MB Notification: Performance of pre-optimization done (n=26): time 2.615e-06/0.8199, allocations: 0 / 0.8004 GB, free: 13.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=26): time 0.001538/0.8214, allocations: 436 kB / 0.8008 GB, free: 13.38 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.8215, allocations: 62.83 kB / 0.8008 GB, free: 13.3 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004957/0.822, allocations: 303.9 kB / 0.8011 GB, free: 13.05 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/0.822, allocations: 29.02 kB / 0.8012 GB, free: 13.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.8222, allocations: 195.8 kB / 0.8013 GB, free: 12.86 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.8223, allocations: 94.66 kB / 0.8014 GB, free: 12.78 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.729e-05/0.8224, allocations: 3.562 kB / 0.8014 GB, free: 12.78 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.8226, allocations: 342.7 kB / 0.8018 GB, free: 12.45 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000443/0.823, allocations: 120.8 kB / 0.8019 GB, free: 12.35 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004752/0.8235, allocations: 162.9 kB / 0.802 GB, free: 12.21 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005003/0.8241, allocations: 157.7 kB / 0.8022 GB, free: 12.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.8241, allocations: 0 / 0.8022 GB, free: 12.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001186/0.8253, allocations: 384.8 kB / 0.8025 GB, free: 11.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.8253, allocations: 8 kB / 0.8026 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.8253, allocations: 0 / 0.8026 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.8254, allocations: 0 / 0.8026 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.8264, allocations: 131 kB / 0.8027 GB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002065/0.8285, allocations: 3.011 MB / 0.8056 GB, free: 8.559 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005049/0.8291, allocations: 43.44 kB / 0.8057 GB, free: 8.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.548e-05/0.8291, allocations: 15.86 kB / 0.8057 GB, free: 8.508 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.000326/0.8295, allocations: 180.8 kB / 0.8058 GB, free: 8.34 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.263e-05/0.8296, allocations: 27.72 kB / 0.8059 GB, free: 8.312 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00162/0.8312, allocations: 470.8 kB / 0.8063 GB, free: 7.941 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/0.8312, allocations: 7.953 kB / 0.8063 GB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.8312, allocations: 0 / 0.8063 GB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.8313, allocations: 0 / 0.8063 GB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007193/0.832, allocations: 374.4 kB / 0.8067 GB, free: 7.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.832, allocations: 0 / 0.8067 GB, free: 7.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.833, allocations: 119.3 kB / 0.8068 GB, free: 7.465 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/0.833, allocations: 0 / 0.8068 GB, free: 7.465 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.114e-05/0.8331, allocations: 15.69 kB / 0.8068 GB, free: 7.457 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002216/0.8353, allocations: 3.007 MB / 0.8098 GB, free: 4.367 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.8354, allocations: 0 / 0.8098 GB, free: 4.367 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.8366, allocations: 466.8 kB / 0.8102 GB, free: 3.957 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.8367, allocations: 104.7 kB / 0.8103 GB, free: 3.836 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.819e-05/0.8368, allocations: 15.73 kB / 0.8103 GB, free: 3.824 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003442/0.8372, allocations: 10.69 kB / 0.8103 GB, free: 3.816 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.813e-05/0.8373, allocations: 27.59 kB / 0.8103 GB, free: 3.793 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.591e-05/0.8373, allocations: 15.48 kB / 0.8104 GB, free: 3.781 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000371/0.8377, allocations: 222.7 kB / 0.8106 GB, free: 3.602 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.485e-06/0.8377, allocations: 0 / 0.8106 GB, free: 3.602 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009995/0.8388, allocations: 205.1 kB / 0.8108 GB, free: 3.414 MB / 394.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 (31): * Single equations (assignments): 26 * 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 Backend phase and start with SimCode phase: time 0.0008748/0.8396, allocations: 296.8 kB / 0.8111 GB, free: 3.125 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001655/0.8413, allocations: 374.7 kB / 0.8114 GB, free: 2.816 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.8413, allocations: 0 / 0.8114 GB, free: 2.816 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.8424, allocations: 222.2 kB / 0.8116 GB, free: 2.633 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008042/0.8432, allocations: 69.33 kB / 0.8117 GB, free: 2.582 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.8451, allocations: 0.8308 MB / 0.8125 GB, free: 1.773 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005522/0.8457, allocations: 0.8508 MB / 0.8133 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006529/0.8463, allocations: 122.7 kB / 0.8134 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.8465, allocations: 35.11 kB / 0.8135 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of SimCode: time 1.192e-06/0.8466, allocations: 0 / 0.8135 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of Templates: time 0.02124/0.8678, allocations: 7.349 MB / 0.8207 GB, free: 9.469 MB / 410.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]