Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadModel(Modelica): time 1.635/1.635, allocations: 171.3 MB / 179.2 MB, free: 8.168 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.643e-05/1.652e-05, allocations: 4 kB / 222.5 MB, free: 8.762 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06866/0.0687, allocations: 38.76 MB / 261.3 MB, free: 1.922 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.539/1.608, allocations: 0.5797 GB / 0.8349 GB, free: 113.6 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/1.608, allocations: 82.75 kB / 0.835 GB, free: 113.6 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6067/2.215, allocations: 151.6 MB / 0.983 GB, free: 65.12 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.768e-06/2.215, allocations: 2.625 kB / 0.983 GB, free: 65.12 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.094e-05/2.215, allocations: 7.812 kB / 0.983 GB, free: 65.12 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.00089/2.216, allocations: 0.5961 MB / 0.9836 GB, free: 64.7 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/2.216, allocations: 11.56 kB / 0.9836 GB, free: 64.7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003329/2.216, allocations: 41.17 kB / 0.9836 GB, free: 64.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/2.217, allocations: 278.2 kB / 0.9839 GB, free: 64.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/2.217, allocations: 7.719 kB / 0.9839 GB, free: 64.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.701e-05/2.217, allocations: 14.16 kB / 0.9839 GB, free: 64.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004062/2.217, allocations: 183.4 kB / 0.9841 GB, free: 64.47 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004965/2.218, allocations: 277.1 kB / 0.9844 GB, free: 64.38 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/2.218, allocations: 0 / 0.9844 GB, free: 64.38 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.381e-05/2.218, allocations: 3.969 kB / 0.9844 GB, free: 64.38 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/2.218, allocations: 3.906 kB / 0.9844 GB, free: 64.38 MB / 346.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001745/2.22, allocations: 1.547 MB / 0.9859 GB, free: 63.24 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000262/2.22, allocations: 139.9 kB / 0.986 GB, free: 63.21 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/2.22, allocations: 83.7 kB / 0.9861 GB, free: 63.2 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.196e-05/2.22, allocations: 3.562 kB / 0.9861 GB, free: 63.2 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/2.22, allocations: 38.12 kB / 0.9861 GB, free: 63.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 2.913e-06/2.22, allocations: 0 / 0.9861 GB, free: 63.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.00472/2.225, allocations: 0.9928 MB / 0.9871 GB, free: 62.75 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.226e-05/2.225, allocations: 58.77 kB / 0.9872 GB, free: 62.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/2.225, allocations: 203 kB / 0.9874 GB, free: 62.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/2.225, allocations: 25.7 kB / 0.9874 GB, free: 62.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/2.225, allocations: 239.9 kB / 0.9876 GB, free: 62.37 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.532e-05/2.226, allocations: 93.27 kB / 0.9877 GB, free: 62.32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.339e-05/2.226, allocations: 3.281 kB / 0.9877 GB, free: 62.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.018e-05/2.226, allocations: 328.2 kB / 0.988 GB, free: 62.01 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/2.226, allocations: 81.16 kB / 0.9881 GB, free: 62 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/2.226, allocations: 170.6 kB / 0.9883 GB, free: 61.89 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/2.226, allocations: 111.7 kB / 0.9884 GB, free: 61.89 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/2.226, allocations: 3.375 kB / 0.9884 GB, free: 61.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007858/2.227, allocations: 342.3 kB / 0.9887 GB, free: 61.83 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/2.227, allocations: 7.469 kB / 0.9887 GB, free: 61.83 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.261e-06/2.227, allocations: 3.406 kB / 0.9887 GB, free: 61.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002495/2.227, allocations: 61.78 kB / 0.9888 GB, free: 61.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003954/2.228, allocations: 89.17 kB / 0.9889 GB, free: 61.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/2.229, allocations: 1.812 MB / 0.9906 GB, free: 60.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003818/2.229, allocations: 20.05 kB / 0.9906 GB, free: 60.1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-05/2.23, allocations: 39.66 kB / 0.9907 GB, free: 60.1 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001257/2.23, allocations: 113.5 kB / 0.9908 GB, free: 60 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.538e-05/2.23, allocations: 31.27 kB / 0.9908 GB, free: 59.98 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009382/2.231, allocations: 341.2 kB / 0.9911 GB, free: 59.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.827e-06/2.231, allocations: 2.688 kB / 0.9911 GB, free: 59.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.181e-06/2.231, allocations: 1.375 kB / 0.9911 GB, free: 59.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005094/2.231, allocations: 0.537 MB / 0.9917 GB, free: 59.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/2.232, allocations: 0.667 MB / 0.9923 GB, free: 59.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.017e-06/2.232, allocations: 2.688 kB / 0.9923 GB, free: 59.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004256/2.233, allocations: 74.34 kB / 0.9924 GB, free: 59.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001138/2.233, allocations: 20.55 kB / 0.9924 GB, free: 59.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-05/2.233, allocations: 14.78 kB / 0.9924 GB, free: 59.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007653/2.234, allocations: 1.235 MB / 0.9936 GB, free: 57.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.396e-06/2.234, allocations: 0 / 0.9936 GB, free: 57.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007464/2.235, allocations: 469.7 kB / 0.9941 GB, free: 57.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.961e-05/2.235, allocations: 100.4 kB / 0.9942 GB, free: 57.66 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.344e-05/2.235, allocations: 0 / 0.9942 GB, free: 57.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00036/2.235, allocations: 14.55 kB / 0.9942 GB, free: 57.66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/2.235, allocations: 28.22 kB / 0.9942 GB, free: 57.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.026e-05/2.235, allocations: 27.12 kB / 0.9942 GB, free: 57.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001775/2.236, allocations: 159.5 kB / 0.9944 GB, free: 57.58 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.62e-07/2.236, allocations: 0 / 0.9944 GB, free: 57.58 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008918/2.236, allocations: 164.2 kB / 0.9946 GB, free: 57.57 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001304/2.238, allocations: 0.9151 MB / 0.9954 GB, free: 57.4 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007076/2.239, allocations: 346.7 kB / 0.9958 GB, free: 57.29 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/2.239, allocations: 3.875 kB / 0.9958 GB, free: 57.29 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002804/2.239, allocations: 213.8 kB / 0.996 GB, free: 57.19 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008658/2.24, allocations: 131.8 kB / 0.9961 GB, free: 57.18 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/2.241, allocations: 0.491 MB / 0.9966 GB, free: 56.98 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/2.241, allocations: 0.7678 MB / 0.9973 GB, free: 56.28 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000396/2.241, allocations: 80.66 kB / 0.9974 GB, free: 56.27 MB / 346.7 MB Notification: Performance of SimCode: time 1.68e-06/2.241, allocations: 0 / 0.9974 GB, free: 56.27 MB / 346.7 MB Notification: Performance of Templates: time 0.01705/2.259, allocations: 11.19 MB / 1.008 GB, free: 55.58 MB / 346.7 MB