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.004296/0.004301, allocations: 363.1 kB / 15.95 MB, free: 6.207 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.147/4.147, allocations: 388.9 MB / 405.6 MB, free: 9.66 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.003617/0.003617, allocations: 230.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.5975/0.5975, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004795/0.0004798, allocations: 15.98 kB / 0.6265 GB, free: 96.51 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1012, allocations: 54.86 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4879/0.5891, allocations: 93.04 MB / 0.771 GB, free: 8.293 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005103/0.5897, allocations: 101.9 kB / 0.7711 GB, free: 8.234 MB / 362.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:4809:11-4812:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:4822:11-4825:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.1087/0.6984, allocations: 15.14 MB / 0.7859 GB, free: 11.13 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6985, allocations: 0 / 0.7859 GB, free: 11.13 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.6985, allocations: 4 kB / 0.7859 GB, free: 11.12 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001402/0.6999, allocations: 0.5565 MB / 0.7864 GB, free: 10.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.7, allocations: 8.031 kB / 0.7864 GB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.156e-05/0.7001, allocations: 35.62 kB / 0.7864 GB, free: 10.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003766/0.7005, allocations: 229.7 kB / 0.7867 GB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.7005, allocations: 19.69 kB / 0.7867 GB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.805e-05/0.7006, allocations: 22.98 kB / 0.7867 GB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009549/0.7016, allocations: 364.1 kB / 0.7871 GB, free: 9.926 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.7016, allocations: 0 / 0.7871 GB, free: 9.926 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.37e-05/0.7017, allocations: 19.06 kB / 0.7871 GB, free: 9.914 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.003e-05/0.7018, allocations: 36.56 kB / 0.7871 GB, free: 9.879 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.7029, allocations: 401.2 kB / 0.7875 GB, free: 9.574 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00232/0.7052, allocations: 1.029 MB / 0.7885 GB, free: 8.555 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.7063, allocations: 289.5 kB / 0.7888 GB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003624/0.7067, allocations: 90.92 kB / 0.7889 GB, free: 8.234 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.541e-05/0.7067, allocations: 12.23 kB / 0.7889 GB, free: 8.223 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.7068, allocations: 42.5 kB / 0.7889 GB, free: 8.176 MB / 378.7 MB Notification: Performance of pre-optimization done (n=21): time 2.474e-06/0.7068, allocations: 0 / 0.7889 GB, free: 8.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=21): time 0.001251/0.7081, allocations: 342.7 kB / 0.7892 GB, free: 7.887 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.7081, allocations: 55.09 kB / 0.7893 GB, free: 7.824 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003315/0.7085, allocations: 226.8 kB / 0.7895 GB, free: 7.621 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.7085, allocations: 25.7 kB / 0.7895 GB, free: 7.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.7087, allocations: 156.9 kB / 0.7897 GB, free: 7.453 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.841e-05/0.7088, allocations: 64.89 kB / 0.7897 GB, free: 7.398 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-05/0.7088, allocations: 7.25 kB / 0.7897 GB, free: 7.395 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.709, allocations: 333.6 kB / 0.7901 GB, free: 7.066 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003322/0.7093, allocations: 85.19 kB / 0.7901 GB, free: 6.996 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/0.7097, allocations: 112.2 kB / 0.7903 GB, free: 6.895 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000363/0.7101, allocations: 94.38 kB / 0.7903 GB, free: 6.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.7101, allocations: 0 / 0.7903 GB, free: 6.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009106/0.711, allocations: 268.9 kB / 0.7906 GB, free: 6.594 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.711, allocations: 8 kB / 0.7906 GB, free: 6.586 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.711, allocations: 0 / 0.7906 GB, free: 6.586 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.7111, allocations: 0 / 0.7906 GB, free: 6.586 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000796/0.7119, allocations: 94.58 kB / 0.7907 GB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001662/0.7136, allocations: 2.379 MB / 0.793 GB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/0.7139, allocations: 42.86 kB / 0.7931 GB, free: 4.012 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-05/0.714, allocations: 11.88 kB / 0.7931 GB, free: 4.004 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 (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.0002578/0.7142, allocations: 160.1 kB / 0.7932 GB, free: 3.852 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-05/0.7143, allocations: 19.72 kB / 0.7932 GB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.7156, allocations: 368.5 kB / 0.7936 GB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.7156, allocations: 4 kB / 0.7936 GB, free: 3.531 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.7157, allocations: 0 / 0.7936 GB, free: 3.531 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.7157, allocations: 3.953 kB / 0.7936 GB, free: 3.527 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005698/0.7163, allocations: 314 kB / 0.7939 GB, free: 3.211 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.7163, allocations: 3.938 kB / 0.7939 GB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008007/0.7171, allocations: 102.9 kB / 0.794 GB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/0.7171, allocations: 4 kB / 0.794 GB, free: 3.113 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/0.7171, allocations: 7 kB / 0.794 GB, free: 3.109 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00164/0.7188, allocations: 2.386 MB / 0.7963 GB, free: 0.6523 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.7188, allocations: 0 / 0.7963 GB, free: 0.6523 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009494/0.7198, allocations: 372.3 kB / 0.7967 GB, free: 328 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/0.72, allocations: 119.7 kB / 0.7968 GB, free: 192 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.72e-05/0.7201, allocations: 7.25 kB / 0.7968 GB, free: 188 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002739/0.7204, allocations: 11.02 kB / 0.7968 GB, free: 180 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.986e-05/0.7205, allocations: 23.03 kB / 0.7969 GB, free: 160 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/0.7205, allocations: 11 kB / 0.7969 GB, free: 152 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000243/0.7208, allocations: 173.8 kB / 0.797 GB, free: 4 kB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7208, allocations: 0 / 0.797 GB, free: 4 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.000841/0.7216, allocations: 181 kB / 0.7972 GB, free: 15.84 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 (25): * Single equations (assignments): 21 * 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 Backend phase and start with SimCode phase: time 0.0007304/0.7224, allocations: 260.1 kB / 0.7975 GB, free: 15.58 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001266/0.7237, allocations: 267.8 kB / 0.7977 GB, free: 15.36 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.7237, allocations: 4 kB / 0.7977 GB, free: 15.35 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008146/0.7245, allocations: 178.8 kB / 0.7979 GB, free: 15.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005775/0.7251, allocations: 45.95 kB / 0.7979 GB, free: 15.17 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.7266, allocations: 0.6532 MB / 0.7986 GB, free: 14.53 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005148/0.7271, allocations: 0.7906 MB / 0.7993 GB, free: 13.72 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004587/0.7276, allocations: 85.75 kB / 0.7994 GB, free: 13.63 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.7277, allocations: 35.23 kB / 0.7994 GB, free: 13.6 MB / 394.7 MB Notification: Performance of SimCode: time 7.284e-06/0.7277, allocations: 0 / 0.7994 GB, free: 13.6 MB / 394.7 MB Notification: Performance of Templates: time 0.01673/0.7445, allocations: 5.744 MB / 0.8051 GB, free: 7.906 MB / 394.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]