Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadModel(ModelicaTest): time 2.17/2.17, allocations: 234.9 MB / 251.1 MB, free: 10.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005945/0.0005947, allocations: 8 kB / 314.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3566, allocations: 54.87 MB / 369.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.925/2.282, allocations: 0.6368 GB / 0.9979 GB, free: 23.14 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003537/2.283, allocations: 101.7 kB / 0.998 GB, free: 23.08 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553/3.836, allocations: 230.1 MB / 1.223 GB, free: 90.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.994e-06/3.836, allocations: 1.094 kB / 1.223 GB, free: 90.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.312e-05/3.836, allocations: 17.12 kB / 1.223 GB, free: 90.84 MB / 490.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.004045/3.84, allocations: 1.231 MB / 1.224 GB, free: 90.43 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/3.84, allocations: 9.594 kB / 1.224 GB, free: 90.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001338/3.841, allocations: 143 kB / 1.224 GB, free: 90.39 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/3.843, allocations: 0.5474 MB / 1.225 GB, free: 90.17 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/3.843, allocations: 102.5 kB / 1.225 GB, free: 90.11 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/3.843, allocations: 54.95 kB / 1.225 GB, free: 90.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/3.845, allocations: 0.8081 MB / 1.226 GB, free: 89.87 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.974e-05/3.845, allocations: 2.969 kB / 1.226 GB, free: 89.87 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/3.845, allocations: 27.36 kB / 1.226 GB, free: 89.87 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.141e-05/3.845, allocations: 41.58 kB / 1.226 GB, free: 89.87 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/3.847, allocations: 0.6141 MB / 1.226 GB, free: 89.87 MB / 490.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.00589/3.853, allocations: 3.908 MB / 1.23 GB, free: 87.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007639/3.854, allocations: 326.9 kB / 1.23 GB, free: 87.27 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/3.854, allocations: 29.98 kB / 1.23 GB, free: 87.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/3.854, allocations: 40.72 kB / 1.23 GB, free: 87.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 2.795e-06/3.854, allocations: 0 / 1.23 GB, free: 87.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.008863/3.863, allocations: 1.62 MB / 1.232 GB, free: 86.76 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/3.863, allocations: 132.4 kB / 1.232 GB, free: 86.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/3.864, allocations: 0.6038 MB / 1.233 GB, free: 86.46 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.884e-05/3.864, allocations: 34.33 kB / 1.233 GB, free: 86.43 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/3.864, allocations: 407.6 kB / 1.233 GB, free: 86.19 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/3.864, allocations: 146.8 kB / 1.233 GB, free: 86.12 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.572e-05/3.864, allocations: 18.47 kB / 1.233 GB, free: 86.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.447e-05/3.864, allocations: 337.6 kB / 1.234 GB, free: 85.81 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000521/3.865, allocations: 197.2 kB / 1.234 GB, free: 85.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006893/3.866, allocations: 0.5322 MB / 1.234 GB, free: 85.39 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000677/3.866, allocations: 298.4 kB / 1.235 GB, free: 85.38 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/3.866, allocations: 3.594 kB / 1.235 GB, free: 85.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002089/3.868, allocations: 0.849 MB / 1.235 GB, free: 85.32 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/3.868, allocations: 9.906 kB / 1.235 GB, free: 85.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/3.869, allocations: 9.688 kB / 1.235 GB, free: 85.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002268/3.871, allocations: 306.8 kB / 1.236 GB, free: 85.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007094/3.872, allocations: 130.1 kB / 1.236 GB, free: 85.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/3.873, allocations: 0.9005 MB / 1.237 GB, free: 84.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009919/3.874, allocations: 55.52 kB / 1.237 GB, free: 84.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/3.874, allocations: 69.8 kB / 1.237 GB, free: 84.78 MB / 490.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.0005169/3.875, allocations: 252 kB / 1.237 GB, free: 84.67 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/3.875, allocations: 69.45 kB / 1.237 GB, free: 84.63 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00211/3.877, allocations: 0.6649 MB / 1.238 GB, free: 84.55 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/3.877, allocations: 3.906 kB / 1.238 GB, free: 84.55 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/3.877, allocations: 3.906 kB / 1.238 GB, free: 84.55 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/3.877, allocations: 3.797 kB / 1.238 GB, free: 84.55 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002431/3.879, allocations: 1.256 MB / 1.239 GB, free: 84.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/3.879, allocations: 3.969 kB / 1.239 GB, free: 84.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001885/3.881, allocations: 212 kB / 1.239 GB, free: 84.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001147/3.881, allocations: 21.33 kB / 1.239 GB, free: 84.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.167e-05/3.881, allocations: 20.48 kB / 1.239 GB, free: 84.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001982/3.883, allocations: 2.695 MB / 1.242 GB, free: 81.52 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/3.883, allocations: 5.844 kB / 1.242 GB, free: 81.52 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/3.885, allocations: 0.7785 MB / 1.243 GB, free: 81.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003718/3.886, allocations: 178.2 kB / 1.243 GB, free: 81.18 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/3.886, allocations: 14.66 kB / 1.243 GB, free: 81.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007293/3.886, allocations: 37.72 kB / 1.243 GB, free: 81.17 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/3.887, allocations: 38.14 kB / 1.243 GB, free: 81.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.019e-05/3.887, allocations: 44.31 kB / 1.243 GB, free: 81.17 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006941/3.887, allocations: 415.9 kB / 1.243 GB, free: 81.08 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.11e-07/3.887, allocations: 0 / 1.243 GB, free: 81.08 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001783/3.889, allocations: 379.3 kB / 1.244 GB, free: 81.08 MB / 490.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.00223/3.891, allocations: 1.067 MB / 1.245 GB, free: 80.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001658/3.893, allocations: 0.5454 MB / 1.245 GB, free: 80.89 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/3.893, allocations: 0 / 1.245 GB, free: 80.89 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001466/3.895, allocations: 403 kB / 1.246 GB, free: 80.78 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002447/3.897, allocations: 311.8 kB / 1.246 GB, free: 80.77 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/3.907, allocations: 3.071 MB / 1.249 GB, free: 80.07 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/3.908, allocations: 0.9382 MB / 1.25 GB, free: 79.37 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006298/3.909, allocations: 118.9 kB / 1.25 GB, free: 79.36 MB / 490.7 MB Notification: Performance of SimCode: time 1.062e-06/3.909, allocations: 3.906 kB / 1.25 GB, free: 79.36 MB / 490.7 MB Notification: Performance of Templates: time 0.03599/3.945, allocations: 20.66 MB / 1.27 GB, free: 78.88 MB / 490.7 MB