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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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 1.808/1.808, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.933e-05/2.955e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08488/0.08493, allocations: 48.7 MB / 326.6 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.138/1.223, allocations: 418.1 MB / 0.7272 GB, free: 123.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/1.223, allocations: 94.08 kB / 0.7273 GB, free: 123.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6989/1.922, allocations: 132.1 MB / 0.8563 GB, free: 87.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.361e-06/1.922, allocations: 0 / 0.8563 GB, free: 87.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.501e-05/1.922, allocations: 18.27 kB / 0.8563 GB, free: 87.86 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.002227/1.924, allocations: 0.8998 MB / 0.8572 GB, free: 87.45 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/1.924, allocations: 9 kB / 0.8572 GB, free: 87.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005401/1.925, allocations: 86.94 kB / 0.8573 GB, free: 87.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/1.926, allocations: 0.5568 MB / 0.8579 GB, free: 87.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/1.926, allocations: 103.5 kB / 0.858 GB, free: 87.11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/1.926, allocations: 52.7 kB / 0.858 GB, free: 87.11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/1.928, allocations: 0.7903 MB / 0.8588 GB, free: 86.92 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/1.928, allocations: 1.125 kB / 0.8588 GB, free: 86.92 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/1.928, allocations: 27.84 kB / 0.8588 GB, free: 86.92 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.627e-05/1.928, allocations: 36.52 kB / 0.8588 GB, free: 86.92 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001368/1.93, allocations: 0.6243 MB / 0.8595 GB, free: 86.91 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005314/1.935, allocations: 3.641 MB / 0.863 GB, free: 84.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009538/1.936, allocations: 386.6 kB / 0.8634 GB, free: 84.72 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003972/1.936, allocations: 195.1 kB / 0.8636 GB, free: 84.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002399/1.939, allocations: 1.648 MB / 0.8652 GB, free: 83.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/1.939, allocations: 43.14 kB / 0.8652 GB, free: 83.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 4.788e-06/1.939, allocations: 0 / 0.8652 GB, free: 83.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=42): time 0.003724/1.943, allocations: 1.3 MB / 0.8665 GB, free: 83.05 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/1.943, allocations: 137 kB / 0.8666 GB, free: 82.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008552/1.944, allocations: 496.4 kB / 0.8671 GB, free: 82.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.948e-05/1.944, allocations: 36.39 kB / 0.8671 GB, free: 82.74 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002202/1.944, allocations: 408.3 kB / 0.8675 GB, free: 82.47 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/1.944, allocations: 159.1 kB / 0.8677 GB, free: 82.37 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-05/1.944, allocations: 14.75 kB / 0.8677 GB, free: 82.37 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.281e-05/1.944, allocations: 344.2 kB / 0.868 GB, free: 82.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004414/1.945, allocations: 198.5 kB / 0.8682 GB, free: 82.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006025/1.945, allocations: 0.5302 MB / 0.8687 GB, free: 81.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006001/1.946, allocations: 309.3 kB / 0.869 GB, free: 81.63 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/1.946, allocations: 2.75 kB / 0.869 GB, free: 81.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002011/1.948, allocations: 0.8459 MB / 0.8698 GB, free: 81.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.212e-05/1.948, allocations: 12.44 kB / 0.8698 GB, free: 81.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.206e-05/1.948, allocations: 11 kB / 0.8699 GB, free: 81.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001555/1.95, allocations: 255.3 kB / 0.8701 GB, free: 81.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006363/1.95, allocations: 137.6 kB / 0.8702 GB, free: 81.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001069/1.951, allocations: 0.8307 MB / 0.871 GB, free: 81.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009313/1.952, allocations: 53.31 kB / 0.8711 GB, free: 81.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.058e-05/1.952, allocations: 38.81 kB / 0.8711 GB, free: 81.03 MB / 426.7 MB 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 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002113/1.953, allocations: 162.6 kB / 0.8713 GB, free: 80.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/1.953, allocations: 68.19 kB / 0.8713 GB, free: 80.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/1.954, allocations: 0.7099 MB / 0.872 GB, free: 80.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/1.954, allocations: 7.266 kB / 0.872 GB, free: 80.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.128e-06/1.954, allocations: 3.875 kB / 0.8721 GB, free: 80.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.338e-06/1.954, allocations: 0 / 0.8721 GB, free: 80.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002488/1.957, allocations: 1.34 MB / 0.8734 GB, free: 80.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.422e-06/1.957, allocations: 0 / 0.8734 GB, free: 80.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001359/1.958, allocations: 190.7 kB / 0.8735 GB, free: 80.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001248/1.958, allocations: 28.97 kB / 0.8736 GB, free: 80.22 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.745e-05/1.959, allocations: 17.5 kB / 0.8736 GB, free: 80.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001904/1.96, allocations: 2.678 MB / 0.8762 GB, free: 77.65 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.332e-06/1.961, allocations: 5.969 kB / 0.8762 GB, free: 77.65 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/1.962, allocations: 0.9972 MB / 0.8772 GB, free: 77.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004334/1.963, allocations: 192.7 kB / 0.8774 GB, free: 77.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/1.963, allocations: 21.02 kB / 0.8774 GB, free: 77.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006813/1.963, allocations: 32.61 kB / 0.8774 GB, free: 77.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/1.964, allocations: 33.41 kB / 0.8774 GB, free: 77.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-05/1.964, allocations: 23.45 kB / 0.8775 GB, free: 77.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006222/1.964, allocations: 391.3 kB / 0.8778 GB, free: 76.99 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.033e-06/1.964, allocations: 0 / 0.8778 GB, free: 76.99 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001476/1.966, allocations: 237.3 kB / 0.8781 GB, free: 76.97 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (44): * Single equations (assignments): 40 * 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.0007563/1.967, allocations: 350.7 kB / 0.8784 GB, free: 76.86 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001624/1.968, allocations: 0.5663 MB / 0.879 GB, free: 76.85 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/1.968, allocations: 0 / 0.879 GB, free: 76.85 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001234/1.97, allocations: 413.3 kB / 0.8794 GB, free: 76.74 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002033/1.972, allocations: 289.8 kB / 0.8796 GB, free: 76.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/1.974, allocations: 1.017 MB / 0.8806 GB, free: 76.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000464/1.974, allocations: 0.9474 MB / 0.8815 GB, free: 75.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002617/1.975, allocations: 64.47 kB / 0.8816 GB, free: 75.69 MB / 426.7 MB Notification: Performance of SimCode: time 1.929e-06/1.975, allocations: 3.5 kB / 0.8816 GB, free: 75.69 MB / 426.7 MB Notification: Performance of Templates: time 0.0234/1.998, allocations: 15.3 MB / 0.8966 GB, free: 75.05 MB / 426.7 MB