Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadModel(ModelicaTest): time 1.891/1.891, allocations: 209.3 MB / 222.4 MB, free: 7.719 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.974e-05/2.995e-05, allocations: 4 kB / 277.8 MB, free: 15.29 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08707/0.08712, allocations: 48.71 MB / 326.6 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.025/9.112, allocations: 3.661 GB / 3.98 GB, free: 134.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/9.113, allocations: 92.47 kB / 3.98 GB, free: 134 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.071/11.18, allocations: 428.7 MB / 4.398 GB, free: 17.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.525e-06/11.18, allocations: 0 / 4.398 GB, free: 17.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001073/11.18, allocations: 20 kB / 4.398 GB, free: 17.25 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.01143/11.2, allocations: 2.338 MB / 4.401 GB, free: 14.87 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/11.2, allocations: 8.031 kB / 4.401 GB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/11.2, allocations: 111 kB / 4.401 GB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002699/11.2, allocations: 0.6348 MB / 4.401 GB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001933/11.2, allocations: 109.4 kB / 4.401 GB, free: 13.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003733/11.2, allocations: 79.89 kB / 4.402 GB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003979/11.2, allocations: 1.137 MB / 4.403 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.455e-05/11.2, allocations: 7.938 kB / 4.403 GB, free: 12.67 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002589/11.2, allocations: 32 kB / 4.403 GB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001429/11.2, allocations: 53.97 kB / 4.403 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004365/11.21, allocations: 1.12 MB / 4.404 GB, free: 11.47 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01367/11.22, allocations: 4.402 MB / 4.408 GB, free: 6.859 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003225/11.23, allocations: 0.743 MB / 4.409 GB, free: 6.105 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001334/11.23, allocations: 389.7 kB / 4.409 GB, free: 5.727 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001987/11.23, allocations: 1.572 MB / 4.411 GB, free: 3.824 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.916e-05/11.23, allocations: 43.06 kB / 4.411 GB, free: 3.773 MB / 426.7 MB Notification: Performance of pre-optimization done (n=69): time 8.821e-06/11.23, allocations: 4 kB / 4.411 GB, free: 3.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=81): time 0.02524/11.25, allocations: 3.561 MB / 4.414 GB, free: 148 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/11.25, allocations: 111.6 kB / 4.414 GB, free: 12 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001796/11.26, allocations: 0.55 MB / 4.415 GB, free: 15.45 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002737/11.26, allocations: 41.7 kB / 4.415 GB, free: 15.41 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005594/11.26, allocations: 429.7 kB / 4.415 GB, free: 14.98 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006087/11.26, allocations: 287.9 kB / 4.416 GB, free: 14.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/11.26, allocations: 20 kB / 4.416 GB, free: 14.68 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002855/11.26, allocations: 350.8 kB / 4.416 GB, free: 14.32 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001895/11.26, allocations: 422.5 kB / 4.416 GB, free: 13.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002372/11.26, allocations: 0.7358 MB / 4.417 GB, free: 13.04 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002277/11.27, allocations: 0.5368 MB / 4.418 GB, free: 12.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/11.27, allocations: 4 kB / 4.418 GB, free: 12.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.006844/11.27, allocations: 1.49 MB / 4.419 GB, free: 11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.329e-05/11.27, allocations: 8 kB / 4.419 GB, free: 10.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.821e-05/11.27, allocations: 12 kB / 4.419 GB, free: 10.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01579/11.29, allocations: 1.336 MB / 4.42 GB, free: 9.641 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/11.29, allocations: 171.7 kB / 4.421 GB, free: 9.473 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004474/11.29, allocations: 1.368 MB / 4.422 GB, free: 8.078 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00259/11.3, allocations: 99.84 kB / 4.422 GB, free: 7.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003856/11.3, allocations: 63.97 kB / 4.422 GB, free: 7.918 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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 {3 32} Notification: Performance of prepare postOptimizeDAE: time 0.0005744/11.3, allocations: 172.6 kB / 4.422 GB, free: 7.742 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004682/11.3, allocations: 79.06 kB / 4.422 GB, free: 7.664 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007116/11.31, allocations: 1.461 MB / 4.424 GB, free: 6.172 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-05/11.31, allocations: 12 kB / 4.424 GB, free: 6.16 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/11.31, allocations: 0 / 4.424 GB, free: 6.16 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.262e-05/11.31, allocations: 3.984 kB / 4.424 GB, free: 6.156 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009972/11.32, allocations: 2.331 MB / 4.426 GB, free: 3.754 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/11.32, allocations: 0 / 4.426 GB, free: 3.754 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003392/11.32, allocations: 267.8 kB / 4.426 GB, free: 3.492 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002997/11.32, allocations: 304.5 kB / 4.427 GB, free: 3.191 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003027/11.32, allocations: 31.98 kB / 4.427 GB, free: 3.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004406/11.33, allocations: 2.179 MB / 4.429 GB, free: 0.8281 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.417e-05/11.33, allocations: 7.922 kB / 4.429 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.287/11.61, allocations: 1.8 MB / 4.431 GB, free: 48.32 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008061/11.62, allocations: 279.2 kB / 4.431 GB, free: 48.22 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002572/11.62, allocations: 23.75 kB / 4.431 GB, free: 48.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/11.62, allocations: 82.34 kB / 4.431 GB, free: 48.22 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002018/11.62, allocations: 62.69 kB / 4.431 GB, free: 48.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000171/11.62, allocations: 50.59 kB / 4.431 GB, free: 48.22 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000859/11.62, allocations: 450.1 kB / 4.431 GB, free: 48.13 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.98e-07/11.62, allocations: 0 / 4.431 GB, free: 48.13 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003233/11.62, allocations: 0.8253 MB / 4.432 GB, free: 48.13 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (81): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.004366/11.63, allocations: 1.623 MB / 4.434 GB, free: 47.96 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002992/11.63, allocations: 1.108 MB / 4.435 GB, free: 47.96 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.487e-06/11.63, allocations: 4.156 kB / 4.435 GB, free: 47.96 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001962/11.63, allocations: 0.619 MB / 4.436 GB, free: 47.96 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002819/11.63, allocations: 422.1 kB / 4.436 GB, free: 47.95 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005176/11.64, allocations: 1.738 MB / 4.438 GB, free: 47.66 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007148/11.64, allocations: 1.058 MB / 4.439 GB, free: 46.95 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006006/11.64, allocations: 107.2 kB / 4.439 GB, free: 46.95 MB / 442.7 MB Notification: Performance of SimCode: time 1.662e-06/11.64, allocations: 0 / 4.439 GB, free: 46.95 MB / 442.7 MB Notification: Performance of Templates: time 0.05222/11.69, allocations: 30.94 MB / 4.469 GB, free: 45.64 MB / 442.7 MB