Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.323/2.323, allocations: 234.9 MB / 251.1 MB, free: 9.676 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004243/0.0004244, allocations: 8 kB / 315 MB, free: 9.723 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.445/0.4455, allocations: 54.85 MB / 369.8 MB, free: 12.79 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.74/11.19, allocations: 3.668 GB / 4.029 GB, free: 21.64 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/11.19, allocations: 105.3 kB / 4.029 GB, free: 21.59 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765/13.95, allocations: 432.6 MB / 4.451 GB, free: 57.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.206e-06/13.95, allocations: 2.906 kB / 4.451 GB, free: 57.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.469e-05/13.95, allocations: 24.23 kB / 4.451 GB, free: 57.4 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.01062/13.96, allocations: 2.427 MB / 4.454 GB, free: 56.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/13.96, allocations: 11.41 kB / 4.454 GB, free: 56.46 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000864/13.96, allocations: 108.7 kB / 4.454 GB, free: 56.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00211/13.97, allocations: 0.6374 MB / 4.454 GB, free: 56.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001543/13.97, allocations: 123 kB / 4.454 GB, free: 56.11 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002564/13.97, allocations: 71.25 kB / 4.454 GB, free: 56.11 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002996/13.97, allocations: 1.15 MB / 4.456 GB, free: 55.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.292e-05/13.97, allocations: 5.75 kB / 4.456 GB, free: 55.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001813/13.97, allocations: 33.22 kB / 4.456 GB, free: 55.93 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/13.97, allocations: 57.34 kB / 4.456 GB, free: 55.93 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003071/13.97, allocations: 1.136 MB / 4.457 GB, free: 55.91 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01031/13.98, allocations: 4.656 MB / 4.461 GB, free: 53.64 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00248/13.99, allocations: 0.7508 MB / 4.462 GB, free: 53.62 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001549/13.99, allocations: 1.581 MB / 4.464 GB, free: 51.93 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.76e-05/13.99, allocations: 45.09 kB / 4.464 GB, free: 51.89 MB / 490.7 MB Notification: Performance of pre-optimization done (n=69): time 2.995e-06/13.99, allocations: 0 / 4.464 GB, free: 51.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=81): time 0.02444/14.01, allocations: 4.174 MB / 4.468 GB, free: 51.38 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/14.01, allocations: 114.8 kB / 4.468 GB, free: 51.25 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/14.01, allocations: 0.6205 MB / 4.468 GB, free: 51.12 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002757/14.01, allocations: 43.52 kB / 4.469 GB, free: 51.09 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002802/14.01, allocations: 427.3 kB / 4.469 GB, free: 50.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003552/14.02, allocations: 295.5 kB / 4.469 GB, free: 50.69 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/14.02, allocations: 21.47 kB / 4.469 GB, free: 50.69 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.878e-05/14.02, allocations: 347.8 kB / 4.47 GB, free: 50.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001596/14.02, allocations: 477 kB / 4.47 GB, free: 50.38 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001791/14.02, allocations: 0.7905 MB / 4.471 GB, free: 50 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001874/14.02, allocations: 0.5774 MB / 4.471 GB, free: 50 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.261e-05/14.02, allocations: 3.969 kB / 4.471 GB, free: 50 MB / 490.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.005514/14.03, allocations: 1.629 MB / 4.473 GB, free: 49.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.501e-05/14.03, allocations: 10.5 kB / 4.473 GB, free: 49.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/14.03, allocations: 10.44 kB / 4.473 GB, free: 49.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01377/14.04, allocations: 1.426 MB / 4.474 GB, free: 49.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/14.04, allocations: 172.1 kB / 4.475 GB, free: 49.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004086/14.05, allocations: 1.493 MB / 4.476 GB, free: 49.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001856/14.05, allocations: 92.11 kB / 4.476 GB, free: 49.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002699/14.05, allocations: 68.55 kB / 4.476 GB, free: 49.36 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.0008207/14.05, allocations: 302.2 kB / 4.476 GB, free: 49.24 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002991/14.05, allocations: 84.91 kB / 4.476 GB, free: 49.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005396/14.05, allocations: 1.605 MB / 4.478 GB, free: 49.07 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.232e-05/14.05, allocations: 11.41 kB / 4.478 GB, free: 49.07 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/14.05, allocations: 0 / 4.478 GB, free: 49.07 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.882e-05/14.05, allocations: 3.797 kB / 4.478 GB, free: 49.07 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007128/14.06, allocations: 2.458 MB / 4.48 GB, free: 48.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/14.06, allocations: 0 / 4.48 GB, free: 48.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002536/14.06, allocations: 262.1 kB / 4.481 GB, free: 48.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00343/14.07, allocations: 398.8 kB / 4.481 GB, free: 48.67 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002487/14.07, allocations: 34.27 kB / 4.481 GB, free: 48.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003379/14.07, allocations: 2.267 MB / 4.483 GB, free: 46.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/14.07, allocations: 0 / 4.483 GB, free: 46.84 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0063/14.08, allocations: 1.955 MB / 4.485 GB, free: 46.57 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/14.08, allocations: 291.3 kB / 4.486 GB, free: 46.43 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003269/14.08, allocations: 22.03 kB / 4.486 GB, free: 46.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001678/14.08, allocations: 65.64 kB / 4.486 GB, free: 46.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002469/14.08, allocations: 71.05 kB / 4.486 GB, free: 46.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001827/14.08, allocations: 53.11 kB / 4.486 GB, free: 46.43 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008581/14.08, allocations: 451.6 kB / 4.486 GB, free: 46.34 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.32e-07/14.08, allocations: 0 / 4.486 GB, free: 46.34 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004238/14.09, allocations: 0.8326 MB / 4.487 GB, free: 46.19 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.005607/14.09, allocations: 1.631 MB / 4.489 GB, free: 45.83 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004277/14.1, allocations: 1.202 MB / 4.49 GB, free: 45.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/14.1, allocations: 0 / 4.49 GB, free: 45.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002942/14.1, allocations: 0.686 MB / 4.49 GB, free: 45.79 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003829/14.1, allocations: 422 kB / 4.491 GB, free: 45.78 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007651/14.11, allocations: 2.572 MB / 4.493 GB, free: 44.87 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007046/14.11, allocations: 1.059 MB / 4.494 GB, free: 44.16 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007187/14.11, allocations: 110 kB / 4.494 GB, free: 44.15 MB / 490.7 MB Notification: Performance of SimCode: time 2.625e-06/14.11, allocations: 0 / 4.494 GB, free: 44.15 MB / 490.7 MB Notification: Performance of Templates: time 0.06191/14.17, allocations: 31.04 MB / 4.525 GB, free: 42.44 MB / 490.7 MB