Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.728/1.728, allocations: 171.2 MB / 187.3 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003564, allocations: 8 kB / 233.8 MB, free: 3.086 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08307/0.08345, allocations: 38.77 MB / 272.5 MB, free: 12.24 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.3/19.38, allocations: 6.605 GB / 6.871 GB, free: 91.24 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/19.38, allocations: 82.31 kB / 6.871 GB, free: 91.24 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.067/20.45, allocations: 190.5 MB / 7.057 GB, free: 69 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.983e-06/20.45, allocations: 0 / 7.057 GB, free: 69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.803e-05/20.45, allocations: 3.812 kB / 7.057 GB, free: 69 MB / 378.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.007973/20.46, allocations: 1.451 MB / 7.059 GB, free: 68.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/20.46, allocations: 7.688 kB / 7.059 GB, free: 68.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002117/20.46, allocations: 21.91 kB / 7.059 GB, free: 68.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/20.46, allocations: 213.3 kB / 7.059 GB, free: 67.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/20.46, allocations: 13.83 kB / 7.059 GB, free: 67.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.394e-05/20.46, allocations: 19.25 kB / 7.059 GB, free: 67.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/20.46, allocations: 266.4 kB / 7.059 GB, free: 67.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/20.46, allocations: 0 / 7.059 GB, free: 67.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.686e-05/20.46, allocations: 7.188 kB / 7.059 GB, free: 67.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.784e-05/20.46, allocations: 14.77 kB / 7.059 GB, free: 67.78 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/20.46, allocations: 275.1 kB / 7.06 GB, free: 67.78 MB / 378.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.001806/20.46, allocations: 0.6925 MB / 7.06 GB, free: 67.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/20.46, allocations: 319.1 kB / 7.061 GB, free: 67.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01597/20.48, allocations: 10.05 MB / 7.07 GB, free: 57.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/20.48, allocations: 38.22 kB / 7.071 GB, free: 56.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 3.176e-06/20.48, allocations: 0 / 7.071 GB, free: 56.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.004614/20.48, allocations: 0.6886 MB / 7.071 GB, free: 56.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/20.48, allocations: 83.42 kB / 7.071 GB, free: 56.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/20.48, allocations: 133.2 kB / 7.071 GB, free: 56.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.103e-05/20.48, allocations: 36.23 kB / 7.071 GB, free: 56.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.378e-05/20.48, allocations: 170.4 kB / 7.072 GB, free: 56.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/20.48, allocations: 126.2 kB / 7.072 GB, free: 56.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/20.48, allocations: 7.531 kB / 7.072 GB, free: 56.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.069e-05/20.48, allocations: 327 kB / 7.072 GB, free: 56.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006344/20.48, allocations: 133.9 kB / 7.072 GB, free: 56.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007784/20.48, allocations: 206.6 kB / 7.072 GB, free: 56.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000755/20.49, allocations: 153.6 kB / 7.072 GB, free: 56.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/20.49, allocations: 0 / 7.072 GB, free: 56.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001842/20.49, allocations: 412.6 kB / 7.073 GB, free: 55.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/20.49, allocations: 5.062 kB / 7.073 GB, free: 55.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/20.49, allocations: 11.41 kB / 7.073 GB, free: 55.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/20.49, allocations: 7.797 kB / 7.073 GB, free: 55.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008528/20.49, allocations: 91 kB / 7.073 GB, free: 55.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/20.49, allocations: 3.844 kB / 7.073 GB, free: 55.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005615/20.49, allocations: 34.08 kB / 7.073 GB, free: 55.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.737e-05/20.49, allocations: 17.78 kB / 7.073 GB, free: 55.93 MB / 378.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.0002024/20.49, allocations: 144 kB / 7.073 GB, free: 55.81 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/20.49, allocations: 23.47 kB / 7.073 GB, free: 55.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007037/20.49, allocations: 190.2 kB / 7.073 GB, free: 55.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/20.49, allocations: 3.969 kB / 7.073 GB, free: 55.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/20.49, allocations: 3.953 kB / 7.073 GB, free: 55.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/20.49, allocations: 2.953 kB / 7.073 GB, free: 55.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003037/20.49, allocations: 0.9611 MB / 7.074 GB, free: 55.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/20.49, allocations: 4.156 kB / 7.074 GB, free: 55.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007939/20.49, allocations: 82.16 kB / 7.074 GB, free: 55.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/20.49, allocations: 3.062 kB / 7.074 GB, free: 55.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-05/20.49, allocations: 18.08 kB / 7.074 GB, free: 55.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/20.49, allocations: 0 / 7.074 GB, free: 55.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/20.49, allocations: 3.75 kB / 7.074 GB, free: 55.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002445/20.5, allocations: 0.7317 MB / 7.075 GB, free: 55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000195/20.5, allocations: 126.3 kB / 7.075 GB, free: 54.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.316e-05/20.5, allocations: 10.56 kB / 7.075 GB, free: 54.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005859/20.5, allocations: 24.92 kB / 7.075 GB, free: 54.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.17e-05/20.5, allocations: 34.38 kB / 7.075 GB, free: 54.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.053e-05/20.5, allocations: 19.11 kB / 7.075 GB, free: 54.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.555e-05/20.5, allocations: 101.1 kB / 7.075 GB, free: 54.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/20.5, allocations: 0 / 7.075 GB, free: 54.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005413/20.5, allocations: 1.088 MB / 7.077 GB, free: 54.61 MB / 378.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.01047/20.51, allocations: 1.601 MB / 7.078 GB, free: 54.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001725/20.52, allocations: 344 kB / 7.078 GB, free: 54.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/20.52, allocations: 0 / 7.078 GB, free: 54.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000792/20.52, allocations: 188 kB / 7.079 GB, free: 54.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/20.52, allocations: 89.38 kB / 7.079 GB, free: 54.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/20.52, allocations: 0.7841 MB / 7.079 GB, free: 53.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/20.52, allocations: 0.7395 MB / 7.08 GB, free: 53.03 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003202/20.52, allocations: 47.38 kB / 7.08 GB, free: 53.02 MB / 378.7 MB Notification: Performance of SimCode: time 1.272e-06/20.52, allocations: 0 / 7.08 GB, free: 53.02 MB / 378.7 MB Notification: Performance of Templates: time 0.05586/20.58, allocations: 26.42 MB / 7.106 GB, free: 36.51 MB / 378.7 MB