Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.Orifice.dp_thickEdgedOverall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|L|A_1.1.|A_1.2.|A_1.3.|A_1.4.|A_1.5.|A_1.6.|C_1.1.|C_1.2.|C_1.3.|C_1.4.|C_1.5.|C_1.6.|A0_2_A1.1.|A0_2_A1.2.|A0_2_A1.3.|A0_2_A1.4.|A0_2_A1.5.|A0_2_A1.6.|L|l_bar|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_mdot.5.|input_mdot.6.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|input_dp.5.|input_dp.6.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|M_FLOW.5.|M_FLOW.6.|DP.1.|DP.2.|DP.3.|DP.4.|DP.5.|DP.6.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|DP_plot.5.|DP_plot.6.|A_cross.1.|A_cross.2.|A_cross.3.|A_cross.4.|A_cross.5.|A_cross.6.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|velocity.5.|velocity.6.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|zeta_TOT.5.|zeta_TOT.6.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003903/0.003908, allocations: 358.5 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.166/4.166, allocations: 388.9 MB / 405.6 MB, free: 9.641 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.003548/0.003547, allocations: 220.1 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.5198/0.5198, allocations: 80.02 MB / 0.5627 GB, free: 19.75 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004861/0.0004863, allocations: 16 kB / 0.6265 GB, free: 96.49 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.105, allocations: 54.87 MB / 0.6801 GB, free: 41.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4795/0.5846, allocations: 87.88 MB / 0.7659 GB, free: 13.41 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004898/0.5851, allocations: 102.2 kB / 0.766 GB, free: 13.35 MB / 362.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:5845:11-5846:124:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:5858:11-5861:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:5836:11-5843:48:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:5849:11-5856:46:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.06431/0.6495, allocations: 10.22 MB / 0.776 GB, free: 4.375 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.6495, allocations: 0 / 0.776 GB, free: 4.375 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.706e-05/0.6495, allocations: 4 kB / 0.776 GB, free: 4.371 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.00151/0.6511, allocations: 0.6842 MB / 0.7767 GB, free: 3.668 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.6511, allocations: 12.03 kB / 0.7767 GB, free: 3.656 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.6513, allocations: 51.34 kB / 0.7768 GB, free: 3.605 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005817/0.6519, allocations: 315.7 kB / 0.7771 GB, free: 3.273 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.363e-05/0.6519, allocations: 34.8 kB / 0.7771 GB, free: 3.254 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.6521, allocations: 48.77 kB / 0.7771 GB, free: 3.219 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.6537, allocations: 0.6872 MB / 0.7778 GB, free: 2.703 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.6537, allocations: 4 kB / 0.7778 GB, free: 2.699 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-05/0.6538, allocations: 23.3 kB / 0.7778 GB, free: 2.691 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-05/0.6539, allocations: 49.16 kB / 0.7779 GB, free: 2.648 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001847/0.6558, allocations: 0.7308 MB / 0.7786 GB, free: 2.102 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004305/0.6601, allocations: 1.705 MB / 0.7803 GB, free: 496 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.6613, allocations: 364.8 kB / 0.7806 GB, free: 212 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004793/0.6618, allocations: 145.5 kB / 0.7807 GB, free: 92 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.914e-05/0.6619, allocations: 16.2 kB / 0.7808 GB, free: 76 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.6619, allocations: 42.3 kB / 0.7808 GB, free: 28 kB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 2.975e-06/0.6619, allocations: 0 / 0.7808 GB, free: 28 kB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.001779/0.6637, allocations: 0.4975 MB / 0.7813 GB, free: 15.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.564e-05/0.6638, allocations: 55.41 kB / 0.7813 GB, free: 15.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000859/0.6647, allocations: 446.7 kB / 0.7818 GB, free: 15.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.58e-05/0.6647, allocations: 37.25 kB / 0.7818 GB, free: 15.13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002268/0.665, allocations: 260.1 kB / 0.782 GB, free: 14.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.6651, allocations: 95.33 kB / 0.7821 GB, free: 14.85 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.6652, allocations: 6.5 kB / 0.7821 GB, free: 14.85 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.6653, allocations: 349.1 kB / 0.7825 GB, free: 14.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005026/0.6658, allocations: 151.3 kB / 0.7826 GB, free: 14.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005954/0.6665, allocations: 262.7 kB / 0.7829 GB, free: 14.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005811/0.6671, allocations: 187.7 kB / 0.783 GB, free: 13.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.267e-05/0.6671, allocations: 4 kB / 0.7831 GB, free: 13.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001557/0.6687, allocations: 492.3 kB / 0.7835 GB, free: 13.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.6687, allocations: 4 kB / 0.7835 GB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.6687, allocations: 4 kB / 0.7835 GB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.76e-05/0.6688, allocations: 8 kB / 0.7835 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.67, allocations: 156 kB / 0.7837 GB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002821/0.6728, allocations: 3.621 MB / 0.7872 GB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005886/0.6734, allocations: 52.94 kB / 0.7873 GB, free: 9.637 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.456e-05/0.6735, allocations: 23.8 kB / 0.7873 GB, free: 9.617 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004494/0.674, allocations: 225.5 kB / 0.7875 GB, free: 9.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.6741, allocations: 39.48 kB / 0.7875 GB, free: 9.371 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00197/0.6761, allocations: 0.542 MB / 0.7881 GB, free: 8.934 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/0.6762, allocations: 7.984 kB / 0.7881 GB, free: 8.926 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.6762, allocations: 3.938 kB / 0.7881 GB, free: 8.922 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.6762, allocations: 3.984 kB / 0.7881 GB, free: 8.918 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.6772, allocations: 454.8 kB / 0.7885 GB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.6773, allocations: 0 / 0.7885 GB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/0.6784, allocations: 140.8 kB / 0.7887 GB, free: 8.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.582e-05/0.6784, allocations: 3.953 kB / 0.7887 GB, free: 8.371 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.993e-05/0.6785, allocations: 18.86 kB / 0.7887 GB, free: 8.359 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002782/0.6812, allocations: 3.6 MB / 0.7922 GB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.774e-06/0.6813, allocations: 3.938 kB / 0.7922 GB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/0.6832, allocations: 0.6781 MB / 0.7929 GB, free: 4.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000322/0.6836, allocations: 158.4 kB / 0.793 GB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.6837, allocations: 10.77 kB / 0.793 GB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/0.6841, allocations: 22.36 kB / 0.793 GB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.6842, allocations: 27.41 kB / 0.7931 GB, free: 3.855 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-05/0.6843, allocations: 15.19 kB / 0.7931 GB, free: 3.844 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006898/0.685, allocations: 339.6 kB / 0.7934 GB, free: 3.574 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.685, allocations: 0 / 0.7934 GB, free: 3.574 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009145/0.6859, allocations: 180.2 kB / 0.7936 GB, free: 3.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * 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 (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005694/0.6865, allocations: 217.1 kB / 0.7938 GB, free: 3.199 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00195/0.6884, allocations: 452 kB / 0.7942 GB, free: 2.824 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.6885, allocations: 0 / 0.7942 GB, free: 2.824 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001244/0.6897, allocations: 272.3 kB / 0.7945 GB, free: 2.598 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005585/0.6903, allocations: 33 kB / 0.7945 GB, free: 2.586 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002659/0.693, allocations: 1.112 MB / 0.7956 GB, free: 1.496 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000692/0.6937, allocations: 0.9118 MB / 0.7965 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007319/0.6945, allocations: 147 kB / 0.7966 GB, free: 436 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/0.6947, allocations: 51.05 kB / 0.7967 GB, free: 392 kB / 378.7 MB Notification: Performance of SimCode: time 1.352e-06/0.6947, allocations: 0 / 0.7967 GB, free: 392 kB / 378.7 MB Notification: Performance of Templates: time 0.02057/0.7153, allocations: 6.303 MB / 0.8028 GB, free: 10.12 MB / 394.7 MB