Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadModel(ModelicaTest): time 2.264/2.264, allocations: 234.9 MB / 250.5 MB, free: 10.52 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004611/0.0004613, allocations: 12 kB / 314.4 MB, free: 10.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3273, allocations: 54.88 MB / 369.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.56/8.888, allocations: 3.668 GB / 4.028 GB, free: 107.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/8.888, allocations: 97.16 kB / 4.028 GB, free: 107.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.932/10.82, allocations: 432.6 MB / 4.451 GB, free: 51.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.908e-06/10.82, allocations: 4 kB / 4.451 GB, free: 51.49 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.69e-05/10.82, allocations: 20 kB / 4.451 GB, free: 51.47 MB / 490.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.006886/10.83, allocations: 2.43 MB / 4.453 GB, free: 48.99 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/10.83, allocations: 8.031 kB / 4.453 GB, free: 48.98 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005238/10.83, allocations: 110.9 kB / 4.453 GB, free: 48.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/10.83, allocations: 0.6465 MB / 4.454 GB, free: 48.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/10.83, allocations: 117.4 kB / 4.454 GB, free: 48.06 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/10.83, allocations: 67.98 kB / 4.454 GB, free: 47.99 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002092/10.83, allocations: 1.144 MB / 4.455 GB, free: 46.79 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.25e-05/10.83, allocations: 7.922 kB / 4.455 GB, free: 46.78 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001377/10.83, allocations: 32 kB / 4.455 GB, free: 46.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.398e-05/10.83, allocations: 61.86 kB / 4.455 GB, free: 46.69 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002203/10.83, allocations: 1.14 MB / 4.456 GB, free: 45.55 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006793/10.84, allocations: 4.655 MB / 4.461 GB, free: 40.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/10.84, allocations: 0.7548 MB / 4.462 GB, free: 39.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/10.84, allocations: 1.576 MB / 4.463 GB, free: 37.95 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/10.84, allocations: 43.12 kB / 4.463 GB, free: 37.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=69): time 3.96e-06/10.84, allocations: 0 / 4.463 GB, free: 37.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=81): time 0.01539/10.86, allocations: 4.169 MB / 4.467 GB, free: 33.65 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/10.86, allocations: 115.5 kB / 4.467 GB, free: 33.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000795/10.86, allocations: 0.5538 MB / 4.468 GB, free: 32.95 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000106/10.86, allocations: 41.7 kB / 4.468 GB, free: 32.91 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002081/10.86, allocations: 433.6 kB / 4.468 GB, free: 32.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002243/10.86, allocations: 283.9 kB / 4.469 GB, free: 32.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.308e-05/10.86, allocations: 20 kB / 4.469 GB, free: 32.18 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.56e-05/10.86, allocations: 354.8 kB / 4.469 GB, free: 31.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00112/10.86, allocations: 474.3 kB / 4.469 GB, free: 31.36 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/10.86, allocations: 0.7788 MB / 4.47 GB, free: 30.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/10.86, allocations: 0.5772 MB / 4.471 GB, free: 29.86 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.842e-06/10.86, allocations: 4 kB / 4.471 GB, free: 29.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.00386/10.87, allocations: 1.634 MB / 4.472 GB, free: 28.21 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/10.87, allocations: 9.094 kB / 4.472 GB, free: 28.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/10.87, allocations: 15.97 kB / 4.472 GB, free: 28.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008616/10.88, allocations: 1.423 MB / 4.474 GB, free: 26.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008025/10.88, allocations: 171.7 kB / 4.474 GB, free: 26.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002854/10.88, allocations: 1.5 MB / 4.475 GB, free: 25.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/10.88, allocations: 91.78 kB / 4.475 GB, free: 24.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/10.88, allocations: 75.97 kB / 4.476 GB, free: 24.91 MB / 490.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 () * Number of clocked 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.0005919/10.88, allocations: 289.5 kB / 4.476 GB, free: 24.61 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/10.88, allocations: 87.02 kB / 4.476 GB, free: 24.53 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003925/10.89, allocations: 1.614 MB / 4.477 GB, free: 22.89 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/10.89, allocations: 12 kB / 4.477 GB, free: 22.88 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.777e-06/10.89, allocations: 0 / 4.477 GB, free: 22.88 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/10.89, allocations: 7.969 kB / 4.478 GB, free: 22.87 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004839/10.89, allocations: 2.458 MB / 4.48 GB, free: 20.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.319e-05/10.89, allocations: 0 / 4.48 GB, free: 20.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001509/10.89, allocations: 263.7 kB / 4.48 GB, free: 20.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002097/10.9, allocations: 392.5 kB / 4.481 GB, free: 19.69 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.751e-05/10.9, allocations: 31.97 kB / 4.481 GB, free: 19.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002458/10.9, allocations: 2.28 MB / 4.483 GB, free: 17.21 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.259e-06/10.9, allocations: 0 / 4.483 GB, free: 17.21 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004166/10.9, allocations: 2.01 MB / 4.485 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005749/10.9, allocations: 283.9 kB / 4.485 GB, free: 14.85 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001837/10.9, allocations: 20 kB / 4.485 GB, free: 14.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009607/10.9, allocations: 79.88 kB / 4.485 GB, free: 14.75 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/10.9, allocations: 60.86 kB / 4.485 GB, free: 14.69 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/10.9, allocations: 55.95 kB / 4.485 GB, free: 14.64 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006502/10.91, allocations: 447 kB / 4.486 GB, free: 14.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.93e-07/10.91, allocations: 0 / 4.486 GB, free: 14.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002735/10.91, allocations: 0.8234 MB / 4.486 GB, free: 13.38 MB / 490.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 () * Number of clocked 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.003297/10.91, allocations: 1.626 MB / 4.488 GB, free: 11.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002881/10.91, allocations: 1.209 MB / 4.489 GB, free: 10.54 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/10.91, allocations: 0 / 4.489 GB, free: 10.54 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001857/10.92, allocations: 0.6746 MB / 4.49 GB, free: 9.867 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002225/10.92, allocations: 442.5 kB / 4.49 GB, free: 9.441 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005055/10.92, allocations: 2.565 MB / 4.493 GB, free: 6.828 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005739/10.92, allocations: 1.058 MB / 4.494 GB, free: 5.742 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004875/10.92, allocations: 103.4 kB / 4.494 GB, free: 5.641 MB / 490.7 MB Notification: Performance of SimCode: time 1.584e-06/10.92, allocations: 0 / 4.494 GB, free: 5.641 MB / 490.7 MB Notification: Performance of Templates: time 0.3622/11.29, allocations: 31 MB / 4.524 GB, free: 71.3 MB / 0.4948 GB