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.SimpleAir.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadModel(ModelicaTest): time 2.013/2.013, allocations: 209.4 MB / 217.3 MB, free: 4.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.696e-05/1.711e-05, allocations: 4 kB / 271.3 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3017, allocations: 48.69 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9401/1.242, allocations: 417.5 MB / 0.7202 GB, free: 34.92 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/1.242, allocations: 87.33 kB / 0.7203 GB, free: 34.87 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6249/1.867, allocations: 131 MB / 0.8483 GB, free: 80.64 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.021e-06/1.867, allocations: 4 kB / 0.8483 GB, free: 80.64 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.836e-05/1.867, allocations: 20.44 kB / 0.8483 GB, free: 80.62 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002138/1.869, allocations: 0.9079 MB / 0.8492 GB, free: 79.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/1.869, allocations: 8.031 kB / 0.8492 GB, free: 79.67 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005507/1.87, allocations: 87.14 kB / 0.8493 GB, free: 79.58 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/1.871, allocations: 0.5551 MB / 0.8498 GB, free: 78.99 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/1.872, allocations: 84.7 kB / 0.8499 GB, free: 78.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/1.872, allocations: 28 kB / 0.8499 GB, free: 78.87 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001174/1.873, allocations: 0.557 MB / 0.8504 GB, free: 78.31 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/1.874, allocations: 0.7179 MB / 0.8511 GB, free: 77.53 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/1.874, allocations: 7.922 kB / 0.8512 GB, free: 77.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.444e-05/1.874, allocations: 7.938 kB / 0.8512 GB, free: 77.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.995e-05/1.874, allocations: 37.3 kB / 0.8512 GB, free: 77.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005335/1.88, allocations: 3.775 MB / 0.8549 GB, free: 73.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006976/1.881, allocations: 304.8 kB / 0.8552 GB, free: 73.17 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003111/1.881, allocations: 165.3 kB / 0.8553 GB, free: 73.01 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002014/1.883, allocations: 1.376 MB / 0.8567 GB, free: 71.48 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/1.883, allocations: 34.8 kB / 0.8567 GB, free: 71.44 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 3.577e-06/1.883, allocations: 0 / 0.8567 GB, free: 71.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.003784/1.887, allocations: 1.155 MB / 0.8578 GB, free: 70.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/1.887, allocations: 136.5 kB / 0.858 GB, free: 70.05 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007201/1.888, allocations: 490.2 kB / 0.8584 GB, free: 69.56 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.33e-05/1.888, allocations: 25.7 kB / 0.8585 GB, free: 69.53 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/1.888, allocations: 456.9 kB / 0.8589 GB, free: 69.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/1.888, allocations: 118.3 kB / 0.859 GB, free: 68.97 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/1.888, allocations: 0 / 0.859 GB, free: 68.97 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.931e-05/1.888, allocations: 342.8 kB / 0.8593 GB, free: 68.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003561/1.889, allocations: 185.5 kB / 0.8595 GB, free: 68.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004865/1.889, allocations: 0.5122 MB / 0.86 GB, free: 67.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009088/1.89, allocations: 307.6 kB / 0.8603 GB, free: 67.47 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.437e-06/1.89, allocations: 4 kB / 0.8603 GB, free: 67.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002298/1.892, allocations: 0.8068 MB / 0.8611 GB, free: 66.65 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/1.892, allocations: 14.34 kB / 0.8611 GB, free: 66.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/1.892, allocations: 16 kB / 0.8611 GB, free: 66.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/1.894, allocations: 213.9 kB / 0.8613 GB, free: 66.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005529/1.894, allocations: 135.8 kB / 0.8615 GB, free: 66.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/1.895, allocations: 0.8688 MB / 0.8623 GB, free: 65.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009327/1.896, allocations: 39.86 kB / 0.8623 GB, free: 65.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.775e-05/1.896, allocations: 47.97 kB / 0.8624 GB, free: 65.3 MB / 426.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.0002267/1.897, allocations: 128.9 kB / 0.8625 GB, free: 65.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/1.897, allocations: 63.33 kB / 0.8626 GB, free: 65.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001394/1.898, allocations: 0.5421 MB / 0.8631 GB, free: 64.54 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/1.898, allocations: 4 kB / 0.8631 GB, free: 64.53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.632e-06/1.898, allocations: 4 kB / 0.8631 GB, free: 64.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.03e-06/1.898, allocations: 7.922 kB / 0.8631 GB, free: 64.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002183/1.901, allocations: 1.059 MB / 0.8642 GB, free: 63.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.707e-06/1.901, allocations: 4 kB / 0.8642 GB, free: 63.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00116/1.902, allocations: 179.7 kB / 0.8643 GB, free: 63.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001211/1.902, allocations: 24.84 kB / 0.8644 GB, free: 63.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.219e-05/1.902, allocations: 8 kB / 0.8644 GB, free: 63.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001749/1.904, allocations: 2.577 MB / 0.8669 GB, free: 60.38 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/1.904, allocations: 0 / 0.8669 GB, free: 60.38 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/1.905, allocations: 0.7506 MB / 0.8676 GB, free: 59.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003769/1.906, allocations: 184.3 kB / 0.8678 GB, free: 59.39 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/1.906, allocations: 4 kB / 0.8678 GB, free: 59.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005651/1.906, allocations: 23.89 kB / 0.8678 GB, free: 59.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.75e-05/1.907, allocations: 23.97 kB / 0.8678 GB, free: 59.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.433e-05/1.907, allocations: 15.98 kB / 0.8678 GB, free: 59.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005655/1.907, allocations: 362.9 kB / 0.8682 GB, free: 58.97 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.019e-06/1.907, allocations: 0 / 0.8682 GB, free: 58.97 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00127/1.908, allocations: 211.9 kB / 0.8684 GB, free: 58.77 MB / 426.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.0007333/1.909, allocations: 364.9 kB / 0.8687 GB, free: 58.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00132/1.911, allocations: 0.4976 MB / 0.8692 GB, free: 57.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/1.911, allocations: 0.625 kB / 0.8692 GB, free: 57.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009512/1.912, allocations: 345.5 kB / 0.8696 GB, free: 57.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/1.913, allocations: 243.1 kB / 0.8698 GB, free: 57.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/1.915, allocations: 0.9103 MB / 0.8707 GB, free: 56.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/1.915, allocations: 0.9417 MB / 0.8716 GB, free: 55.44 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002407/1.916, allocations: 63.42 kB / 0.8717 GB, free: 55.38 MB / 426.7 MB Notification: Performance of SimCode: time 1.851e-06/1.916, allocations: 0 / 0.8717 GB, free: 55.38 MB / 426.7 MB Notification: Performance of Templates: time 0.02154/1.937, allocations: 14.88 MB / 0.8862 GB, free: 40.51 MB / 426.7 MB