Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.175/2.175, allocations: 234.9 MB / 250.5 MB, free: 9.449 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004381/0.0004381, allocations: 15.98 kB / 314.4 MB, free: 9.445 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2897, allocations: 54.85 MB / 369.3 MB, free: 12.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.558/1.847, allocations: 0.6368 GB / 0.9974 GB, free: 58.82 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/1.848, allocations: 100.3 kB / 0.9975 GB, free: 58.77 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9264/2.774, allocations: 230.1 MB / 1.222 GB, free: 31.33 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.158e-06/2.774, allocations: 3.938 kB / 1.222 GB, free: 31.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.698e-05/2.774, allocations: 24.12 kB / 1.222 GB, free: 31.3 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.002901/2.777, allocations: 1.228 MB / 1.223 GB, free: 30.02 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/2.777, allocations: 8.031 kB / 1.223 GB, free: 30.02 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/2.778, allocations: 127.1 kB / 1.224 GB, free: 29.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/2.779, allocations: 0.5598 MB / 1.224 GB, free: 29.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/2.779, allocations: 96.41 kB / 1.224 GB, free: 29.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/2.78, allocations: 63.91 kB / 1.224 GB, free: 29.12 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/2.781, allocations: 0.7949 MB / 1.225 GB, free: 28.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/2.781, allocations: 0 / 1.225 GB, free: 28.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.96e-05/2.781, allocations: 24 kB / 1.225 GB, free: 28.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.108e-05/2.781, allocations: 52.89 kB / 1.225 GB, free: 28.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/2.783, allocations: 0.6088 MB / 1.226 GB, free: 27.57 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.005091/2.788, allocations: 3.915 MB / 1.23 GB, free: 23.39 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006665/2.788, allocations: 340.7 kB / 1.23 GB, free: 23.05 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-05/2.789, allocations: 29 kB / 1.23 GB, free: 23.03 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/2.789, allocations: 34.84 kB / 1.23 GB, free: 22.98 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 3.766e-06/2.789, allocations: 4 kB / 1.23 GB, free: 22.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.005998/2.795, allocations: 1.623 MB / 1.232 GB, free: 21.28 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/2.795, allocations: 140.5 kB / 1.232 GB, free: 21.11 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007455/2.796, allocations: 0.5148 MB / 1.232 GB, free: 20.59 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.909e-05/2.796, allocations: 41.69 kB / 1.232 GB, free: 20.55 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/2.796, allocations: 405.1 kB / 1.233 GB, free: 20.15 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/2.796, allocations: 146 kB / 1.233 GB, free: 20 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.938e-05/2.796, allocations: 16 kB / 1.233 GB, free: 19.99 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.307e-05/2.796, allocations: 346.7 kB / 1.233 GB, free: 19.64 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004406/2.797, allocations: 193.9 kB / 1.233 GB, free: 19.45 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005836/2.797, allocations: 0.5275 MB / 1.234 GB, free: 18.76 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005711/2.798, allocations: 295.6 kB / 1.234 GB, free: 18.47 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.788e-06/2.798, allocations: 8 kB / 1.234 GB, free: 18.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001737/2.799, allocations: 0.8494 MB / 1.235 GB, free: 17.61 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/2.8, allocations: 8 kB / 1.235 GB, free: 17.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/2.8, allocations: 12 kB / 1.235 GB, free: 17.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001605/2.801, allocations: 308.6 kB / 1.235 GB, free: 17.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004938/2.802, allocations: 135.8 kB / 1.235 GB, free: 17.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/2.803, allocations: 0.9047 MB / 1.236 GB, free: 16.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008085/2.804, allocations: 47.91 kB / 1.236 GB, free: 16.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/2.804, allocations: 71.92 kB / 1.236 GB, free: 16.1 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.0004322/2.804, allocations: 241.7 kB / 1.237 GB, free: 15.86 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/2.804, allocations: 67.19 kB / 1.237 GB, free: 15.79 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001889/2.806, allocations: 0.674 MB / 1.237 GB, free: 15.09 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.426e-06/2.806, allocations: 8 kB / 1.237 GB, free: 15.08 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.449e-06/2.806, allocations: 0 / 1.237 GB, free: 15.08 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.589e-06/2.806, allocations: 3.984 kB / 1.237 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/2.809, allocations: 1.254 MB / 1.239 GB, free: 13.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/2.809, allocations: 4 kB / 1.239 GB, free: 13.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/2.81, allocations: 203.8 kB / 1.239 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001184/2.81, allocations: 24.84 kB / 1.239 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.298e-05/2.81, allocations: 19.98 kB / 1.239 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001801/2.812, allocations: 2.692 MB / 1.241 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.462e-06/2.812, allocations: 3.953 kB / 1.241 GB, free: 10.51 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/2.814, allocations: 0.849 MB / 1.242 GB, free: 9.598 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003197/2.814, allocations: 180.2 kB / 1.242 GB, free: 9.402 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/2.814, allocations: 12 kB / 1.242 GB, free: 9.391 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005436/2.815, allocations: 27.97 kB / 1.242 GB, free: 9.363 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/2.815, allocations: 47.91 kB / 1.242 GB, free: 9.316 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.758e-05/2.815, allocations: 43.98 kB / 1.243 GB, free: 9.273 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006108/2.815, allocations: 415 kB / 1.243 GB, free: 8.875 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.19e-07/2.815, allocations: 0 / 1.243 GB, free: 8.875 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001547/2.817, allocations: 379.8 kB / 1.243 GB, free: 8.504 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.001805/2.819, allocations: 1.059 MB / 1.244 GB, free: 7.449 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001388/2.82, allocations: 0.5434 MB / 1.245 GB, free: 6.91 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.971e-06/2.82, allocations: 0 / 1.245 GB, free: 6.91 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001057/2.821, allocations: 398.5 kB / 1.245 GB, free: 6.508 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/2.823, allocations: 310.2 kB / 1.246 GB, free: 6.203 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008103/2.831, allocations: 3.08 MB / 1.249 GB, free: 3.078 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/2.832, allocations: 0.9416 MB / 1.249 GB, free: 2.105 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005515/2.832, allocations: 115.4 kB / 1.25 GB, free: 1.996 MB / 490.7 MB Notification: Performance of SimCode: time 2.303e-06/2.832, allocations: 0 / 1.25 GB, free: 1.996 MB / 490.7 MB Notification: Performance of Templates: time 0.3062/3.138, allocations: 20.65 MB / 1.27 GB, free: 90.66 MB / 490.7 MB