Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Media.Examples.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas") Notification: Performance of loadModel(Modelica): time 1.647/1.647, allocations: 171.2 MB / 186.7 MB, free: 1.031 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005072/0.0005073, allocations: 12 kB / 233.8 MB, free: 2.383 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09009/0.09063, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.512/2.603, allocations: 0.7381 GB / 1.004 GB, free: 106.2 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/2.603, allocations: 79.84 kB / 1.004 GB, free: 106.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2022/2.806, allocations: 61.53 MB / 1.065 GB, free: 66.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.074e-06/2.806, allocations: 0 / 1.065 GB, free: 66.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.329e-05/2.806, allocations: 0 / 1.065 GB, free: 66.38 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0008856/2.807, allocations: 487.3 kB / 1.065 GB, free: 65.85 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/2.807, allocations: 8.031 kB / 1.065 GB, free: 65.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009567/2.816, allocations: 0.7024 MB / 1.066 GB, free: 65.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000686/2.817, allocations: 278.8 kB / 1.066 GB, free: 64.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/2.817, allocations: 8.328 kB / 1.066 GB, free: 64.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/2.817, allocations: 23.91 kB / 1.066 GB, free: 64.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00227/2.819, allocations: 0.7068 MB / 1.067 GB, free: 64.08 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/2.819, allocations: 0 / 1.067 GB, free: 64.08 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001362/2.82, allocations: 4 kB / 1.067 GB, free: 64.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.042e-05/2.82, allocations: 15.95 kB / 1.067 GB, free: 64.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002754/2.822, allocations: 0.769 MB / 1.067 GB, free: 63.29 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004119/2.827, allocations: 1.225 MB / 1.069 GB, free: 62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/2.828, allocations: 321 kB / 1.069 GB, free: 61.67 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007869/2.829, allocations: 254.2 kB / 1.069 GB, free: 61.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/2.829, allocations: 42.45 kB / 1.069 GB, free: 61.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 2.966e-06/2.829, allocations: 0 / 1.069 GB, free: 61.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.002148/2.831, allocations: 0.5499 MB / 1.07 GB, free: 60.78 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/2.831, allocations: 81.11 kB / 1.07 GB, free: 60.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/2.831, allocations: 129.8 kB / 1.07 GB, free: 60.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.312e-05/2.831, allocations: 29.7 kB / 1.07 GB, free: 60.51 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.514e-05/2.831, allocations: 120.2 kB / 1.07 GB, free: 60.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/2.831, allocations: 102.6 kB / 1.07 GB, free: 60.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.934e-05/2.831, allocations: 4 kB / 1.07 GB, free: 60.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.687e-05/2.831, allocations: 326.8 kB / 1.071 GB, free: 59.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006279/2.832, allocations: 179.9 kB / 1.071 GB, free: 59.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006739/2.833, allocations: 284.3 kB / 1.071 GB, free: 59.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006903/2.833, allocations: 210 kB / 1.071 GB, free: 59.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/2.833, allocations: 4 kB / 1.071 GB, free: 59.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001666/2.835, allocations: 0.5054 MB / 1.072 GB, free: 58.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/2.835, allocations: 4 kB / 1.072 GB, free: 58.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/2.835, allocations: 8.031 kB / 1.072 GB, free: 58.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/2.835, allocations: 8 kB / 1.072 GB, free: 58.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000914/2.836, allocations: 83.81 kB / 1.072 GB, free: 58.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/2.836, allocations: 7.984 kB / 1.072 GB, free: 58.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007128/2.837, allocations: 39.77 kB / 1.072 GB, free: 58.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.536e-05/2.837, allocations: 24.02 kB / 1.072 GB, free: 58.57 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001989/2.837, allocations: 141.8 kB / 1.072 GB, free: 58.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/2.837, allocations: 15.81 kB / 1.072 GB, free: 58.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001728/2.839, allocations: 492.4 kB / 1.072 GB, free: 57.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/2.839, allocations: 0 / 1.072 GB, free: 57.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/2.839, allocations: 15.98 kB / 1.072 GB, free: 57.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/2.839, allocations: 0 / 1.072 GB, free: 57.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/2.84, allocations: 0.4913 MB / 1.073 GB, free: 57.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/2.84, allocations: 0 / 1.073 GB, free: 57.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008949/2.841, allocations: 59.89 kB / 1.073 GB, free: 57.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/2.841, allocations: 0 / 1.073 GB, free: 57.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.591e-05/2.841, allocations: 15.94 kB / 1.073 GB, free: 57.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/2.841, allocations: 7.938 kB / 1.073 GB, free: 57.28 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/2.841, allocations: 0 / 1.073 GB, free: 57.28 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001919/2.843, allocations: 0.6715 MB / 1.074 GB, free: 56.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.434e-05/2.843, allocations: 96.84 kB / 1.074 GB, free: 56.47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/2.843, allocations: 11.95 kB / 1.074 GB, free: 56.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007843/2.844, allocations: 23.97 kB / 1.074 GB, free: 56.44 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/2.844, allocations: 19.97 kB / 1.074 GB, free: 56.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.112e-05/2.844, allocations: 15.98 kB / 1.074 GB, free: 56.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.798e-05/2.844, allocations: 103.3 kB / 1.074 GB, free: 56.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/2.844, allocations: 0 / 1.074 GB, free: 56.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001148/2.845, allocations: 204 kB / 1.074 GB, free: 56.1 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (state.p,state.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4]) * 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): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001702/2.847, allocations: 0.7371 MB / 1.075 GB, free: 55.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001403/2.849, allocations: 436 kB / 1.075 GB, free: 54.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/2.849, allocations: 4 kB / 1.075 GB, free: 54.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006492/2.849, allocations: 199.8 kB / 1.075 GB, free: 54.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009162/2.85, allocations: 84.16 kB / 1.076 GB, free: 54.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/2.852, allocations: 1.051 MB / 1.077 GB, free: 53.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/2.852, allocations: 0.7484 MB / 1.077 GB, free: 52.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001213/2.854, allocations: 106.2 kB / 1.077 GB, free: 52.69 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002918/2.854, allocations: 31.42 kB / 1.077 GB, free: 52.66 MB / 362.7 MB Notification: Performance of SimCode: time 1.132e-06/2.854, allocations: 0 / 1.077 GB, free: 52.66 MB / 362.7 MB Notification: Performance of Templates: time 0.03002/2.884, allocations: 14.67 MB / 1.092 GB, free: 38 MB / 362.7 MB