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.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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.MoistAir") Notification: Performance of loadModel(Modelica): time 1.617/1.617, allocations: 171.1 MB / 186.7 MB, free: 1.047 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003601, allocations: 8 kB / 233.2 MB, free: 3.027 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0699/0.07028, allocations: 38.78 MB / 272 MB, free: 12.17 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.36/8.43, allocations: 3.693 GB / 3.959 GB, free: 128 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/8.43, allocations: 72.73 kB / 3.959 GB, free: 127.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1508/8.581, allocations: 48.46 MB / 4.006 GB, free: 80.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.769e-06/8.581, allocations: 0 / 4.006 GB, free: 80.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.343e-05/8.581, allocations: 4 kB / 4.006 GB, free: 80.23 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.00169/8.583, allocations: 0.6393 MB / 4.007 GB, free: 79.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/8.583, allocations: 8.031 kB / 4.007 GB, free: 79.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/8.583, allocations: 15.91 kB / 4.007 GB, free: 79.51 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/8.583, allocations: 206.8 kB / 4.007 GB, free: 79.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/8.584, allocations: 16.31 kB / 4.007 GB, free: 79.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.134e-05/8.584, allocations: 19.94 kB / 4.007 GB, free: 79.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000629/8.584, allocations: 265.4 kB / 4.008 GB, free: 78.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/8.584, allocations: 0 / 4.008 GB, free: 78.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.014e-05/8.584, allocations: 8 kB / 4.008 GB, free: 78.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.208e-05/8.584, allocations: 7.938 kB / 4.008 GB, free: 78.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007338/8.585, allocations: 259.8 kB / 4.008 GB, free: 78.7 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.001536/8.587, allocations: 0.691 MB / 4.009 GB, free: 77.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007154/8.587, allocations: 221.2 kB / 4.009 GB, free: 77.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003179/8.588, allocations: 356.4 kB / 4.009 GB, free: 77.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/8.588, allocations: 34.56 kB / 4.009 GB, free: 77.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 3.479e-06/8.588, allocations: 0 / 4.009 GB, free: 77.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.00276/8.591, allocations: 0.6808 MB / 4.01 GB, free: 76.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/8.591, allocations: 81.3 kB / 4.01 GB, free: 76.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.604e-05/8.591, allocations: 121.1 kB / 4.01 GB, free: 76.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/8.591, allocations: 29.7 kB / 4.01 GB, free: 76.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.838e-05/8.591, allocations: 175.2 kB / 4.01 GB, free: 76.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.284e-05/8.591, allocations: 126.2 kB / 4.01 GB, free: 75.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/8.591, allocations: 8 kB / 4.01 GB, free: 75.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.92e-05/8.591, allocations: 326.8 kB / 4.011 GB, free: 75.65 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000437/8.591, allocations: 131.9 kB / 4.011 GB, free: 75.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004572/8.592, allocations: 207.7 kB / 4.011 GB, free: 75.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004667/8.592, allocations: 152.9 kB / 4.011 GB, free: 75.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.239e-06/8.592, allocations: 0 / 4.011 GB, free: 75.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001148/8.594, allocations: 413.8 kB / 4.011 GB, free: 74.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.872e-05/8.594, allocations: 8 kB / 4.011 GB, free: 74.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.704e-06/8.594, allocations: 3.984 kB / 4.011 GB, free: 74.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/8.594, allocations: 4 kB / 4.011 GB, free: 74.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005833/8.594, allocations: 91.81 kB / 4.012 GB, free: 74.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/8.594, allocations: 4 kB / 4.012 GB, free: 74.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003839/8.595, allocations: 35.97 kB / 4.012 GB, free: 74.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-05/8.595, allocations: 19.98 kB / 4.012 GB, free: 74.57 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.0001623/8.595, allocations: 141.8 kB / 4.012 GB, free: 74.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.931e-05/8.595, allocations: 19.77 kB / 4.012 GB, free: 74.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004536/8.596, allocations: 179.8 kB / 4.012 GB, free: 74.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.28e-06/8.596, allocations: 4.375 kB / 4.012 GB, free: 74.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.083e-06/8.596, allocations: 0 / 4.012 GB, free: 74.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.881e-06/8.596, allocations: 4 kB / 4.012 GB, free: 74.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002031/8.598, allocations: 0.7563 MB / 4.013 GB, free: 73.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.566e-06/8.598, allocations: 3.938 kB / 4.013 GB, free: 73.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006168/8.598, allocations: 79.88 kB / 4.013 GB, free: 73.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-05/8.598, allocations: 4.156 kB / 4.013 GB, free: 73.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.166e-05/8.598, allocations: 12 kB / 4.013 GB, free: 73.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.751e-06/8.598, allocations: 11.88 kB / 4.013 GB, free: 73.28 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.442e-06/8.598, allocations: 7.953 kB / 4.013 GB, free: 73.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/8.6, allocations: 0.7753 MB / 4.014 GB, free: 72.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/8.6, allocations: 120.9 kB / 4.014 GB, free: 72.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.281e-05/8.6, allocations: 8 kB / 4.014 GB, free: 72.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005745/8.601, allocations: 24.03 kB / 4.014 GB, free: 72.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/8.601, allocations: 27.92 kB / 4.014 GB, free: 72.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.332e-05/8.601, allocations: 16 kB / 4.014 GB, free: 72.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.482e-05/8.601, allocations: 91.27 kB / 4.014 GB, free: 72.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.83e-07/8.601, allocations: 0 / 4.014 GB, free: 72.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008855/8.602, allocations: 187.8 kB / 4.014 GB, free: 71.94 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 (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.0009954/8.603, allocations: 0.6357 MB / 4.015 GB, free: 71.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001056/8.604, allocations: 345.7 kB / 4.015 GB, free: 70.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.773e-06/8.604, allocations: 0 / 4.015 GB, free: 70.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004772/8.605, allocations: 183.7 kB / 4.015 GB, free: 70.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000725/8.605, allocations: 89.33 kB / 4.015 GB, free: 70.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/8.607, allocations: 0.7994 MB / 4.016 GB, free: 69.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001997/8.607, allocations: 0.7413 MB / 4.017 GB, free: 69.08 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000215/8.608, allocations: 35.42 kB / 4.017 GB, free: 69.04 MB / 362.7 MB Notification: Performance of SimCode: time 1.556e-06/8.608, allocations: 0 / 4.017 GB, free: 69.04 MB / 362.7 MB Notification: Performance of Templates: time 0.011/8.619, allocations: 7.129 MB / 4.024 GB, free: 61.91 MB / 362.7 MB