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.159/2.159, allocations: 235 MB / 248.1 MB, free: 14.33 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.826e-05/2.849e-05, allocations: 0 / 309.7 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3211, allocations: 54.86 MB / 364.6 MB, free: 5.371 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.455/1.776, allocations: 0.6367 GB / 0.9927 GB, free: 94.39 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/1.776, allocations: 95.95 kB / 0.9928 GB, free: 94.34 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.033/2.809, allocations: 229.6 MB / 1.217 GB, free: 67.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.764e-06/2.809, allocations: 0 / 1.217 GB, free: 67.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.059e-05/2.809, allocations: 19.98 kB / 1.217 GB, free: 67.89 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.002592/2.812, allocations: 1.146 MB / 1.218 GB, free: 66.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/2.812, allocations: 16.03 kB / 1.218 GB, free: 66.69 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/2.813, allocations: 127 kB / 1.218 GB, free: 66.56 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/2.814, allocations: 0.5444 MB / 1.219 GB, free: 65.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.56e-05/2.814, allocations: 112.3 kB / 1.219 GB, free: 65.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/2.814, allocations: 51.91 kB / 1.219 GB, free: 65.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/2.816, allocations: 0.795 MB / 1.22 GB, free: 64.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/2.816, allocations: 0 / 1.22 GB, free: 64.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/2.816, allocations: 27.95 kB / 1.22 GB, free: 64.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.106e-05/2.816, allocations: 44.91 kB / 1.22 GB, free: 64.86 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/2.817, allocations: 0.6011 MB / 1.22 GB, free: 64.26 MB / 490.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.004453/2.822, allocations: 3.898 MB / 1.224 GB, free: 60.11 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006019/2.822, allocations: 319.4 kB / 1.224 GB, free: 59.79 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003058/2.823, allocations: 169.3 kB / 1.225 GB, free: 59.62 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.546e-05/2.823, allocations: 25.28 kB / 1.225 GB, free: 59.59 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/2.823, allocations: 46.83 kB / 1.225 GB, free: 59.54 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 3.69e-06/2.823, allocations: 3.938 kB / 1.225 GB, free: 59.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.005695/2.828, allocations: 1.501 MB / 1.226 GB, free: 57.95 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/2.829, allocations: 132.5 kB / 1.226 GB, free: 57.79 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007728/2.829, allocations: 0.5149 MB / 1.227 GB, free: 57.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.175e-05/2.829, allocations: 41.7 kB / 1.227 GB, free: 57.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/2.83, allocations: 413.1 kB / 1.227 GB, free: 56.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/2.83, allocations: 145.9 kB / 1.227 GB, free: 56.68 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.83e-05/2.83, allocations: 12 kB / 1.227 GB, free: 56.66 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.285e-05/2.83, allocations: 338.8 kB / 1.228 GB, free: 56.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003955/2.83, allocations: 189.5 kB / 1.228 GB, free: 56.14 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005283/2.831, allocations: 0.5258 MB / 1.228 GB, free: 55.45 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005338/2.831, allocations: 300 kB / 1.229 GB, free: 55.16 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.143e-06/2.831, allocations: 3.938 kB / 1.229 GB, free: 55.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001638/2.833, allocations: 0.8333 MB / 1.229 GB, free: 54.31 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/2.833, allocations: 8 kB / 1.23 GB, free: 54.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/2.833, allocations: 12.84 kB / 1.23 GB, free: 54.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001498/2.835, allocations: 293.9 kB / 1.23 GB, free: 54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005188/2.835, allocations: 131.8 kB / 1.23 GB, free: 53.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/2.836, allocations: 0.8996 MB / 1.231 GB, free: 52.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008919/2.837, allocations: 55.88 kB / 1.231 GB, free: 52.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/2.837, allocations: 68 kB / 1.231 GB, free: 52.83 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 () * 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.0001987/2.838, allocations: 152.7 kB / 1.231 GB, free: 52.67 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/2.838, allocations: 71.2 kB / 1.231 GB, free: 52.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/2.84, allocations: 0.6508 MB / 1.232 GB, free: 51.93 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.979e-06/2.84, allocations: 4 kB / 1.232 GB, free: 51.93 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.76e-06/2.84, allocations: 0 / 1.232 GB, free: 51.93 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.788e-06/2.84, allocations: 7.984 kB / 1.232 GB, free: 51.92 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002253/2.842, allocations: 1.246 MB / 1.233 GB, free: 50.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.823e-06/2.842, allocations: 3.938 kB / 1.233 GB, free: 50.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001302/2.843, allocations: 215.9 kB / 1.233 GB, free: 50.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001231/2.843, allocations: 24.8 kB / 1.233 GB, free: 50.34 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.116e-05/2.844, allocations: 19.98 kB / 1.233 GB, free: 50.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001806/2.845, allocations: 2.688 MB / 1.236 GB, free: 47.36 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.572e-06/2.845, allocations: 0 / 1.236 GB, free: 47.36 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/2.847, allocations: 0.831 MB / 1.237 GB, free: 46.47 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003199/2.847, allocations: 180.2 kB / 1.237 GB, free: 46.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/2.847, allocations: 8 kB / 1.237 GB, free: 46.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000569/2.848, allocations: 32.05 kB / 1.237 GB, free: 46.23 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.105e-05/2.848, allocations: 35.95 kB / 1.237 GB, free: 46.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.04e-05/2.848, allocations: 47.97 kB / 1.237 GB, free: 46.15 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005894/2.849, allocations: 411.1 kB / 1.237 GB, free: 45.75 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.93e-07/2.849, allocations: 0 / 1.237 GB, free: 45.75 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00172/2.85, allocations: 379.8 kB / 1.238 GB, free: 45.38 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 () * 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.001799/2.852, allocations: 1.054 MB / 1.239 GB, free: 44.34 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001266/2.853, allocations: 0.5464 MB / 1.239 GB, free: 43.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.838e-06/2.854, allocations: 0 / 1.239 GB, free: 43.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009982/2.855, allocations: 383.4 kB / 1.24 GB, free: 43.41 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/2.856, allocations: 316.9 kB / 1.24 GB, free: 43.09 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007629/2.864, allocations: 2.426 MB / 1.242 GB, free: 40.62 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/2.864, allocations: 0.9494 MB / 1.243 GB, free: 39.64 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005063/2.865, allocations: 115.4 kB / 1.243 GB, free: 39.53 MB / 490.7 MB Notification: Performance of SimCode: time 1.701e-06/2.865, allocations: 0 / 1.243 GB, free: 39.53 MB / 490.7 MB Notification: Performance of Templates: time 0.02748/2.892, allocations: 20.61 MB / 1.263 GB, free: 18.91 MB / 490.7 MB