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.798/1.798, allocations: 209.3 MB / 224.9 MB, free: 1.355 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004358/0.0004358, allocations: 12 kB / 282.6 MB, free: 9.742 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08854/0.089, allocations: 48.71 MB / 331.3 MB, free: 8.938 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.119/1.208, allocations: 418.2 MB / 0.7319 GB, free: 82.62 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/1.208, allocations: 99.94 kB / 0.732 GB, free: 82.53 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6568/1.865, allocations: 132.6 MB / 0.8615 GB, free: 101.6 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.023e-06/1.865, allocations: 6.531 kB / 0.8615 GB, free: 101.6 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.031e-05/1.865, allocations: 21.58 kB / 0.8615 GB, free: 101.6 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.002095/1.867, allocations: 0.9683 MB / 0.8625 GB, free: 100.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/1.867, allocations: 7.5 kB / 0.8625 GB, free: 100.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004738/1.868, allocations: 94.88 kB / 0.8626 GB, free: 100.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/1.869, allocations: 0.5566 MB / 0.8631 GB, free: 100.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/1.869, allocations: 105.6 kB / 0.8632 GB, free: 100.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/1.869, allocations: 52.81 kB / 0.8633 GB, free: 100.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/1.871, allocations: 0.7989 MB / 0.864 GB, free: 100 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/1.871, allocations: 3.938 kB / 0.864 GB, free: 100 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.787e-05/1.871, allocations: 23.66 kB / 0.8641 GB, free: 99.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.428e-05/1.871, allocations: 39.98 kB / 0.8641 GB, free: 99.97 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/1.872, allocations: 0.6359 MB / 0.8647 GB, free: 99.75 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004909/1.877, allocations: 3.636 MB / 0.8683 GB, free: 96.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009071/1.878, allocations: 391.6 kB / 0.8686 GB, free: 96.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00223/1.881, allocations: 1.636 MB / 0.8702 GB, free: 95.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/1.881, allocations: 38.56 kB / 0.8703 GB, free: 95.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 4.046e-06/1.881, allocations: 2.656 kB / 0.8703 GB, free: 95.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=42): time 0.003702/1.884, allocations: 1.441 MB / 0.8717 GB, free: 94.54 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/1.884, allocations: 132.5 kB / 0.8718 GB, free: 94.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007437/1.885, allocations: 0.5065 MB / 0.8723 GB, free: 94.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.148e-05/1.885, allocations: 33.3 kB / 0.8723 GB, free: 94.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/1.886, allocations: 404.9 kB / 0.8727 GB, free: 93.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/1.886, allocations: 155.6 kB / 0.8729 GB, free: 93.64 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-05/1.886, allocations: 14.5 kB / 0.8729 GB, free: 93.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.679e-05/1.886, allocations: 341.1 kB / 0.8732 GB, free: 93.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004512/1.886, allocations: 206.4 kB / 0.8734 GB, free: 93.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005728/1.887, allocations: 0.5302 MB / 0.8739 GB, free: 92.72 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005959/1.887, allocations: 318.6 kB / 0.8742 GB, free: 92.58 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.095e-06/1.887, allocations: 3.719 kB / 0.8742 GB, free: 92.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001967/1.889, allocations: 0.8597 MB / 0.8751 GB, free: 92.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/1.89, allocations: 11.59 kB / 0.8751 GB, free: 92.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/1.89, allocations: 11.81 kB / 0.8751 GB, free: 92.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001616/1.891, allocations: 262.9 kB / 0.8753 GB, free: 92.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005687/1.892, allocations: 131 kB / 0.8755 GB, free: 92.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/1.893, allocations: 0.8471 MB / 0.8763 GB, free: 91.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008759/1.894, allocations: 55.31 kB / 0.8764 GB, free: 91.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-05/1.894, allocations: 41.06 kB / 0.8764 GB, free: 91.46 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 () * Number of clocked 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.0004685/1.894, allocations: 251.6 kB / 0.8766 GB, free: 91.28 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/1.895, allocations: 70.56 kB / 0.8767 GB, free: 91.24 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/1.896, allocations: 0.7173 MB / 0.8774 GB, free: 90.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/1.896, allocations: 7.188 kB / 0.8774 GB, free: 90.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.611e-06/1.896, allocations: 0 / 0.8774 GB, free: 90.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.671e-06/1.896, allocations: 11.8 kB / 0.8774 GB, free: 90.83 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002926/1.899, allocations: 1.336 MB / 0.8787 GB, free: 90.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.358e-06/1.899, allocations: 0 / 0.8787 GB, free: 90.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/1.9, allocations: 197.3 kB / 0.8789 GB, free: 90.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001176/1.901, allocations: 23.95 kB / 0.8789 GB, free: 90 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.482e-05/1.901, allocations: 15.3 kB / 0.8789 GB, free: 90 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001811/1.902, allocations: 2.689 MB / 0.8816 GB, free: 87.29 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.132e-06/1.902, allocations: 7.172 kB / 0.8816 GB, free: 87.29 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/1.904, allocations: 1.007 MB / 0.8826 GB, free: 86.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003715/1.905, allocations: 200.1 kB / 0.8828 GB, free: 86.44 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/1.905, allocations: 11.53 kB / 0.8828 GB, free: 86.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00056/1.905, allocations: 34.08 kB / 0.8828 GB, free: 86.42 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/1.905, allocations: 42.39 kB / 0.8828 GB, free: 86.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.848e-05/1.905, allocations: 19.44 kB / 0.8829 GB, free: 86.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005816/1.906, allocations: 400.8 kB / 0.8832 GB, free: 86.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.69e-07/1.906, allocations: 0 / 0.8832 GB, free: 86.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001194/1.907, allocations: 234.7 kB / 0.8835 GB, free: 86.18 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 () * Number of clocked 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.0007335/1.908, allocations: 365.5 kB / 0.8838 GB, free: 86.01 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001555/1.91, allocations: 0.5745 MB / 0.8844 GB, free: 85.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.822e-06/1.91, allocations: 3.938 kB / 0.8844 GB, free: 85.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001102/1.911, allocations: 411.9 kB / 0.8848 GB, free: 85.63 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/1.912, allocations: 289.5 kB / 0.885 GB, free: 85.55 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002542/1.915, allocations: 1.649 MB / 0.8867 GB, free: 84.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004585/1.915, allocations: 0.9469 MB / 0.8876 GB, free: 83.86 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002565/1.916, allocations: 67.83 kB / 0.8876 GB, free: 83.85 MB / 426.7 MB Notification: Performance of SimCode: time 1.692e-06/1.916, allocations: 0 / 0.8876 GB, free: 83.85 MB / 426.7 MB Notification: Performance of Templates: time 0.02182/1.938, allocations: 15.31 MB / 0.9026 GB, free: 71.78 MB / 426.7 MB