Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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.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.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00447/0.00447, allocations: 351.6 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.783/3.783, 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.005032/0.005032, allocations: 218.1 kB / 397.9 MB, free: 4.977 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.5684/0.5684, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006278/0.000628, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09522/0.09588, allocations: 48.71 MB / 0.6068 GB, free: 4.625 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4034/0.4994, allocations: 81.46 MB / 0.6863 GB, free: 31.27 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003372/0.4998, allocations: 99.94 kB / 0.6864 GB, free: 31.17 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03538/0.5352, allocations: 7.652 MB / 0.6939 GB, free: 23.69 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5352, allocations: 0 / 0.6939 GB, free: 23.69 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.5353, allocations: 3.156 kB / 0.6939 GB, free: 23.69 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.0006314/0.5359, allocations: 446.3 kB / 0.6943 GB, free: 23.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.536, allocations: 8.031 kB / 0.6943 GB, free: 23.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.151e-05/0.536, allocations: 18.23 kB / 0.6943 GB, free: 23.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.596e-05/0.5361, allocations: 178.9 kB / 0.6945 GB, free: 22.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.5362, allocations: 8.656 kB / 0.6945 GB, free: 22.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.735e-05/0.5362, allocations: 13.41 kB / 0.6945 GB, free: 22.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000403/0.5366, allocations: 139.3 kB / 0.6947 GB, free: 22.81 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.5366, allocations: 0 / 0.6947 GB, free: 22.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.5367, allocations: 6.766 kB / 0.6947 GB, free: 22.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.5367, allocations: 4 kB / 0.6947 GB, free: 22.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004709/0.5372, allocations: 148.8 kB / 0.6948 GB, free: 22.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.5383, allocations: 0.525 MB / 0.6953 GB, free: 22.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003562/0.5387, allocations: 104.1 kB / 0.6954 GB, free: 21.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.5389, allocations: 54.39 kB / 0.6955 GB, free: 21.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.181e-05/0.539, allocations: 4.797 kB / 0.6955 GB, free: 21.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.539, allocations: 37.69 kB / 0.6955 GB, free: 21.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 2.846e-06/0.539, allocations: 0 / 0.6955 GB, free: 21.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007252/0.5397, allocations: 183.5 kB / 0.6957 GB, free: 21.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.5398, allocations: 51.41 kB / 0.6957 GB, free: 21.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.564e-05/0.5399, allocations: 111.5 kB / 0.6958 GB, free: 21.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.5399, allocations: 35.42 kB / 0.6959 GB, free: 21.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.651e-05/0.54, allocations: 107.8 kB / 0.696 GB, free: 21.35 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/0.54, allocations: 35.45 kB / 0.696 GB, free: 21.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.207e-05/0.54, allocations: 4 kB / 0.696 GB, free: 21.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.463e-05/0.5401, allocations: 326.9 kB / 0.6963 GB, free: 20.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.5403, allocations: 43.91 kB / 0.6964 GB, free: 20.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002168/0.5406, allocations: 84.75 kB / 0.6965 GB, free: 20.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002204/0.5408, allocations: 52.47 kB / 0.6965 GB, free: 20.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.5408, allocations: 5.828 kB / 0.6965 GB, free: 20.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005453/0.5414, allocations: 169.8 kB / 0.6967 GB, free: 20.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.5414, allocations: 8.781 kB / 0.6967 GB, free: 20.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.5414, allocations: 0 / 0.6967 GB, free: 20.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.5415, allocations: 6.656 kB / 0.6967 GB, free: 20.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003865/0.5418, allocations: 47.97 kB / 0.6967 GB, free: 20.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003821/0.5422, allocations: 0.5908 MB / 0.6973 GB, free: 19.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.5425, allocations: 19.08 kB / 0.6973 GB, free: 19.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.5425, allocations: 11.95 kB / 0.6973 GB, free: 19.92 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.0001189/0.5426, allocations: 127.8 kB / 0.6975 GB, free: 19.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.879e-05/0.5427, allocations: 7.906 kB / 0.6975 GB, free: 19.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006505/0.5433, allocations: 187.3 kB / 0.6976 GB, free: 19.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.5434, allocations: 4 kB / 0.6976 GB, free: 19.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.5434, allocations: 0 / 0.6976 GB, free: 19.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.5434, allocations: 0 / 0.6976 GB, free: 19.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003285/0.5437, allocations: 213.6 kB / 0.6979 GB, free: 19.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.5437, allocations: 0 / 0.6979 GB, free: 19.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003526/0.5441, allocations: 51.91 kB / 0.6979 GB, free: 19.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.649e-06/0.5441, allocations: 0 / 0.6979 GB, free: 19.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.5442, allocations: 7.938 kB / 0.6979 GB, free: 19.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002861/0.5445, allocations: 0.5782 MB / 0.6985 GB, free: 18.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.5445, allocations: 3.953 kB / 0.6985 GB, free: 18.67 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007375/0.5452, allocations: 307.5 kB / 0.6988 GB, free: 18.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.721e-05/0.5453, allocations: 96.97 kB / 0.6989 GB, free: 18.24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.5454, allocations: 4 kB / 0.6989 GB, free: 18.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.5456, allocations: 19.86 kB / 0.6989 GB, free: 18.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.272e-05/0.5456, allocations: 11.94 kB / 0.6989 GB, free: 18.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.5457, allocations: 4 kB / 0.6989 GB, free: 18.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.424e-05/0.5457, allocations: 91.27 kB / 0.699 GB, free: 18.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5458, allocations: 0 / 0.699 GB, free: 18.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005971/0.5464, allocations: 91.77 kB / 0.6991 GB, free: 18.03 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.0004666/0.5468, allocations: 206.2 kB / 0.6993 GB, free: 17.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006685/0.5475, allocations: 135.9 kB / 0.6994 GB, free: 17.69 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.5475, allocations: 0 / 0.6994 GB, free: 17.69 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003224/0.5479, allocations: 79.89 kB / 0.6995 GB, free: 17.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.5483, allocations: 12.31 kB / 0.6995 GB, free: 17.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009106/0.5492, allocations: 375 kB / 0.6998 GB, free: 17.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001615/0.5494, allocations: 0.714 MB / 0.7005 GB, free: 16.47 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001591/0.5496, allocations: 20.67 kB / 0.7006 GB, free: 16.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.22e-05/0.5496, allocations: 15.44 kB / 0.7006 GB, free: 16.44 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5496, allocations: 0 / 0.7006 GB, free: 16.44 MB / 362.7 MB Notification: Performance of Templates: time 0.007955/0.5576, allocations: 2.344 MB / 0.7029 GB, free: 14.18 MB / 362.7 MB