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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.576/1.576, allocations: 171.3 MB / 179.2 MB, free: 8.184 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.505e-05/1.515e-05, allocations: 0 / 222.5 MB, free: 8.797 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06933/0.06937, allocations: 38.77 MB / 261.3 MB, free: 1.945 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.55/15.62, allocations: 6.604 GB / 6.86 GB, free: 6.645 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/15.62, allocations: 76.47 kB / 6.86 GB, free: 6.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.037/16.66, allocations: 187.8 MB / 7.043 GB, free: 59.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.032e-06/16.66, allocations: 0 / 7.043 GB, free: 59.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.517e-05/16.66, allocations: 3.906 kB / 7.043 GB, free: 59.55 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.006278/16.67, allocations: 1.443 MB / 7.044 GB, free: 58.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/16.67, allocations: 11.5 kB / 7.044 GB, free: 58.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002203/16.67, allocations: 26.55 kB / 7.044 GB, free: 58.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/16.67, allocations: 212.3 kB / 7.045 GB, free: 58.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/16.67, allocations: 3.844 kB / 7.045 GB, free: 58.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.203e-05/16.67, allocations: 18.88 kB / 7.045 GB, free: 58.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004768/16.67, allocations: 211.5 kB / 7.045 GB, free: 58.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004046/16.67, allocations: 216.7 kB / 7.045 GB, free: 58.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/16.67, allocations: 0 / 7.045 GB, free: 58.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.548e-05/16.67, allocations: 0 / 7.045 GB, free: 58.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.979e-05/16.67, allocations: 7.766 kB / 7.045 GB, free: 58.54 MB / 362.7 MB Warning: The model contains alias variables with conflicting start and/or 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.001458/16.67, allocations: 0.6415 MB / 7.046 GB, free: 58.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004979/16.67, allocations: 278.8 kB / 7.046 GB, free: 58.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/16.67, allocations: 113.8 kB / 7.046 GB, free: 58.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01213/16.68, allocations: 10.08 MB / 7.056 GB, free: 47.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/16.68, allocations: 35.14 kB / 7.056 GB, free: 47.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 3.776e-06/16.68, allocations: 6.344 kB / 7.056 GB, free: 47.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.002143/16.69, allocations: 497.7 kB / 7.056 GB, free: 47.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/16.69, allocations: 88.97 kB / 7.057 GB, free: 47.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.251e-05/16.69, allocations: 109.3 kB / 7.057 GB, free: 47.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.741e-05/16.69, allocations: 25.7 kB / 7.057 GB, free: 47.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.498e-05/16.69, allocations: 180.8 kB / 7.057 GB, free: 47.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.769e-05/16.69, allocations: 123.2 kB / 7.057 GB, free: 47.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/16.69, allocations: 0 / 7.057 GB, free: 47.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.03e-05/16.69, allocations: 326.1 kB / 7.057 GB, free: 47.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/16.69, allocations: 103.5 kB / 7.057 GB, free: 47.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002696/16.69, allocations: 170.9 kB / 7.058 GB, free: 46.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004551/16.69, allocations: 147.5 kB / 7.058 GB, free: 46.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.394e-06/16.69, allocations: 0 / 7.058 GB, free: 46.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000992/16.69, allocations: 345.2 kB / 7.058 GB, free: 46.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/16.69, allocations: 6.125 kB / 7.058 GB, free: 46.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.461e-06/16.69, allocations: 3.969 kB / 7.058 GB, free: 46.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/16.69, allocations: 11.12 kB / 7.058 GB, free: 46.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005965/16.69, allocations: 96.02 kB / 7.058 GB, free: 46.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.376e-06/16.69, allocations: 5.797 kB / 7.058 GB, free: 46.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003954/16.69, allocations: 26.12 kB / 7.058 GB, free: 46.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-05/16.69, allocations: 17.72 kB / 7.058 GB, free: 46.86 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 () * 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.0001202/16.69, allocations: 112.2 kB / 7.058 GB, free: 46.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/16.69, allocations: 21.47 kB / 7.058 GB, free: 46.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006099/16.69, allocations: 187.8 kB / 7.058 GB, free: 46.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.557e-06/16.69, allocations: 2.844 kB / 7.058 GB, free: 46.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.665e-06/16.69, allocations: 7.234 kB / 7.058 GB, free: 46.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/16.69, allocations: 3.469 kB / 7.058 GB, free: 46.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/16.69, allocations: 0.8651 MB / 7.059 GB, free: 46.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.247e-06/16.69, allocations: 3.75 kB / 7.059 GB, free: 46.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006093/16.69, allocations: 78.11 kB / 7.059 GB, free: 46.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/16.69, allocations: 10.8 kB / 7.059 GB, free: 46.28 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.09e-05/16.69, allocations: 9.297 kB / 7.059 GB, free: 46.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.196e-06/16.69, allocations: 3.969 kB / 7.059 GB, free: 46.28 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.795e-06/16.69, allocations: 0 / 7.059 GB, free: 46.28 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/16.69, allocations: 0.7197 MB / 7.06 GB, free: 45.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/16.69, allocations: 125.1 kB / 7.06 GB, free: 45.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.063e-05/16.7, allocations: 3.656 kB / 7.06 GB, free: 45.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004675/16.7, allocations: 17.12 kB / 7.06 GB, free: 45.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/16.7, allocations: 25.69 kB / 7.06 GB, free: 45.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.774e-05/16.7, allocations: 11.06 kB / 7.06 GB, free: 45.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.49e-05/16.7, allocations: 97.05 kB / 7.06 GB, free: 45.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.35e-07/16.7, allocations: 0 / 7.06 GB, free: 45.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004594/16.7, allocations: 1.075 MB / 7.061 GB, free: 45.54 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 () * 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.008724/16.71, allocations: 1.643 MB / 7.063 GB, free: 45.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006926/16.71, allocations: 277.5 kB / 7.063 GB, free: 45.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.141e-06/16.71, allocations: 3.688 kB / 7.063 GB, free: 45.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002682/16.71, allocations: 148.2 kB / 7.063 GB, free: 45.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007977/16.71, allocations: 79.78 kB / 7.064 GB, free: 45.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/16.71, allocations: 0.4898 MB / 7.064 GB, free: 44.99 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004399/16.71, allocations: 0.7418 MB / 7.065 GB, free: 44.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/16.71, allocations: 44.97 kB / 7.065 GB, free: 44.29 MB / 362.7 MB Notification: Performance of SimCode: time 1.961e-06/16.71, allocations: 2.812 kB / 7.065 GB, free: 44.29 MB / 362.7 MB Notification: Performance of Templates: time 0.04654/16.76, allocations: 26.94 MB / 7.091 GB, free: 41.14 MB / 362.7 MB