Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.MoistAir.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.Media.Examples.MoistAir") Notification: Performance of loadModel(Modelica): time 1.741/1.741, allocations: 194.8 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.00036, allocations: 8 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07913/0.07952, allocations: 44.51 MB / 308.4 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.299/8.379, allocations: 3.699 GB / 4 GB, free: 131.8 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000191/8.379, allocations: 73.94 kB / 4 GB, free: 131.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1526/8.532, allocations: 48.75 MB / 4.048 GB, free: 82.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.624e-06/8.532, allocations: 4 kB / 4.048 GB, free: 82.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.438e-05/8.532, allocations: 3.984 kB / 4.048 GB, free: 82.46 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.001671/8.533, allocations: 0.6315 MB / 4.049 GB, free: 81.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/8.533, allocations: 8.031 kB / 4.049 GB, free: 81.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/8.534, allocations: 19.81 kB / 4.049 GB, free: 81.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/8.534, allocations: 214.8 kB / 4.049 GB, free: 81.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/8.534, allocations: 16.27 kB / 4.049 GB, free: 81.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.594e-05/8.534, allocations: 19.94 kB / 4.049 GB, free: 81.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000616/8.535, allocations: 253.5 kB / 4.049 GB, free: 81.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/8.535, allocations: 0 / 4.049 GB, free: 81.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.057e-05/8.535, allocations: 8 kB / 4.049 GB, free: 81.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/8.535, allocations: 4 kB / 4.049 GB, free: 81.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000733/8.535, allocations: 263.8 kB / 4.049 GB, free: 80.93 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.001511/8.537, allocations: 0.687 MB / 4.05 GB, free: 80.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006968/8.538, allocations: 217.2 kB / 4.05 GB, free: 79.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003138/8.538, allocations: 364.3 kB / 4.051 GB, free: 79.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/8.538, allocations: 38.56 kB / 4.051 GB, free: 79.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 3.397e-06/8.538, allocations: 0 / 4.051 GB, free: 79.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.002701/8.541, allocations: 0.671 MB / 4.051 GB, free: 78.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/8.541, allocations: 85.28 kB / 4.051 GB, free: 78.69 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.645e-05/8.541, allocations: 121.1 kB / 4.052 GB, free: 78.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/8.541, allocations: 29.7 kB / 4.052 GB, free: 78.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.893e-05/8.541, allocations: 179.2 kB / 4.052 GB, free: 78.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.391e-05/8.541, allocations: 122.2 kB / 4.052 GB, free: 78.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/8.541, allocations: 4 kB / 4.052 GB, free: 78.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.038e-05/8.541, allocations: 330.8 kB / 4.052 GB, free: 77.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004369/8.542, allocations: 143.8 kB / 4.052 GB, free: 77.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004505/8.542, allocations: 199.8 kB / 4.052 GB, free: 77.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004638/8.543, allocations: 153.4 kB / 4.053 GB, free: 77.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.027e-06/8.543, allocations: 0 / 4.053 GB, free: 77.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001131/8.544, allocations: 413.2 kB / 4.053 GB, free: 76.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/8.544, allocations: 11.94 kB / 4.053 GB, free: 76.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.379e-06/8.544, allocations: 224 / 4.053 GB, free: 76.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/8.544, allocations: 8 kB / 4.053 GB, free: 76.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006066/8.545, allocations: 91.81 kB / 4.053 GB, free: 76.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/8.545, allocations: 4 kB / 4.053 GB, free: 76.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003886/8.545, allocations: 31.91 kB / 4.053 GB, free: 76.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.824e-05/8.545, allocations: 12 kB / 4.053 GB, free: 76.82 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.0001656/8.545, allocations: 149.7 kB / 4.053 GB, free: 76.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.246e-05/8.545, allocations: 19.8 kB / 4.053 GB, free: 76.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004585/8.546, allocations: 183 kB / 4.053 GB, free: 76.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.239e-06/8.546, allocations: 4 kB / 4.054 GB, free: 76.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.772e-06/8.546, allocations: 0 / 4.054 GB, free: 76.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.375e-06/8.546, allocations: 0 / 4.054 GB, free: 76.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/8.548, allocations: 0.7571 MB / 4.054 GB, free: 75.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.704e-06/8.548, allocations: 0 / 4.054 GB, free: 75.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005249/8.548, allocations: 83.88 kB / 4.054 GB, free: 75.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.879e-06/8.548, allocations: 3.953 kB / 4.054 GB, free: 75.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.017e-05/8.548, allocations: 12 kB / 4.054 GB, free: 75.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.105e-06/8.548, allocations: 7.922 kB / 4.054 GB, free: 75.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.55e-06/8.548, allocations: 4 kB / 4.054 GB, free: 75.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/8.55, allocations: 0.7732 MB / 4.055 GB, free: 74.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/8.55, allocations: 120.8 kB / 4.055 GB, free: 74.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.405e-05/8.55, allocations: 8 kB / 4.055 GB, free: 74.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004543/8.551, allocations: 31.91 kB / 4.055 GB, free: 74.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/8.551, allocations: 19.97 kB / 4.055 GB, free: 74.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.233e-05/8.551, allocations: 12 kB / 4.055 GB, free: 74.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.38e-05/8.551, allocations: 103.6 kB / 4.055 GB, free: 74.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.18e-07/8.551, allocations: 0 / 4.055 GB, free: 74.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008783/8.552, allocations: 179.9 kB / 4.056 GB, free: 74.2 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.001002/8.553, allocations: 0.6473 MB / 4.056 GB, free: 73.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001082/8.554, allocations: 351.5 kB / 4.057 GB, free: 73.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.699e-06/8.554, allocations: 448 / 4.057 GB, free: 73.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004683/8.554, allocations: 175.7 kB / 4.057 GB, free: 73.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007089/8.555, allocations: 101.2 kB / 4.057 GB, free: 72.92 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/8.557, allocations: 0.7581 MB / 4.058 GB, free: 72.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/8.557, allocations: 0.7413 MB / 4.058 GB, free: 71.35 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/8.557, allocations: 35.7 kB / 4.058 GB, free: 71.31 MB / 410.7 MB Notification: Performance of SimCode: time 1.59e-06/8.557, allocations: 0 / 4.058 GB, free: 71.31 MB / 410.7 MB Notification: Performance of Templates: time 0.01117/8.568, allocations: 7.133 MB / 4.065 GB, free: 64.17 MB / 410.7 MB