Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadModel(Modelica): time 1.563/1.563, allocations: 171.2 MB / 186.8 MB, free: 1.023 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003547, allocations: 8 kB / 233.2 MB, free: 3.004 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06991/0.07028, allocations: 38.76 MB / 272 MB, free: 12.16 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.71/15.78, allocations: 6.605 GB / 6.871 GB, free: 63.68 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/15.78, allocations: 76.03 kB / 6.871 GB, free: 63.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8252/16.6, allocations: 190.5 MB / 7.057 GB, free: 25.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.466e-06/16.6, allocations: 3.938 kB / 7.057 GB, free: 25.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.435e-05/16.6, allocations: 7.938 kB / 7.057 GB, free: 25.34 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.00618/16.61, allocations: 1.457 MB / 7.058 GB, free: 23.83 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/16.61, allocations: 12.03 kB / 7.058 GB, free: 23.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001855/16.61, allocations: 19.8 kB / 7.058 GB, free: 23.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/16.61, allocations: 214.8 kB / 7.059 GB, free: 23.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/16.61, allocations: 16.33 kB / 7.059 GB, free: 23.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.053e-05/16.61, allocations: 12 kB / 7.059 GB, free: 23.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008295/16.61, allocations: 261.5 kB / 7.059 GB, free: 23.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/16.61, allocations: 4 kB / 7.059 GB, free: 23.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.048e-05/16.61, allocations: 8 kB / 7.059 GB, free: 23.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.466e-05/16.61, allocations: 11.94 kB / 7.059 GB, free: 23.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009053/16.61, allocations: 283.6 kB / 7.059 GB, free: 22.95 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.001485/16.61, allocations: 0.6839 MB / 7.06 GB, free: 22.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008466/16.61, allocations: 318.3 kB / 7.06 GB, free: 21.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01084/16.62, allocations: 10.05 MB / 7.07 GB, free: 9.805 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/16.62, allocations: 42.48 kB / 7.07 GB, free: 9.754 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 4.041e-06/16.62, allocations: 4 kB / 7.07 GB, free: 9.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.003322/16.63, allocations: 0.6847 MB / 7.071 GB, free: 9.059 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/16.63, allocations: 81.3 kB / 7.071 GB, free: 8.961 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/16.63, allocations: 120.8 kB / 7.071 GB, free: 8.836 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.973e-05/16.63, allocations: 33.7 kB / 7.071 GB, free: 8.797 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.416e-05/16.63, allocations: 179.2 kB / 7.071 GB, free: 8.621 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.865e-05/16.63, allocations: 122.1 kB / 7.071 GB, free: 8.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/16.63, allocations: 12 kB / 7.071 GB, free: 8.488 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.237e-05/16.63, allocations: 330.8 kB / 7.072 GB, free: 8.156 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000432/16.63, allocations: 127.9 kB / 7.072 GB, free: 8.031 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005631/16.63, allocations: 203.8 kB / 7.072 GB, free: 7.805 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005723/16.63, allocations: 155.7 kB / 7.072 GB, free: 7.656 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.583e-06/16.63, allocations: 3.938 kB / 7.072 GB, free: 7.652 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001399/16.63, allocations: 406.1 kB / 7.072 GB, free: 7.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/16.63, allocations: 11.98 kB / 7.072 GB, free: 7.238 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.915e-06/16.63, allocations: 0 / 7.072 GB, free: 7.238 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/16.63, allocations: 4 kB / 7.072 GB, free: 7.234 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005743/16.63, allocations: 95.83 kB / 7.072 GB, free: 7.141 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/16.63, allocations: 8.156 kB / 7.072 GB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00038/16.63, allocations: 23.89 kB / 7.073 GB, free: 7.109 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.146e-05/16.63, allocations: 19.98 kB / 7.073 GB, free: 7.09 MB / 362.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.000173/16.63, allocations: 145.7 kB / 7.073 GB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/16.63, allocations: 15.81 kB / 7.073 GB, free: 6.922 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006336/16.63, allocations: 202.2 kB / 7.073 GB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.757e-06/16.63, allocations: 4 kB / 7.073 GB, free: 6.719 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.608e-06/16.63, allocations: 3.953 kB / 7.073 GB, free: 6.715 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.903e-06/16.63, allocations: 4 kB / 7.073 GB, free: 6.711 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002482/16.64, allocations: 0.9648 MB / 7.074 GB, free: 5.676 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.166e-06/16.64, allocations: 0 / 7.074 GB, free: 5.676 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006164/16.64, allocations: 83.88 kB / 7.074 GB, free: 5.594 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.662e-06/16.64, allocations: 4 kB / 7.074 GB, free: 5.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.604e-05/16.64, allocations: 16.14 kB / 7.074 GB, free: 5.574 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.005e-06/16.64, allocations: 4 kB / 7.074 GB, free: 5.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.992e-06/16.64, allocations: 3.938 kB / 7.074 GB, free: 5.566 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002132/16.64, allocations: 0.7947 MB / 7.075 GB, free: 4.699 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/16.64, allocations: 124.8 kB / 7.075 GB, free: 4.559 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.22e-05/16.64, allocations: 12 kB / 7.075 GB, free: 4.547 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005123/16.64, allocations: 24.05 kB / 7.075 GB, free: 4.523 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/16.64, allocations: 35.77 kB / 7.075 GB, free: 4.488 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.157e-05/16.64, allocations: 15.98 kB / 7.075 GB, free: 4.473 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.29e-05/16.64, allocations: 99.27 kB / 7.075 GB, free: 4.375 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.08e-07/16.64, allocations: 0 / 7.075 GB, free: 4.375 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004605/16.64, allocations: 1.077 MB / 7.076 GB, free: 3.297 MB / 362.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 (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 Backend phase and start with SimCode phase: time 0.008416/16.65, allocations: 1.617 MB / 7.078 GB, free: 1.672 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001261/16.65, allocations: 343.9 kB / 7.078 GB, free: 1.336 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.425e-06/16.65, allocations: 0 / 7.078 GB, free: 1.336 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005721/16.65, allocations: 187.4 kB / 7.078 GB, free: 1.156 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007515/16.66, allocations: 96.22 kB / 7.078 GB, free: 1.062 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/16.66, allocations: 0.7822 MB / 7.079 GB, free: 236 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2121/16.87, allocations: 0.7354 MB / 7.08 GB, free: 44.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002968/16.87, allocations: 42.7 kB / 7.08 GB, free: 44.59 MB / 362.7 MB Notification: Performance of SimCode: time 1.679e-06/16.87, allocations: 2.625 kB / 7.08 GB, free: 44.59 MB / 362.7 MB Notification: Performance of Templates: time 0.04845/16.92, allocations: 26.42 MB / 7.106 GB, free: 42.93 MB / 362.7 MB