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.SimpleAir.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.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadModel(ModelicaTest): time 2.292/2.292, allocations: 235.1 MB / 243 MB, free: 9.492 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.646e-05/1.662e-05, allocations: 3.984 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.278, allocations: 54.86 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.003/1.281, allocations: 423.9 MB / 0.7636 GB, free: 42.57 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/1.281, allocations: 90.39 kB / 0.7637 GB, free: 42.52 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7962/2.078, allocations: 131 MB / 0.8916 GB, free: 105.8 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.486e-06/2.078, allocations: 0 / 0.8916 GB, free: 105.8 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.382e-05/2.078, allocations: 19.91 kB / 0.8917 GB, free: 105.7 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00336/2.081, allocations: 0.9007 MB / 0.8925 GB, free: 104.8 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/2.081, allocations: 16.02 kB / 0.8926 GB, free: 104.8 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009063/2.082, allocations: 91.28 kB / 0.8926 GB, free: 104.7 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002214/2.084, allocations: 0.5542 MB / 0.8932 GB, free: 104.1 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001626/2.085, allocations: 80.72 kB / 0.8933 GB, free: 104 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002071/2.085, allocations: 31.91 kB / 0.8933 GB, free: 104 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002058/2.087, allocations: 0.5608 MB / 0.8938 GB, free: 103.4 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/2.089, allocations: 0.7231 MB / 0.8945 GB, free: 102.6 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.501e-05/2.089, allocations: 4 kB / 0.8945 GB, free: 102.6 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001562/2.09, allocations: 0 / 0.8945 GB, free: 102.6 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001158/2.09, allocations: 37.3 kB / 0.8946 GB, free: 102.6 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008628/2.098, allocations: 3.783 MB / 0.8983 GB, free: 98.58 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/2.099, allocations: 305.8 kB / 0.8986 GB, free: 98.27 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005182/2.1, allocations: 163.5 kB / 0.8987 GB, free: 98.11 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003414/2.103, allocations: 1.376 MB / 0.9001 GB, free: 96.59 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/2.104, allocations: 42.75 kB / 0.9001 GB, free: 96.54 MB / 474.7 MB Notification: Performance of pre-optimization done (n=27): time 6.83e-06/2.104, allocations: 0 / 0.9001 GB, free: 96.54 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.006461/2.11, allocations: 1.151 MB / 0.9012 GB, free: 95.32 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/2.11, allocations: 132.5 kB / 0.9014 GB, free: 95.16 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/2.111, allocations: 490 kB / 0.9018 GB, free: 94.68 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.045e-05/2.112, allocations: 29.7 kB / 0.9019 GB, free: 94.64 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00033/2.112, allocations: 441.1 kB / 0.9023 GB, free: 94.21 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/2.112, allocations: 118.4 kB / 0.9024 GB, free: 94.09 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.967e-05/2.112, allocations: 4 kB / 0.9024 GB, free: 94.09 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/2.112, allocations: 342.8 kB / 0.9027 GB, free: 93.74 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006297/2.113, allocations: 181.5 kB / 0.9029 GB, free: 93.56 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008316/2.114, allocations: 0.5122 MB / 0.9034 GB, free: 92.89 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002488/2.116, allocations: 326.7 kB / 0.9037 GB, free: 92.58 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.728e-05/2.116, allocations: 0 / 0.9037 GB, free: 92.58 MB / 474.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.006111/2.123, allocations: 0.8107 MB / 0.9045 GB, free: 91.76 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/2.123, allocations: 11.98 kB / 0.9045 GB, free: 91.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/2.123, allocations: 12 kB / 0.9045 GB, free: 91.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/2.124, allocations: 224.7 kB / 0.9047 GB, free: 91.51 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005699/2.124, allocations: 131.8 kB / 0.9049 GB, free: 91.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/2.126, allocations: 0.8556 MB / 0.9057 GB, free: 90.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009436/2.127, allocations: 31.92 kB / 0.9057 GB, free: 90.47 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.836e-05/2.127, allocations: 43.98 kB / 0.9058 GB, free: 90.43 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (77): * Single equations (assignments): 76 * 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 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002319/2.127, allocations: 144.9 kB / 0.9059 GB, free: 90.28 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/2.127, allocations: 59.25 kB / 0.906 GB, free: 90.22 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001376/2.129, allocations: 0.5469 MB / 0.9065 GB, free: 89.64 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/2.129, allocations: 4 kB / 0.9065 GB, free: 89.64 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.011e-06/2.129, allocations: 0 / 0.9065 GB, free: 89.64 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.27e-06/2.129, allocations: 0 / 0.9065 GB, free: 89.64 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002169/2.131, allocations: 1.062 MB / 0.9075 GB, free: 88.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.548e-06/2.131, allocations: 0 / 0.9075 GB, free: 88.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/2.132, allocations: 179.8 kB / 0.9077 GB, free: 88.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001156/2.132, allocations: 20.84 kB / 0.9077 GB, free: 88.32 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.009e-05/2.132, allocations: 11.95 kB / 0.9077 GB, free: 88.31 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001782/2.134, allocations: 2.581 MB / 0.9103 GB, free: 85.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.691e-06/2.134, allocations: 4.031 kB / 0.9103 GB, free: 85.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001466/2.136, allocations: 0.7391 MB / 0.911 GB, free: 84.72 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003513/2.136, allocations: 184.3 kB / 0.9112 GB, free: 84.52 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/2.136, allocations: 7.953 kB / 0.9112 GB, free: 84.51 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005142/2.137, allocations: 15.98 kB / 0.9112 GB, free: 84.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.444e-05/2.137, allocations: 28.02 kB / 0.9112 GB, free: 84.47 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.153e-05/2.137, allocations: 15.98 kB / 0.9112 GB, free: 84.45 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000521/2.137, allocations: 362.9 kB / 0.9116 GB, free: 84.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.776e-06/2.137, allocations: 0 / 0.9116 GB, free: 84.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001195/2.139, allocations: 215.9 kB / 0.9118 GB, free: 83.89 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 31 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007179/2.139, allocations: 369.2 kB / 0.9121 GB, free: 83.54 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001272/2.141, allocations: 0.4976 MB / 0.9126 GB, free: 83.04 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.223e-06/2.141, allocations: 0.9375 kB / 0.9126 GB, free: 83.04 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009295/2.142, allocations: 345.3 kB / 0.9129 GB, free: 82.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/2.143, allocations: 243.7 kB / 0.9132 GB, free: 82.46 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/2.145, allocations: 0.9064 MB / 0.9141 GB, free: 81.53 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/2.145, allocations: 0.9456 MB / 0.915 GB, free: 80.55 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/2.146, allocations: 59.36 kB / 0.915 GB, free: 80.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.772e-06/2.146, allocations: 0 / 0.915 GB, free: 80.5 MB / 474.7 MB Notification: Performance of Templates: time 0.02164/2.167, allocations: 14.9 MB / 0.9296 GB, free: 65.61 MB / 474.7 MB