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.DryAirNasa.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.DryAirNasa,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.DryAirNasa") Notification: Performance of loadModel(ModelicaTest): time 1.832/1.832, allocations: 209.2 MB / 224.8 MB, free: 1.137 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004434/0.0004435, allocations: 12 kB / 282.6 MB, free: 9.711 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08902/0.08949, allocations: 48.72 MB / 331.3 MB, free: 8.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.654/1.743, allocations: 0.63 GB / 0.9535 GB, free: 18.78 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/1.743, allocations: 93.03 kB / 0.9536 GB, free: 18.69 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.249/2.992, allocations: 230.1 MB / 1.178 GB, free: 69.54 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.416e-06/2.993, allocations: 0 / 1.178 GB, free: 69.54 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.638e-05/2.993, allocations: 17.94 kB / 1.178 GB, free: 69.54 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.005534/2.998, allocations: 1.234 MB / 1.18 GB, free: 68.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.232e-05/2.998, allocations: 10.88 kB / 1.18 GB, free: 68.89 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002434/3.001, allocations: 128.2 kB / 1.18 GB, free: 68.86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0146/3.015, allocations: 0.5517 MB / 1.18 GB, free: 68.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002464/3.016, allocations: 107.2 kB / 1.18 GB, free: 68.55 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003664/3.016, allocations: 47.34 kB / 1.18 GB, free: 68.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003394/3.02, allocations: 0.802 MB / 1.181 GB, free: 68.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.515e-05/3.02, allocations: 10.06 kB / 1.181 GB, free: 68.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002287/3.02, allocations: 23.11 kB / 1.181 GB, free: 68.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001285/3.02, allocations: 34.91 kB / 1.181 GB, free: 68.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0112/3.031, allocations: 0.614 MB / 1.182 GB, free: 68.32 MB / 426.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.009749/3.041, allocations: 3.921 MB / 1.186 GB, free: 65.72 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/3.042, allocations: 318.4 kB / 1.186 GB, free: 65.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001614/3.043, allocations: 34.33 kB / 1.186 GB, free: 65.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/3.043, allocations: 46.25 kB / 1.186 GB, free: 65.65 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 6.247e-06/3.043, allocations: 0 / 1.186 GB, free: 65.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.01252/3.055, allocations: 1.631 MB / 1.188 GB, free: 65.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.628e-05/3.055, allocations: 132.2 kB / 1.188 GB, free: 65 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001695/3.057, allocations: 0.5269 MB / 1.188 GB, free: 64.87 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001387/3.057, allocations: 33.36 kB / 1.188 GB, free: 64.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004203/3.058, allocations: 406.8 kB / 1.189 GB, free: 64.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002687/3.058, allocations: 144.3 kB / 1.189 GB, free: 64.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/3.058, allocations: 14.81 kB / 1.189 GB, free: 64.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/3.058, allocations: 339.8 kB / 1.189 GB, free: 64.17 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/3.059, allocations: 192.8 kB / 1.189 GB, free: 64.17 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/3.061, allocations: 0.5361 MB / 1.19 GB, free: 63.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/3.062, allocations: 299.6 kB / 1.19 GB, free: 63.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.66e-05/3.062, allocations: 7.594 kB / 1.19 GB, free: 63.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.004008/3.066, allocations: 0.8458 MB / 1.191 GB, free: 63.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.553e-05/3.066, allocations: 9.469 kB / 1.191 GB, free: 63.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.217e-05/3.066, allocations: 9.875 kB / 1.191 GB, free: 63.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002135/3.068, allocations: 305.8 kB / 1.191 GB, free: 63.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005585/3.069, allocations: 131.6 kB / 1.191 GB, free: 63.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/3.07, allocations: 0.9017 MB / 1.192 GB, free: 63.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009511/3.071, allocations: 52.28 kB / 1.192 GB, free: 63.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/3.071, allocations: 78.45 kB / 1.192 GB, free: 63.14 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 (72): * Single equations (assignments): 71 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.000469/3.072, allocations: 247.6 kB / 1.193 GB, free: 63.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/3.072, allocations: 65.03 kB / 1.193 GB, free: 62.99 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00204/3.074, allocations: 0.6648 MB / 1.193 GB, free: 62.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.359e-06/3.074, allocations: 3.875 kB / 1.193 GB, free: 62.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.204e-06/3.074, allocations: 7.859 kB / 1.193 GB, free: 62.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.506e-06/3.074, allocations: 0 / 1.193 GB, free: 62.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002423/3.077, allocations: 1.266 MB / 1.195 GB, free: 62.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.802e-06/3.077, allocations: 0 / 1.195 GB, free: 62.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001424/3.078, allocations: 206.5 kB / 1.195 GB, free: 62.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000124/3.078, allocations: 27.75 kB / 1.195 GB, free: 62.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-05/3.078, allocations: 18.69 kB / 1.195 GB, free: 62.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/3.08, allocations: 2.689 MB / 1.197 GB, free: 59.87 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.843e-06/3.08, allocations: 3.531 kB / 1.197 GB, free: 59.87 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/3.082, allocations: 0.8559 MB / 1.198 GB, free: 59.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000372/3.082, allocations: 181.1 kB / 1.198 GB, free: 59.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/3.082, allocations: 9.656 kB / 1.198 GB, free: 59.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005636/3.083, allocations: 29.52 kB / 1.199 GB, free: 59.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/3.083, allocations: 45.53 kB / 1.199 GB, free: 59.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.262e-05/3.083, allocations: 42.53 kB / 1.199 GB, free: 59.42 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006396/3.084, allocations: 415.1 kB / 1.199 GB, free: 59.33 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.45e-07/3.084, allocations: 0 / 1.199 GB, free: 59.33 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001815/3.085, allocations: 390.4 kB / 1.199 GB, free: 59.29 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.002161/3.088, allocations: 1.038 MB / 1.2 GB, free: 59.06 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00148/3.089, allocations: 0.5396 MB / 1.201 GB, free: 59.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.813e-06/3.089, allocations: 5.25 kB / 1.201 GB, free: 59.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001161/3.09, allocations: 386 kB / 1.201 GB, free: 58.94 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/3.092, allocations: 321.5 kB / 1.202 GB, free: 58.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008318/3.101, allocations: 3.069 MB / 1.205 GB, free: 58.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/3.101, allocations: 0.9436 MB / 1.206 GB, free: 57.51 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005778/3.102, allocations: 114.4 kB / 1.206 GB, free: 57.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.572e-06/3.102, allocations: 0 / 1.206 GB, free: 57.5 MB / 426.7 MB Notification: Performance of Templates: time 0.03101/3.133, allocations: 20.66 MB / 1.226 GB, free: 56.32 MB / 426.7 MB