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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.258/2.258, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.549e-05/1.592e-05, allocations: 4 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2777, allocations: 54.86 MB / 358 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.229/9.507, allocations: 3.667 GB / 4.016 GB, free: 113.9 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/9.507, allocations: 89.78 kB / 4.017 GB, free: 113.9 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.978/11.48, allocations: 427.6 MB / 4.434 GB, free: 59.92 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.965e-06/11.48, allocations: 0 / 4.434 GB, free: 59.92 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.836e-05/11.48, allocations: 19.31 kB / 4.434 GB, free: 59.92 MB / 474.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.007721/11.49, allocations: 2.337 MB / 4.436 GB, free: 58.43 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/11.49, allocations: 14.42 kB / 4.436 GB, free: 58.43 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007479/11.49, allocations: 107.7 kB / 4.437 GB, free: 58.38 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/11.5, allocations: 0.6405 MB / 4.437 GB, free: 57.97 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/11.5, allocations: 97.05 kB / 4.437 GB, free: 57.91 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002346/11.5, allocations: 41.75 kB / 4.437 GB, free: 57.91 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002371/11.5, allocations: 1.043 MB / 4.438 GB, free: 57.21 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002123/11.5, allocations: 1.022 MB / 4.439 GB, free: 56.3 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.767e-05/11.5, allocations: 7.438 kB / 4.439 GB, free: 56.29 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/11.5, allocations: 4 kB / 4.439 GB, free: 56.29 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.349e-05/11.5, allocations: 53.36 kB / 4.439 GB, free: 56.24 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008525/11.51, allocations: 4.996 MB / 4.444 GB, free: 51.56 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/11.51, allocations: 0.6457 MB / 4.445 GB, free: 50.99 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006307/11.51, allocations: 335 kB / 4.445 GB, free: 50.68 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008744/11.51, allocations: 1.064 MB / 4.446 GB, free: 49.44 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/11.51, allocations: 45.59 kB / 4.446 GB, free: 49.39 MB / 474.7 MB Notification: Performance of pre-optimization done (n=63): time 4.372e-06/11.51, allocations: 3.938 kB / 4.446 GB, free: 49.39 MB / 474.7 MB Notification: Performance of matching and sorting (n=75): time 0.01697/11.53, allocations: 3.715 MB / 4.45 GB, free: 46.09 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/11.53, allocations: 111.6 kB / 4.45 GB, free: 45.96 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007438/11.53, allocations: 490 kB / 4.451 GB, free: 45.47 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001677/11.53, allocations: 32.45 kB / 4.451 GB, free: 45.44 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/11.53, allocations: 469 kB / 4.451 GB, free: 44.97 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002396/11.53, allocations: 252.2 kB / 4.451 GB, free: 44.72 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.639e-05/11.53, allocations: 0 / 4.451 GB, free: 44.72 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.987e-05/11.53, allocations: 358.7 kB / 4.452 GB, free: 44.36 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007622/11.53, allocations: 410.5 kB / 4.452 GB, free: 43.96 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009008/11.53, allocations: 0.7067 MB / 4.453 GB, free: 43.13 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002555/11.54, allocations: 0.7134 MB / 4.453 GB, free: 42.43 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/11.54, allocations: 4 kB / 4.453 GB, free: 42.42 MB / 474.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.004422/11.54, allocations: 1.578 MB / 4.455 GB, free: 40.83 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/11.54, allocations: 14.66 kB / 4.455 GB, free: 40.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/11.54, allocations: 8 kB / 4.455 GB, free: 40.81 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005666/11.55, allocations: 1.038 MB / 4.456 GB, free: 39.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008799/11.55, allocations: 171.7 kB / 4.456 GB, free: 39.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002626/11.55, allocations: 1.482 MB / 4.458 GB, free: 38.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/11.55, allocations: 79.78 kB / 4.458 GB, free: 38.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/11.55, allocations: 63.97 kB / 4.458 GB, free: 37.96 MB / 474.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.0003002/11.55, allocations: 132.7 kB / 4.458 GB, free: 37.82 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002035/11.55, allocations: 71.16 kB / 4.458 GB, free: 37.75 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004182/11.56, allocations: 1.428 MB / 4.459 GB, free: 36.31 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/11.56, allocations: 11.84 kB / 4.459 GB, free: 36.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.096e-06/11.56, allocations: 0 / 4.459 GB, free: 36.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/11.56, allocations: 7.938 kB / 4.459 GB, free: 36.29 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005719/11.56, allocations: 2.669 MB / 4.462 GB, free: 33.51 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.443e-06/11.56, allocations: 8.062 kB / 4.462 GB, free: 33.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001515/11.56, allocations: 247.7 kB / 4.462 GB, free: 33.26 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001456/11.56, allocations: 304.5 kB / 4.462 GB, free: 32.96 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/11.56, allocations: 23.97 kB / 4.462 GB, free: 32.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001874/11.57, allocations: 2.152 MB / 4.465 GB, free: 30.64 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.779e-06/11.57, allocations: 7.938 kB / 4.465 GB, free: 30.64 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007397/11.57, allocations: 2.298 MB / 4.467 GB, free: 28.23 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007178/11.57, allocations: 272 kB / 4.467 GB, free: 27.95 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001867/11.57, allocations: 15.98 kB / 4.467 GB, free: 27.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/11.58, allocations: 51.86 kB / 4.467 GB, free: 27.88 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/11.58, allocations: 72.58 kB / 4.467 GB, free: 27.81 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/11.58, allocations: 39.97 kB / 4.467 GB, free: 27.77 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005658/11.58, allocations: 378.9 kB / 4.468 GB, free: 27.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.27e-07/11.58, allocations: 0 / 4.468 GB, free: 27.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003301/11.58, allocations: 0.7726 MB / 4.468 GB, free: 26.63 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * 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.003845/11.58, allocations: 1.749 MB / 4.47 GB, free: 25.07 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002385/11.59, allocations: 1.046 MB / 4.471 GB, free: 24.02 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/11.59, allocations: 0 / 4.471 GB, free: 24.02 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00155/11.59, allocations: 0.577 MB / 4.472 GB, free: 23.45 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/11.59, allocations: 365.3 kB / 4.472 GB, free: 23.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004315/11.59, allocations: 1.686 MB / 4.474 GB, free: 21.37 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006082/11.59, allocations: 1.054 MB / 4.475 GB, free: 20.28 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005074/11.6, allocations: 103.4 kB / 4.475 GB, free: 20.18 MB / 474.7 MB Notification: Performance of SimCode: time 2.45e-06/11.6, allocations: 4 kB / 4.475 GB, free: 20.18 MB / 474.7 MB Notification: Performance of Templates: time 0.04775/11.64, allocations: 30.2 MB / 4.504 GB, free: 5.98 MB / 490.7 MB