Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_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.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.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004019/0.004025, allocations: 348 kB / 15.94 MB, free: 6.215 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.842/3.842, allocations: 341.5 MB / 358.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003504/0.003503, allocations: 222.1 kB / 397.9 MB, free: 4.969 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5921/0.5921, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006373/0.0006374, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1132, allocations: 48.7 MB / 0.6068 GB, free: 4.633 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4511/0.5643, allocations: 90 MB / 0.6946 GB, free: 22.69 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003727/0.5648, allocations: 99.94 kB / 0.6947 GB, free: 22.59 MB / 362.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1+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.1+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.1+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.1263/0.6911, allocations: 22.54 MB / 0.7168 GB, free: 340 kB / 362.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.6912, allocations: 0 / 0.7168 GB, free: 340 kB / 362.7 MB Notification: Performance of Transformations before backend: time 2.08e-05/0.6912, allocations: 4 kB / 0.7168 GB, free: 336 kB / 362.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.002048/0.6933, allocations: 0.6305 MB / 0.7174 GB, free: 15.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.076e-05/0.6934, allocations: 12.02 kB / 0.7174 GB, free: 15.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000194/0.6936, allocations: 39.48 kB / 0.7174 GB, free: 15.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000697/0.6943, allocations: 262.6 kB / 0.7177 GB, free: 15.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.215e-05/0.6944, allocations: 21 kB / 0.7177 GB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.6945, allocations: 35.98 kB / 0.7177 GB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/0.6964, allocations: 0.4944 MB / 0.7182 GB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.6965, allocations: 0 / 0.7182 GB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-05/0.6966, allocations: 15.98 kB / 0.7182 GB, free: 14.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001316/0.6967, allocations: 40.97 kB / 0.7183 GB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002201/0.6989, allocations: 0.5387 MB / 0.7188 GB, free: 14.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004468/0.7035, allocations: 1.317 MB / 0.7201 GB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001882/0.7054, allocations: 377 kB / 0.7204 GB, free: 12.35 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006485/0.7061, allocations: 128.8 kB / 0.7206 GB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/0.7063, allocations: 15.97 kB / 0.7206 GB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.7063, allocations: 34.56 kB / 0.7206 GB, free: 12.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 4.309e-06/0.7063, allocations: 0 / 0.7206 GB, free: 12.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=26): time 0.002215/0.7086, allocations: 435.4 kB / 0.721 GB, free: 11.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.59e-05/0.7087, allocations: 63.36 kB / 0.7211 GB, free: 11.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.7098, allocations: 302.6 kB / 0.7214 GB, free: 11.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001222/0.7099, allocations: 37.64 kB / 0.7214 GB, free: 11.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002887/0.7102, allocations: 196.1 kB / 0.7216 GB, free: 11.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000192/0.7105, allocations: 90.66 kB / 0.7217 GB, free: 11.03 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.7105, allocations: 4 kB / 0.7217 GB, free: 11.03 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.7107, allocations: 338.8 kB / 0.722 GB, free: 10.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000524/0.7112, allocations: 137.1 kB / 0.7221 GB, free: 10.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005048/0.7118, allocations: 160.8 kB / 0.7223 GB, free: 10.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005248/0.7123, allocations: 149.3 kB / 0.7224 GB, free: 10.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.7123, allocations: 0 / 0.7224 GB, free: 10.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00131/0.7136, allocations: 376.5 kB / 0.7228 GB, free: 9.875 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.383e-05/0.7137, allocations: 7.984 kB / 0.7228 GB, free: 9.867 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.7137, allocations: 4.062 kB / 0.7228 GB, free: 9.863 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.7138, allocations: 4 kB / 0.7228 GB, free: 9.859 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.7149, allocations: 127.9 kB / 0.7229 GB, free: 9.734 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/0.7172, allocations: 3.008 MB / 0.7259 GB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005039/0.7177, allocations: 47.55 kB / 0.7259 GB, free: 6.562 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.466e-05/0.7178, allocations: 12 kB / 0.7259 GB, free: 6.551 MB / 378.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.000338/0.7181, allocations: 187.7 kB / 0.7261 GB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.347e-05/0.7182, allocations: 23.72 kB / 0.7261 GB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002702/0.7209, allocations: 476.3 kB / 0.7266 GB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.186e-05/0.7211, allocations: 4 kB / 0.7266 GB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.7211, allocations: 4 kB / 0.7266 GB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.7211, allocations: 0 / 0.7266 GB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008245/0.7219, allocations: 373.2 kB / 0.7269 GB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.722, allocations: 0 / 0.7269 GB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.723, allocations: 115.9 kB / 0.7271 GB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.357e-05/0.723, allocations: 11.92 kB / 0.7271 GB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.215e-05/0.7231, allocations: 11.98 kB / 0.7271 GB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002127/0.7252, allocations: 3.004 MB / 0.73 GB, free: 2.199 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.7253, allocations: 7.75 kB / 0.73 GB, free: 2.195 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.7265, allocations: 448.6 kB / 0.7305 GB, free: 1.742 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.7267, allocations: 116.7 kB / 0.7306 GB, free: 1.609 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.65e-05/0.7268, allocations: 3.953 kB / 0.7306 GB, free: 1.605 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003489/0.7272, allocations: 15.98 kB / 0.7306 GB, free: 1.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.7273, allocations: 23.97 kB / 0.7306 GB, free: 1.566 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.591e-05/0.7273, allocations: 12 kB / 0.7306 GB, free: 1.555 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003849/0.7277, allocations: 225.9 kB / 0.7308 GB, free: 1.332 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7277, allocations: 4 kB / 0.7308 GB, free: 1.328 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001132/0.7289, allocations: 207.6 kB / 0.731 GB, free: 1.125 MB / 378.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.0009816/0.7299, allocations: 279.1 kB / 0.7313 GB, free: 0.8477 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001779/0.7317, allocations: 375.9 kB / 0.7317 GB, free: 492 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.7317, allocations: 0 / 0.7317 GB, free: 492 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.7328, allocations: 231.8 kB / 0.7319 GB, free: 260 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007885/0.7336, allocations: 64.78 kB / 0.7319 GB, free: 204 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/0.7356, allocations: 0.8497 MB / 0.7328 GB, free: 15.34 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005308/0.7362, allocations: 0.8341 MB / 0.7336 GB, free: 14.48 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006748/0.7369, allocations: 123.6 kB / 0.7337 GB, free: 14.36 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002032/0.7371, allocations: 39.42 kB / 0.7337 GB, free: 14.32 MB / 394.7 MB Notification: Performance of SimCode: time 1.573e-06/0.7371, allocations: 0 / 0.7337 GB, free: 14.32 MB / 394.7 MB Notification: Performance of Templates: time 0.02181/0.7589, allocations: 7.334 MB / 0.7409 GB, free: 7.094 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]