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.Tests.MediaTestModels.Air.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.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadModel(Modelica): time 1.56/1.56, allocations: 171.2 MB / 184.2 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.718e-05/2.732e-05, allocations: 4 kB / 228.8 MB, free: 15.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2048, allocations: 38.76 MB / 267.6 MB, free: 9.457 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.083/8.287, allocations: 3.611 GB / 3.872 GB, free: 88.52 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/8.288, allocations: 81.08 kB / 3.873 GB, free: 88.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.459/9.747, allocations: 319.1 MB / 4.184 GB, free: 48.03 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.905e-06/9.747, allocations: 3.969 kB / 4.184 GB, free: 48.03 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.826e-05/9.747, allocations: 15.16 kB / 4.184 GB, free: 48.03 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.004506/9.751, allocations: 1.549 MB / 4.186 GB, free: 46.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/9.751, allocations: 8.031 kB / 4.186 GB, free: 46.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004268/9.752, allocations: 59.22 kB / 4.186 GB, free: 46.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006053/9.752, allocations: 360.8 kB / 4.186 GB, free: 46.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/9.752, allocations: 32.62 kB / 4.186 GB, free: 46.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.035e-05/9.752, allocations: 44 kB / 4.186 GB, free: 46.17 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/9.754, allocations: 496.2 kB / 4.187 GB, free: 45.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/9.754, allocations: 7.281 kB / 4.187 GB, free: 45.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.398e-05/9.754, allocations: 20 kB / 4.187 GB, free: 45.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/9.754, allocations: 12 kB / 4.187 GB, free: 45.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/9.755, allocations: 0.5787 MB / 4.187 GB, free: 45.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003695/9.759, allocations: 1.999 MB / 4.189 GB, free: 43.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/9.76, allocations: 0.5547 MB / 4.19 GB, free: 42.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004933/9.761, allocations: 253.9 kB / 4.19 GB, free: 42.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005641/9.761, allocations: 0.7144 MB / 4.191 GB, free: 41.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/9.761, allocations: 39 kB / 4.191 GB, free: 41.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=53): time 4.23e-06/9.761, allocations: 0 / 4.191 GB, free: 41.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=65): time 0.01534/9.777, allocations: 3.362 MB / 4.194 GB, free: 38.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/9.777, allocations: 59.97 kB / 4.194 GB, free: 38.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003578/9.777, allocations: 263.1 kB / 4.194 GB, free: 37.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.968e-05/9.777, allocations: 45.7 kB / 4.194 GB, free: 37.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.276e-05/9.777, allocations: 243.6 kB / 4.195 GB, free: 37.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/9.777, allocations: 226.7 kB / 4.195 GB, free: 37.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.246e-05/9.777, allocations: 8 kB / 4.195 GB, free: 37.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.904e-05/9.778, allocations: 338.8 kB / 4.195 GB, free: 36.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000584/9.778, allocations: 269.5 kB / 4.195 GB, free: 36.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006272/9.779, allocations: 345.7 kB / 4.196 GB, free: 36.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006478/9.779, allocations: 306 kB / 4.196 GB, free: 36.03 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.678e-06/9.779, allocations: 0 / 4.196 GB, free: 36.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002172/9.782, allocations: 0.8811 MB / 4.197 GB, free: 35.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/9.782, allocations: 4 kB / 4.197 GB, free: 35.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/9.782, allocations: 4 kB / 4.197 GB, free: 35.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001289/9.783, allocations: 278.1 kB / 4.197 GB, free: 34.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007313/9.784, allocations: 115.9 kB / 4.197 GB, free: 34.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002703/9.786, allocations: 3.414 MB / 4.201 GB, free: 31.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008278/9.787, allocations: 63.86 kB / 4.201 GB, free: 30.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-05/9.787, allocations: 31.98 kB / 4.201 GB, free: 30.94 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 65 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002095/9.788, allocations: 139.8 kB / 4.201 GB, free: 30.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/9.788, allocations: 43.48 kB / 4.201 GB, free: 30.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004338/9.792, allocations: 1.266 MB / 4.202 GB, free: 29.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/9.792, allocations: 11.95 kB / 4.202 GB, free: 29.47 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.851e-06/9.792, allocations: 4 kB / 4.202 GB, free: 29.47 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003903/9.796, allocations: 1.297 MB / 4.203 GB, free: 28.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003255/9.799, allocations: 1.595 MB / 4.205 GB, free: 26.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.882e-06/9.799, allocations: 0 / 4.205 GB, free: 26.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007016/9.8, allocations: 119.8 kB / 4.205 GB, free: 26.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001461/9.802, allocations: 304.4 kB / 4.205 GB, free: 26.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.124e-05/9.802, allocations: 35.91 kB / 4.205 GB, free: 26.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008683/9.803, allocations: 0.7622 MB / 4.206 GB, free: 25.22 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/9.803, allocations: 4.031 kB / 4.206 GB, free: 25.22 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004397/9.807, allocations: 1.53 MB / 4.208 GB, free: 23.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002049/9.807, allocations: 132.5 kB / 4.208 GB, free: 23.51 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/9.807, allocations: 16 kB / 4.208 GB, free: 23.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007876/9.808, allocations: 59.94 kB / 4.208 GB, free: 23.44 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.201e-05/9.808, allocations: 40.5 kB / 4.208 GB, free: 23.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-05/9.808, allocations: 35.97 kB / 4.208 GB, free: 23.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002863/9.809, allocations: 215.1 kB / 4.208 GB, free: 23.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.91e-07/9.809, allocations: 3.938 kB / 4.208 GB, free: 23.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001927/9.811, allocations: 0.5385 MB / 4.209 GB, free: 22.61 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 61 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002282/9.813, allocations: 1.202 MB / 4.21 GB, free: 21.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001866/9.815, allocations: 0.9084 MB / 4.211 GB, free: 20.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.135e-06/9.815, allocations: 4.125 kB / 4.211 GB, free: 20.63 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008598/9.816, allocations: 375 kB / 4.211 GB, free: 20.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001797/9.818, allocations: 296.2 kB / 4.211 GB, free: 19.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/9.82, allocations: 1.055 MB / 4.212 GB, free: 18.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/9.821, allocations: 0.865 MB / 4.213 GB, free: 18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002846/9.821, allocations: 59.42 kB / 4.213 GB, free: 17.95 MB / 362.7 MB Notification: Performance of SimCode: time 1.952e-06/9.821, allocations: 0 / 4.213 GB, free: 17.95 MB / 362.7 MB Notification: Performance of Templates: time 0.2532/10.07, allocations: 20.82 MB / 4.234 GB, free: 48.04 MB / 362.7 MB