Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Media.Examples.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir") Notification: Performance of loadModel(Modelica): time 2.073/2.073, allocations: 194.8 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003853/0.0003854, allocations: 8 kB / 264.5 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1026, allocations: 44.5 MB / 309 MB, free: 376 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.48/2.582, allocations: 0.7251 GB / 1.027 GB, free: 107.1 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/2.583, allocations: 82.3 kB / 1.027 GB, free: 107.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1411/2.724, allocations: 40.01 MB / 1.066 GB, free: 78.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.653e-06/2.724, allocations: 0 / 1.066 GB, free: 78.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.326e-05/2.724, allocations: 4 kB / 1.066 GB, free: 78.95 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001036/2.725, allocations: 0.5056 MB / 1.067 GB, free: 78.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/2.725, allocations: 8.031 kB / 1.067 GB, free: 78.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004954/2.73, allocations: 379.2 kB / 1.067 GB, free: 78.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004532/2.73, allocations: 258.9 kB / 1.067 GB, free: 77.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/2.731, allocations: 11.38 kB / 1.067 GB, free: 77.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/2.731, allocations: 18.88 kB / 1.067 GB, free: 77.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/2.732, allocations: 491.1 kB / 1.068 GB, free: 77.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/2.732, allocations: 0 / 1.068 GB, free: 77.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/2.732, allocations: 11.62 kB / 1.068 GB, free: 77.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/2.732, allocations: 8 kB / 1.068 GB, free: 77.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001632/2.734, allocations: 0.502 MB / 1.068 GB, free: 77.09 MB / 410.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.003079/2.737, allocations: 0.9903 MB / 1.069 GB, free: 76.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008659/2.738, allocations: 282.7 kB / 1.069 GB, free: 76.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001629/2.74, allocations: 0.6573 MB / 1.07 GB, free: 75.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/2.74, allocations: 34.41 kB / 1.07 GB, free: 75.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 2.775e-06/2.74, allocations: 0 / 1.07 GB, free: 75.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.001404/2.741, allocations: 411.5 kB / 1.07 GB, free: 74.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/2.741, allocations: 81.11 kB / 1.071 GB, free: 74.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.45e-05/2.741, allocations: 117.4 kB / 1.071 GB, free: 74.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.988e-05/2.741, allocations: 32.83 kB / 1.071 GB, free: 74.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/2.741, allocations: 119.8 kB / 1.071 GB, free: 74.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.241e-05/2.741, allocations: 100.1 kB / 1.071 GB, free: 74.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/2.741, allocations: 10.94 kB / 1.071 GB, free: 74.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.87e-05/2.742, allocations: 330.5 kB / 1.071 GB, free: 74.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003697/2.742, allocations: 112 kB / 1.071 GB, free: 74.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004115/2.742, allocations: 205 kB / 1.072 GB, free: 73.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004164/2.743, allocations: 134.5 kB / 1.072 GB, free: 73.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/2.743, allocations: 4 kB / 1.072 GB, free: 73.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001051/2.744, allocations: 369.1 kB / 1.072 GB, free: 73.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/2.744, allocations: 4.312 kB / 1.072 GB, free: 73.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/2.744, allocations: 8 kB / 1.072 GB, free: 73.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/2.744, allocations: 4 kB / 1.072 GB, free: 73.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006749/2.745, allocations: 79.83 kB / 1.072 GB, free: 73.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/2.745, allocations: 4 kB / 1.072 GB, free: 73.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000443/2.745, allocations: 35.53 kB / 1.072 GB, free: 73.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.564e-05/2.745, allocations: 15.81 kB / 1.072 GB, free: 73.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (39): * Single equations (assignments): 39 * 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.0001801/2.745, allocations: 145.1 kB / 1.072 GB, free: 73.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/2.745, allocations: 15.81 kB / 1.072 GB, free: 73.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001229/2.747, allocations: 369.8 kB / 1.073 GB, free: 72.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/2.747, allocations: 7.984 kB / 1.073 GB, free: 72.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/2.747, allocations: 0 / 1.073 GB, free: 72.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/2.747, allocations: 0 / 1.073 GB, free: 72.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008373/2.748, allocations: 373.8 kB / 1.073 GB, free: 72.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/2.748, allocations: 4 kB / 1.073 GB, free: 72.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000656/2.748, allocations: 51.97 kB / 1.073 GB, free: 72.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.303e-06/2.748, allocations: 0 / 1.073 GB, free: 72.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.964e-05/2.748, allocations: 19.8 kB / 1.073 GB, free: 72.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/2.748, allocations: 4 kB / 1.073 GB, free: 72.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/2.748, allocations: 0 / 1.073 GB, free: 72.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/2.75, allocations: 0.5512 MB / 1.074 GB, free: 72.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.062e-05/2.75, allocations: 96.89 kB / 1.074 GB, free: 71.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.737e-05/2.75, allocations: 11.73 kB / 1.074 GB, free: 71.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005526/2.75, allocations: 15.81 kB / 1.074 GB, free: 71.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/2.75, allocations: 15.97 kB / 1.074 GB, free: 71.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-05/2.751, allocations: 19.67 kB / 1.074 GB, free: 71.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.985e-05/2.751, allocations: 87.08 kB / 1.074 GB, free: 71.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.383e-06/2.751, allocations: 4 kB / 1.074 GB, free: 71.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001385/2.752, allocations: 266.3 kB / 1.074 GB, free: 71.62 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium.p,medium.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2]) * 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 (29): * Single equations (assignments): 29 * 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.001852/2.754, allocations: 0.7633 MB / 1.075 GB, free: 70.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009573/2.755, allocations: 299.8 kB / 1.075 GB, free: 70.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/2.755, allocations: 0 / 1.075 GB, free: 70.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004096/2.755, allocations: 150.2 kB / 1.075 GB, free: 70.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008738/2.756, allocations: 79.84 kB / 1.075 GB, free: 70.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/2.758, allocations: 0.9014 MB / 1.076 GB, free: 69.58 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/2.758, allocations: 0.7326 MB / 1.077 GB, free: 68.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008317/2.759, allocations: 93.64 kB / 1.077 GB, free: 68.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002038/2.759, allocations: 27.44 kB / 1.077 GB, free: 68.7 MB / 410.7 MB Notification: Performance of SimCode: time 8.71e-07/2.759, allocations: 4 kB / 1.077 GB, free: 68.7 MB / 410.7 MB Notification: Performance of Templates: time 0.03091/2.79, allocations: 14.44 MB / 1.091 GB, free: 54.29 MB / 410.7 MB