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_suddenChange_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_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|frac_A1toA2|frac_A1toA2|A_1|A_2|C_1|C_2|eta|rho|input_mdot|input_dp|M_FLOW|DP|d_hyd|velocity|Re|DP_plot|zeta_TOT|input_DP.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00468/0.00468, allocations: 363.1 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.02/4.02, allocations: 388.9 MB / 405.6 MB, free: 9.586 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.003644/0.003644, allocations: 234.2 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.5602/0.5602, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004994/0.0004996, allocations: 8 kB / 0.6265 GB, free: 96.5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1053, allocations: 54.87 MB / 0.6801 GB, free: 41.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4708/0.5762, allocations: 87.99 MB / 0.766 GB, free: 13.27 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004419/0.5767, allocations: 101.3 kB / 0.7661 GB, free: 13.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03935/0.6161, allocations: 7.658 MB / 0.7736 GB, free: 6.574 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.6162, allocations: 0 / 0.7736 GB, free: 6.574 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.6162, allocations: 0 / 0.7736 GB, free: 6.574 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007212/0.6169, allocations: 438.2 kB / 0.774 GB, free: 6.105 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.617, allocations: 12.03 kB / 0.774 GB, free: 6.094 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.866e-05/0.617, allocations: 19.77 kB / 0.7741 GB, free: 6.074 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.6172, allocations: 171 kB / 0.7742 GB, free: 5.867 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.6172, allocations: 14.81 kB / 0.7742 GB, free: 5.859 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.99e-05/0.6173, allocations: 11.62 kB / 0.7742 GB, free: 5.852 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004454/0.6177, allocations: 145.5 kB / 0.7744 GB, free: 5.734 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.6178, allocations: 0 / 0.7744 GB, free: 5.734 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.6178, allocations: 3.062 kB / 0.7744 GB, free: 5.734 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.6178, allocations: 4 kB / 0.7744 GB, free: 5.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005346/0.6183, allocations: 149 kB / 0.7745 GB, free: 5.621 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.6196, allocations: 0.5245 MB / 0.775 GB, free: 5.082 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003959/0.6201, allocations: 100.9 kB / 0.7751 GB, free: 4.996 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002268/0.6203, allocations: 61.58 kB / 0.7752 GB, free: 4.945 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.604e-05/0.6204, allocations: 3.984 kB / 0.7752 GB, free: 4.941 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.6204, allocations: 30.56 kB / 0.7752 GB, free: 4.902 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 3.236e-06/0.6204, allocations: 0 / 0.7752 GB, free: 4.902 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007879/0.6212, allocations: 178.1 kB / 0.7754 GB, free: 4.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.6213, allocations: 66.48 kB / 0.7755 GB, free: 4.676 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.6214, allocations: 113.2 kB / 0.7756 GB, free: 4.559 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.6214, allocations: 25.7 kB / 0.7756 GB, free: 4.527 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.193e-05/0.6215, allocations: 118.4 kB / 0.7757 GB, free: 4.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.852e-05/0.6216, allocations: 38.7 kB / 0.7758 GB, free: 4.379 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.077e-05/0.6216, allocations: 4 kB / 0.7758 GB, free: 4.375 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.6218, allocations: 319.1 kB / 0.7761 GB, free: 4.059 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/0.622, allocations: 50.84 kB / 0.7761 GB, free: 4.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002675/0.6223, allocations: 80.69 kB / 0.7762 GB, free: 3.934 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/0.6225, allocations: 55.78 kB / 0.7762 GB, free: 3.891 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.6226, allocations: 3.938 kB / 0.7762 GB, free: 3.887 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000623/0.6232, allocations: 167.2 kB / 0.7764 GB, free: 3.742 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.6232, allocations: 12.09 kB / 0.7764 GB, free: 3.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.6233, allocations: 4 kB / 0.7764 GB, free: 3.727 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.6233, allocations: 0 / 0.7764 GB, free: 3.727 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004008/0.6237, allocations: 47.28 kB / 0.7765 GB, free: 3.684 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004337/0.6241, allocations: 0.5966 MB / 0.777 GB, free: 3.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.6244, allocations: 18.98 kB / 0.7771 GB, free: 3.055 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.6244, allocations: 8 kB / 0.7771 GB, free: 3.047 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001541/0.6246, allocations: 120.9 kB / 0.7772 GB, free: 2.926 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.473e-05/0.6246, allocations: 11.89 kB / 0.7772 GB, free: 2.914 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000705/0.6253, allocations: 190.8 kB / 0.7774 GB, free: 2.754 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.6254, allocations: 3.938 kB / 0.7774 GB, free: 2.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.6254, allocations: 0 / 0.7774 GB, free: 2.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.6254, allocations: 0 / 0.7774 GB, free: 2.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003681/0.6258, allocations: 208.6 kB / 0.7776 GB, free: 2.516 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.6258, allocations: 8 kB / 0.7776 GB, free: 2.508 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003654/0.6262, allocations: 42.91 kB / 0.7776 GB, free: 2.469 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/0.6262, allocations: 0 / 0.7776 GB, free: 2.469 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.6262, allocations: 7.312 kB / 0.7776 GB, free: 2.465 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004076/0.6266, allocations: 0.5925 MB / 0.7782 GB, free: 1.855 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.6267, allocations: 96 / 0.7782 GB, free: 1.855 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008087/0.6275, allocations: 301.6 kB / 0.7785 GB, free: 1.586 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.6276, allocations: 104.4 kB / 0.7786 GB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.6276, allocations: 0 / 0.7786 GB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.6278, allocations: 11.05 kB / 0.7786 GB, free: 1.461 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.258e-05/0.6279, allocations: 11.98 kB / 0.7786 GB, free: 1.449 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.628, allocations: 6.875 kB / 0.7786 GB, free: 1.445 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.174e-05/0.628, allocations: 90.14 kB / 0.7787 GB, free: 1.359 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6281, allocations: 4 kB / 0.7787 GB, free: 1.355 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006144/0.6287, allocations: 91.08 kB / 0.7788 GB, free: 1.273 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005096/0.6292, allocations: 202.8 kB / 0.779 GB, free: 1.074 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006958/0.6299, allocations: 138.9 kB / 0.7791 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.6299, allocations: 0 / 0.7791 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003812/0.6303, allocations: 90.45 kB / 0.7792 GB, free: 0.8867 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.6307, allocations: 10.69 kB / 0.7792 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.6318, allocations: 380.2 kB / 0.7796 GB, free: 0.5039 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.6321, allocations: 0.7121 MB / 0.7803 GB, free: 15.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001729/0.6323, allocations: 20.53 kB / 0.7803 GB, free: 15.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.881e-05/0.6324, allocations: 18.38 kB / 0.7803 GB, free: 15.73 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6324, allocations: 0 / 0.7803 GB, free: 15.73 MB / 378.7 MB Notification: Performance of Templates: time 0.008607/0.641, allocations: 2.329 MB / 0.7826 GB, free: 13.44 MB / 378.7 MB