Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadModel(Modelica): time 1.722/1.722, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003539/0.0003539, allocations: 8 kB / 264 MB, free: 13.56 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09721/0.09759, allocations: 44.51 MB / 308.5 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.513/1.611, allocations: 0.5861 GB / 0.8874 GB, free: 122.9 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/1.611, allocations: 95.88 kB / 0.8874 GB, free: 122.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6818/2.293, allocations: 153.7 MB / 1.038 GB, free: 94.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.41e-06/2.293, allocations: 3.906 kB / 1.038 GB, free: 94.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.164e-05/2.293, allocations: 7.875 kB / 1.038 GB, free: 94.99 MB / 410.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.0009629/2.294, allocations: 0.6174 MB / 1.038 GB, free: 94.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/2.294, allocations: 11.06 kB / 1.038 GB, free: 94.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003325/2.295, allocations: 47.48 kB / 1.038 GB, free: 94.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/2.295, allocations: 280.6 kB / 1.038 GB, free: 94.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/2.295, allocations: 25.59 kB / 1.038 GB, free: 94.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.544e-05/2.295, allocations: 29.31 kB / 1.039 GB, free: 94.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005776/2.296, allocations: 316.8 kB / 1.039 GB, free: 94.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/2.296, allocations: 3.219 kB / 1.039 GB, free: 94.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.821e-05/2.296, allocations: 9.875 kB / 1.039 GB, free: 94.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.242e-06/2.296, allocations: 6.625 kB / 1.039 GB, free: 94.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004157/2.296, allocations: 203.9 kB / 1.039 GB, free: 94.24 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.00189/2.298, allocations: 1.572 MB / 1.041 GB, free: 93.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003378/2.298, allocations: 165.6 kB / 1.041 GB, free: 93.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.192e-05/2.298, allocations: 10.83 kB / 1.041 GB, free: 93.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/2.299, allocations: 40.56 kB / 1.041 GB, free: 93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 3.401e-06/2.299, allocations: 0 / 1.041 GB, free: 93 MB / 410.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.006034/2.305, allocations: 1.627 MB / 1.042 GB, free: 92.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/2.305, allocations: 58.02 kB / 1.042 GB, free: 92.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000271/2.305, allocations: 225.8 kB / 1.043 GB, free: 92.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.05e-05/2.305, allocations: 32.73 kB / 1.043 GB, free: 92.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.049e-05/2.305, allocations: 236.8 kB / 1.043 GB, free: 91.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.55e-05/2.305, allocations: 93.11 kB / 1.043 GB, free: 91.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/2.305, allocations: 7.375 kB / 1.043 GB, free: 91.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.175e-05/2.305, allocations: 328.1 kB / 1.043 GB, free: 91.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/2.305, allocations: 87.06 kB / 1.043 GB, free: 91.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/2.306, allocations: 179.1 kB / 1.044 GB, free: 91.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002741/2.306, allocations: 123.4 kB / 1.044 GB, free: 91.44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.014e-06/2.306, allocations: 0 / 1.044 GB, free: 91.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008369/2.307, allocations: 387.1 kB / 1.044 GB, free: 91.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/2.307, allocations: 14.38 kB / 1.044 GB, free: 91.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-06/2.307, allocations: 3.781 kB / 1.044 GB, free: 91.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002639/2.307, allocations: 78.19 kB / 1.044 GB, free: 91.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003956/2.308, allocations: 75.61 kB / 1.044 GB, free: 91.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/2.309, allocations: 1.863 MB / 1.046 GB, free: 89.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004028/2.309, allocations: 23.38 kB / 1.046 GB, free: 89.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.369e-05/2.31, allocations: 43.62 kB / 1.046 GB, free: 89.59 MB / 410.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 () * Number of clocked 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.000227/2.31, allocations: 151.6 kB / 1.046 GB, free: 89.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.35e-05/2.31, allocations: 29.25 kB / 1.046 GB, free: 89.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/2.311, allocations: 443.4 kB / 1.047 GB, free: 89.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.387e-06/2.311, allocations: 7.891 kB / 1.047 GB, free: 89.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.161e-06/2.311, allocations: 0 / 1.047 GB, free: 89.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005824/2.312, allocations: 0.5553 MB / 1.047 GB, free: 88.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/2.313, allocations: 0.7256 MB / 1.048 GB, free: 88.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.105e-06/2.313, allocations: 0 / 1.048 GB, free: 88.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004337/2.314, allocations: 75.31 kB / 1.048 GB, free: 88.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001108/2.314, allocations: 16.33 kB / 1.048 GB, free: 88.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.698e-05/2.314, allocations: 17.89 kB / 1.048 GB, free: 88.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008065/2.315, allocations: 1.284 MB / 1.049 GB, free: 87.35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.661e-06/2.315, allocations: 3.562 kB / 1.049 GB, free: 87.35 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008473/2.315, allocations: 0.4935 MB / 1.05 GB, free: 87.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/2.316, allocations: 106.6 kB / 1.05 GB, free: 87.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.774e-05/2.316, allocations: 11.7 kB / 1.05 GB, free: 87.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003759/2.316, allocations: 14.42 kB / 1.05 GB, free: 87.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.666e-05/2.316, allocations: 23.3 kB / 1.05 GB, free: 87.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.957e-05/2.316, allocations: 34.11 kB / 1.05 GB, free: 87.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002302/2.316, allocations: 189.3 kB / 1.05 GB, free: 86.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.46e-07/2.316, allocations: 3.188 kB / 1.05 GB, free: 86.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000914/2.317, allocations: 188.5 kB / 1.05 GB, free: 86.94 MB / 410.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 () * Number of clocked 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.001212/2.319, allocations: 0.7841 MB / 1.051 GB, free: 86.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008005/2.319, allocations: 360.9 kB / 1.051 GB, free: 86.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/2.319, allocations: 0 / 1.051 GB, free: 86.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003372/2.32, allocations: 236.3 kB / 1.052 GB, free: 86.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/2.321, allocations: 167.2 kB / 1.052 GB, free: 86.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/2.322, allocations: 0.8602 MB / 1.053 GB, free: 86.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/2.323, allocations: 0.7656 MB / 1.053 GB, free: 85.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003582/2.323, allocations: 83.69 kB / 1.053 GB, free: 85.43 MB / 410.7 MB Notification: Performance of SimCode: time 1.637e-06/2.323, allocations: 0 / 1.053 GB, free: 85.43 MB / 410.7 MB Notification: Performance of Templates: time 0.01728/2.34, allocations: 11.64 MB / 1.065 GB, free: 84.76 MB / 410.7 MB