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.ReferenceAir.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.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadModel(Modelica): time 1.841/1.841, allocations: 194.8 MB / 211.6 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003603, allocations: 16 kB / 263.9 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08107/0.08145, allocations: 44.5 MB / 308.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03601/0.1175, allocations: 21.99 MB / 330.3 MB, free: 10.98 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002943/0.1205, allocations: 1.591 MB / 331.9 MB, free: 9.391 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.063e-05/0.1206, allocations: 3.938 kB / 331.9 MB, free: 9.387 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002579/0.1209, allocations: 43.8 kB / 332 MB, free: 9.344 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003379/0.1212, allocations: 115.7 kB / 332.1 MB, free: 9.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01438/0.1356, allocations: 4.372 MB / 336.5 MB, free: 4.848 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003729/0.136, allocations: 183.6 kB / 336.6 MB, free: 4.668 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.021e-05/0.1361, allocations: 17.06 kB / 336.7 MB, free: 4.648 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003258/0.1364, allocations: 139.6 kB / 336.8 MB, free: 4.512 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.1366, allocations: 87.73 kB / 336.9 MB, free: 4.426 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/0.1367, allocations: 8 kB / 336.9 MB, free: 4.418 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01866/0.1553, allocations: 8.212 MB / 345.1 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.1555, allocations: 55.88 kB / 345.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.1556, allocations: 61.58 kB / 345.2 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006689/0.1623, allocations: 2.912 MB / 348.1 MB, free: 9.156 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.512e-06/0.1624, allocations: 4 kB / 348.1 MB, free: 9.152 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1624, allocations: 0 / 348.1 MB, free: 9.152 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.829e-06/0.1624, allocations: 0 / 348.1 MB, free: 9.152 MB / 298.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.003223/0.1656, allocations: 1.057 MB / 349.2 MB, free: 8.043 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.1657, allocations: 8.031 kB / 349.2 MB, free: 8.035 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.1659, allocations: 19.81 kB / 349.2 MB, free: 8.016 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.1662, allocations: 210.8 kB / 349.4 MB, free: 7.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.1662, allocations: 16.28 kB / 349.4 MB, free: 7.754 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.214e-05/0.1663, allocations: 20 kB / 349.5 MB, free: 7.734 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000872/0.1672, allocations: 269.5 kB / 349.7 MB, free: 7.461 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.1672, allocations: 0 / 349.7 MB, free: 7.461 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.92e-05/0.1673, allocations: 4 kB / 349.7 MB, free: 7.457 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.1673, allocations: 8 kB / 349.7 MB, free: 7.449 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.1683, allocations: 287.7 kB / 350 MB, free: 7.168 MB / 298.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/0.1702, allocations: 0.793 MB / 350.8 MB, free: 6.293 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009413/0.1711, allocations: 318.3 kB / 351.1 MB, free: 5.945 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01731/0.1884, allocations: 10.42 MB / 361.5 MB, free: 9.527 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.114e-05/0.1885, allocations: 46.44 kB / 361.6 MB, free: 9.473 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 3.061e-06/0.1886, allocations: 0 / 361.6 MB, free: 9.473 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.003599/0.1922, allocations: 0.6819 MB / 362.3 MB, free: 8.789 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.709e-05/0.1923, allocations: 92.98 kB / 362.4 MB, free: 8.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.1924, allocations: 125.8 kB / 362.5 MB, free: 8.547 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.765e-05/0.1925, allocations: 29.7 kB / 362.5 MB, free: 8.512 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.1926, allocations: 179.2 kB / 362.7 MB, free: 8.336 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.1928, allocations: 126.1 kB / 362.8 MB, free: 8.211 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.1928, allocations: 8 kB / 362.8 MB, free: 8.203 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.193, allocations: 330.8 kB / 363.1 MB, free: 7.871 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005036/0.1935, allocations: 127.9 kB / 363.3 MB, free: 7.746 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006444/0.1942, allocations: 203.6 kB / 363.5 MB, free: 7.52 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000621/0.1948, allocations: 151.9 kB / 363.6 MB, free: 7.371 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.019e-06/0.1948, allocations: 11.89 kB / 363.6 MB, free: 7.359 MB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001531/0.1964, allocations: 409.1 kB / 364 MB, free: 6.953 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.1964, allocations: 8 kB / 364 MB, free: 6.945 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.64e-06/0.1964, allocations: 0 / 364 MB, free: 6.945 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.1964, allocations: 4 kB / 364 MB, free: 6.941 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000687/0.1971, allocations: 95.86 kB / 364.1 MB, free: 6.848 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.1972, allocations: 7.984 kB / 364.1 MB, free: 6.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003736/0.1976, allocations: 28.11 kB / 364.2 MB, free: 6.812 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.813e-05/0.1976, allocations: 19.98 kB / 364.2 MB, free: 6.793 MB / 314.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.0001955/0.1978, allocations: 141.7 kB / 364.3 MB, free: 6.645 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/0.198, allocations: 23.75 kB / 364.3 MB, free: 6.621 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005908/0.1986, allocations: 178.4 kB / 364.5 MB, free: 6.441 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.321e-06/0.1987, allocations: 4 kB / 364.5 MB, free: 6.438 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.319e-06/0.1987, allocations: 0 / 364.5 MB, free: 6.438 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.1987, allocations: 3.984 kB / 364.5 MB, free: 6.434 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002677/0.2014, allocations: 0.9376 MB / 365.5 MB, free: 5.426 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/0.2014, allocations: 8 kB / 365.5 MB, free: 5.418 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005631/0.202, allocations: 79.88 kB / 365.5 MB, free: 5.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.063e-05/0.202, allocations: 4 kB / 365.6 MB, free: 5.336 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.427e-05/0.2021, allocations: 15.94 kB / 365.6 MB, free: 5.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.795e-06/0.2021, allocations: 12.09 kB / 365.6 MB, free: 5.309 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.223e-06/0.2021, allocations: 4 kB / 365.6 MB, free: 5.305 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002013/0.2041, allocations: 0.7023 MB / 366.3 MB, free: 4.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001808/0.2043, allocations: 128.8 kB / 366.4 MB, free: 4.426 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.912e-05/0.2044, allocations: 12 kB / 366.4 MB, free: 4.414 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004426/0.2049, allocations: 23.94 kB / 366.4 MB, free: 4.391 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/0.2049, allocations: 23.97 kB / 366.5 MB, free: 4.367 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.176e-05/0.205, allocations: 15.98 kB / 366.5 MB, free: 4.352 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.772e-05/0.2051, allocations: 103.2 kB / 366.6 MB, free: 4.25 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.22e-07/0.2051, allocations: 0 / 366.6 MB, free: 4.25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002782/0.2079, allocations: 0.9135 MB / 367.5 MB, free: 3.336 MB / 314.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.004488/0.2124, allocations: 1.157 MB / 368.7 MB, free: 2.18 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00138/0.2138, allocations: 339.1 kB / 369 MB, free: 1.852 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.353e-06/0.2139, allocations: 4 kB / 369 MB, free: 1.848 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006406/0.2145, allocations: 179.7 kB / 369.2 MB, free: 1.672 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007656/0.2153, allocations: 96.09 kB / 369.3 MB, free: 1.578 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.217, allocations: 0.7469 MB / 370 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004601/0.2175, allocations: 0.7529 MB / 370.8 MB, free: 0 / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2023/0.4198, allocations: 35.67 kB / 370.8 MB, free: 61.64 MB / 314.7 MB Notification: Performance of SimCode: time 2.115e-06/0.4199, allocations: 0.6562 kB / 370.8 MB, free: 61.64 MB / 314.7 MB Notification: Performance of Templates: time 0.05427/0.4742, allocations: 23.35 MB / 394.1 MB, free: 49.7 MB / 314.7 MB