Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.MoistAir.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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.MoistAir") Notification: Performance of loadModel(Modelica): time 1.92/1.92, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003444, allocations: 8 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1264, allocations: 44.51 MB / 309 MB, free: 384 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.35/11.48, allocations: 3.699 GB / 4.001 GB, free: 109.7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/11.48, allocations: 73.75 kB / 4.001 GB, free: 109.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2175/11.7, allocations: 48.76 MB / 4.049 GB, free: 96.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.993e-06/11.7, allocations: 0 / 4.049 GB, free: 96.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.456e-05/11.7, allocations: 4 kB / 4.049 GB, free: 96.02 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002391/11.7, allocations: 0.6263 MB / 4.049 GB, free: 95.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/11.7, allocations: 12.02 kB / 4.049 GB, free: 95.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001933/11.7, allocations: 19.81 kB / 4.049 GB, free: 95.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/11.7, allocations: 209.8 kB / 4.049 GB, free: 95.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/11.7, allocations: 15.95 kB / 4.049 GB, free: 95.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.443e-05/11.7, allocations: 31.03 kB / 4.049 GB, free: 95.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007935/11.7, allocations: 257.5 kB / 4.05 GB, free: 94.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/11.7, allocations: 0 / 4.05 GB, free: 94.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.446e-05/11.7, allocations: 7.625 kB / 4.05 GB, free: 94.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.417e-05/11.7, allocations: 4 kB / 4.05 GB, free: 94.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/11.7, allocations: 264.8 kB / 4.05 GB, free: 94.65 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.001949/11.7, allocations: 0.685 MB / 4.051 GB, free: 93.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/11.7, allocations: 218.5 kB / 4.051 GB, free: 93.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003901/11.7, allocations: 363.8 kB / 4.051 GB, free: 93.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/11.7, allocations: 39.12 kB / 4.051 GB, free: 93.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 3.276e-06/11.7, allocations: 0 / 4.051 GB, free: 93.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.003967/11.71, allocations: 0.6776 MB / 4.052 GB, free: 92.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/11.71, allocations: 81.3 kB / 4.052 GB, free: 92.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/11.71, allocations: 121.2 kB / 4.052 GB, free: 92.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.531e-05/11.71, allocations: 35.02 kB / 4.052 GB, free: 92.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.934e-05/11.71, allocations: 107.8 kB / 4.052 GB, free: 92.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/11.71, allocations: 127.2 kB / 4.052 GB, free: 92.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/11.71, allocations: 6.938 kB / 4.052 GB, free: 92.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.907e-05/11.71, allocations: 326.5 kB / 4.053 GB, free: 92.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006498/11.71, allocations: 137 kB / 4.053 GB, free: 91.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006545/11.71, allocations: 206.7 kB / 4.053 GB, free: 91.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006642/11.71, allocations: 154.8 kB / 4.053 GB, free: 91.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/11.71, allocations: 0 / 4.053 GB, free: 91.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001548/11.71, allocations: 406.3 kB / 4.054 GB, free: 91.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/11.71, allocations: 12.56 kB / 4.054 GB, free: 91.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/11.71, allocations: 0 / 4.054 GB, free: 91.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.807e-05/11.71, allocations: 4 kB / 4.054 GB, free: 91.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000872/11.71, allocations: 94.53 kB / 4.054 GB, free: 91.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/11.71, allocations: 4 kB / 4.054 GB, free: 91.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005611/11.71, allocations: 28.84 kB / 4.054 GB, free: 91.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.273e-05/11.71, allocations: 14.62 kB / 4.054 GB, free: 91.22 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * 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.0002048/11.71, allocations: 144 kB / 4.054 GB, free: 91.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.469e-05/11.71, allocations: 22.38 kB / 4.054 GB, free: 91.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005663/11.71, allocations: 183.5 kB / 4.054 GB, free: 90.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/11.71, allocations: 4 kB / 4.054 GB, free: 90.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/11.71, allocations: 0 / 4.054 GB, free: 90.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/11.71, allocations: 0 / 4.054 GB, free: 90.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002387/11.72, allocations: 0.7591 MB / 4.055 GB, free: 90.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/11.72, allocations: 160 / 4.055 GB, free: 90.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007779/11.72, allocations: 83.88 kB / 4.055 GB, free: 90.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/11.72, allocations: 3.953 kB / 4.055 GB, free: 90.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.432e-05/11.72, allocations: 13.5 kB / 4.055 GB, free: 90.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/11.72, allocations: 3.938 kB / 4.055 GB, free: 90.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/11.72, allocations: 4 kB / 4.055 GB, free: 90.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002137/11.72, allocations: 0.7087 MB / 4.056 GB, free: 89.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001808/11.72, allocations: 121 kB / 4.056 GB, free: 89.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.037e-05/11.72, allocations: 8 kB / 4.056 GB, free: 89.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005991/11.72, allocations: 23.83 kB / 4.056 GB, free: 89.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.422e-05/11.72, allocations: 28.03 kB / 4.056 GB, free: 89.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-05/11.72, allocations: 15.98 kB / 4.056 GB, free: 89.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.019e-05/11.72, allocations: 99.58 kB / 4.056 GB, free: 89.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/11.72, allocations: 4 kB / 4.056 GB, free: 89.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009925/11.72, allocations: 175.9 kB / 4.056 GB, free: 88.91 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * 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 (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 Backend phase and start with SimCode phase: time 0.001212/11.72, allocations: 0.6478 MB / 4.057 GB, free: 88.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001523/11.72, allocations: 340 kB / 4.057 GB, free: 87.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/11.72, allocations: 0 / 4.057 GB, free: 87.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006606/11.73, allocations: 183.8 kB / 4.057 GB, free: 87.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009579/11.73, allocations: 92.48 kB / 4.057 GB, free: 87.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/11.73, allocations: 0.7409 MB / 4.058 GB, free: 86.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/11.73, allocations: 0.7416 MB / 4.059 GB, free: 86.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007154/11.73, allocations: 77.89 kB / 4.059 GB, free: 86.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/11.73, allocations: 31.42 kB / 4.059 GB, free: 85.99 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/11.73, allocations: 3.938 kB / 4.059 GB, free: 85.98 MB / 410.7 MB Notification: Performance of Templates: time 0.02652/11.76, allocations: 12.22 MB / 4.071 GB, free: 73.78 MB / 410.7 MB