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.IdealGases.Air.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.IdealGases.Air,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.IdealGases.Air") Notification: Performance of loadModel(ModelicaTest): time 2.468/2.468, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007251/0.0007251, allocations: 12 kB / 314.4 MB, free: 9.539 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3102, allocations: 54.87 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.451/1.761, allocations: 0.6367 GB / 0.9974 GB, free: 42.74 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/1.762, allocations: 101.8 kB / 0.9975 GB, free: 42.64 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.084/2.846, allocations: 230.1 MB / 1.222 GB, free: 10.38 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.439e-06/2.846, allocations: 3.984 kB / 1.222 GB, free: 10.37 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.384e-05/2.846, allocations: 28.11 kB / 1.222 GB, free: 10.34 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.003405/2.849, allocations: 1.22 MB / 1.223 GB, free: 9.074 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/2.849, allocations: 12.02 kB / 1.223 GB, free: 9.062 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/2.851, allocations: 131.1 kB / 1.224 GB, free: 8.934 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001431/2.852, allocations: 0.5559 MB / 1.224 GB, free: 8.336 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/2.852, allocations: 104.4 kB / 1.224 GB, free: 8.223 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/2.852, allocations: 55.89 kB / 1.224 GB, free: 8.168 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/2.854, allocations: 0.8027 MB / 1.225 GB, free: 7.285 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/2.854, allocations: 0 / 1.225 GB, free: 7.285 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/2.854, allocations: 27.98 kB / 1.225 GB, free: 7.258 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.287e-05/2.854, allocations: 40.92 kB / 1.225 GB, free: 7.219 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/2.856, allocations: 0.6166 MB / 1.226 GB, free: 6.602 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.005013/2.861, allocations: 3.918 MB / 1.23 GB, free: 2.426 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006752/2.861, allocations: 328.6 kB / 1.23 GB, free: 2.098 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/2.861, allocations: 28.92 kB / 1.23 GB, free: 2.07 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/2.862, allocations: 30.84 kB / 1.23 GB, free: 2.031 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 3.875e-06/2.862, allocations: 4 kB / 1.23 GB, free: 2.027 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.006558/2.868, allocations: 1.623 MB / 1.232 GB, free: 336 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/2.868, allocations: 140.5 kB / 1.232 GB, free: 164 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2894/3.158, allocations: 0.5155 MB / 1.232 GB, free: 91.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001355/3.158, allocations: 34.08 kB / 1.232 GB, free: 91.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002933/3.158, allocations: 412.1 kB / 1.233 GB, free: 91.12 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/3.158, allocations: 147.9 kB / 1.233 GB, free: 91.05 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.735e-05/3.158, allocations: 14.44 kB / 1.233 GB, free: 91.05 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.022e-05/3.158, allocations: 342.5 kB / 1.233 GB, free: 90.74 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006052/3.159, allocations: 197.8 kB / 1.233 GB, free: 90.74 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007195/3.16, allocations: 0.5339 MB / 1.234 GB, free: 90.32 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007052/3.161, allocations: 292.2 kB / 1.234 GB, free: 90.32 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/3.161, allocations: 3.219 kB / 1.234 GB, free: 90.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002172/3.163, allocations: 0.8559 MB / 1.235 GB, free: 90.26 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.231e-05/3.163, allocations: 9.984 kB / 1.235 GB, free: 90.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-05/3.163, allocations: 11.44 kB / 1.235 GB, free: 90.26 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00178/3.165, allocations: 309.2 kB / 1.235 GB, free: 90.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000618/3.165, allocations: 127.9 kB / 1.235 GB, free: 90.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/3.167, allocations: 0.9009 MB / 1.236 GB, free: 89.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009537/3.168, allocations: 52.31 kB / 1.236 GB, free: 89.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001564/3.168, allocations: 66.16 kB / 1.236 GB, free: 89.72 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.000516/3.168, allocations: 254.5 kB / 1.237 GB, free: 89.61 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001724/3.168, allocations: 65.09 kB / 1.237 GB, free: 89.58 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002081/3.171, allocations: 0.6593 MB / 1.237 GB, free: 89.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.516e-06/3.171, allocations: 4.641 kB / 1.237 GB, free: 89.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.47e-06/3.171, allocations: 3.938 kB / 1.237 GB, free: 89.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/3.171, allocations: 3.484 kB / 1.237 GB, free: 89.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002641/3.173, allocations: 1.258 MB / 1.239 GB, free: 89.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.611e-06/3.173, allocations: 0 / 1.239 GB, free: 89.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001311/3.175, allocations: 210.6 kB / 1.239 GB, free: 89.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001272/3.175, allocations: 22.38 kB / 1.239 GB, free: 89.05 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-05/3.175, allocations: 25.27 kB / 1.239 GB, free: 89.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001971/3.177, allocations: 2.696 MB / 1.241 GB, free: 86.47 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.7e-06/3.177, allocations: 0.8438 kB / 1.241 GB, free: 86.47 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001619/3.179, allocations: 0.8443 MB / 1.242 GB, free: 86.17 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003889/3.179, allocations: 177.9 kB / 1.242 GB, free: 86.05 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/3.179, allocations: 15.67 kB / 1.242 GB, free: 86.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006501/3.18, allocations: 29.47 kB / 1.242 GB, free: 86.04 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/3.18, allocations: 39.59 kB / 1.242 GB, free: 86.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.56e-05/3.18, allocations: 45.52 kB / 1.242 GB, free: 86.04 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006487/3.181, allocations: 416.6 kB / 1.243 GB, free: 85.95 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.2e-07/3.181, allocations: 0 / 1.243 GB, free: 85.95 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001912/3.183, allocations: 384.9 kB / 1.243 GB, free: 85.95 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.002198/3.185, allocations: 1.049 MB / 1.244 GB, free: 85.78 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001647/3.187, allocations: 0.5404 MB / 1.245 GB, free: 85.77 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.251e-06/3.187, allocations: 5.375 kB / 1.245 GB, free: 85.77 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001121/3.188, allocations: 391.3 kB / 1.245 GB, free: 85.66 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/3.19, allocations: 318 kB / 1.245 GB, free: 85.64 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009113/3.199, allocations: 3.072 MB / 1.248 GB, free: 84.96 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004921/3.199, allocations: 0.9417 MB / 1.249 GB, free: 84.26 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005909/3.2, allocations: 113.1 kB / 1.25 GB, free: 84.25 MB / 490.7 MB Notification: Performance of SimCode: time 1.892e-06/3.2, allocations: 0 / 1.25 GB, free: 84.25 MB / 490.7 MB Notification: Performance of Templates: time 0.03172/3.232, allocations: 20.67 MB / 1.27 GB, free: 83.82 MB / 490.7 MB