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.IdealGases.Air.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.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.32/2.32, allocations: 234.9 MB / 251.1 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006012/0.0006013, allocations: 12 kB / 315 MB, free: 9.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3434, allocations: 54.85 MB / 369.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.863/2.206, allocations: 0.6367 GB / 0.9979 GB, free: 23.69 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000348/2.207, allocations: 105 kB / 0.998 GB, free: 23.63 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.475/3.682, allocations: 230.2 MB / 1.223 GB, free: 90.88 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.665e-06/3.682, allocations: 1.344 kB / 1.223 GB, free: 90.88 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001035/3.682, allocations: 21.23 kB / 1.223 GB, free: 90.88 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.004827/3.687, allocations: 1.231 MB / 1.224 GB, free: 90.47 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/3.687, allocations: 8.188 kB / 1.224 GB, free: 90.47 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001503/3.688, allocations: 139 kB / 1.224 GB, free: 90.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002038/3.69, allocations: 0.5454 MB / 1.225 GB, free: 90.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/3.69, allocations: 102.5 kB / 1.225 GB, free: 90.14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001831/3.691, allocations: 56.22 kB / 1.225 GB, free: 90.14 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002219/3.693, allocations: 0.8055 MB / 1.226 GB, free: 89.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.947e-05/3.693, allocations: 13.94 kB / 1.226 GB, free: 89.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/3.693, allocations: 22.55 kB / 1.226 GB, free: 89.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.046e-05/3.693, allocations: 43.03 kB / 1.226 GB, free: 89.91 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001938/3.695, allocations: 0.6154 MB / 1.226 GB, free: 89.9 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.007091/3.702, allocations: 3.907 MB / 1.23 GB, free: 87.33 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008511/3.703, allocations: 327.7 kB / 1.23 GB, free: 87.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001329/3.703, allocations: 24.86 kB / 1.23 GB, free: 87.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/3.703, allocations: 40.83 kB / 1.23 GB, free: 87.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 3.397e-06/3.703, allocations: 0 / 1.23 GB, free: 87.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.009536/3.713, allocations: 1.628 MB / 1.232 GB, free: 86.79 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.701e-05/3.713, allocations: 133.6 kB / 1.232 GB, free: 86.64 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/3.714, allocations: 0.5945 MB / 1.233 GB, free: 86.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001232/3.714, allocations: 34.03 kB / 1.233 GB, free: 86.47 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002739/3.715, allocations: 416.8 kB / 1.233 GB, free: 86.22 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/3.715, allocations: 139.1 kB / 1.233 GB, free: 86.16 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.702e-05/3.715, allocations: 13.59 kB / 1.233 GB, free: 86.16 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/3.715, allocations: 342.1 kB / 1.234 GB, free: 85.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005695/3.716, allocations: 199.6 kB / 1.234 GB, free: 85.84 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007746/3.716, allocations: 0.5304 MB / 1.234 GB, free: 85.42 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000807/3.717, allocations: 298.1 kB / 1.235 GB, free: 85.42 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/3.717, allocations: 3.719 kB / 1.235 GB, free: 85.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002314/3.719, allocations: 0.8487 MB / 1.235 GB, free: 85.36 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/3.72, allocations: 10.66 kB / 1.235 GB, free: 85.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/3.72, allocations: 9.969 kB / 1.235 GB, free: 85.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002369/3.722, allocations: 306.4 kB / 1.236 GB, free: 85.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008415/3.723, allocations: 131.9 kB / 1.236 GB, free: 85.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/3.724, allocations: 0.9047 MB / 1.237 GB, free: 84.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/3.726, allocations: 48.11 kB / 1.237 GB, free: 84.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001696/3.726, allocations: 72.09 kB / 1.237 GB, free: 84.82 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.0005608/3.726, allocations: 253.5 kB / 1.237 GB, free: 84.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/3.727, allocations: 70.33 kB / 1.237 GB, free: 84.67 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002268/3.729, allocations: 0.6716 MB / 1.238 GB, free: 84.59 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/3.729, allocations: 7.656 kB / 1.238 GB, free: 84.59 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/3.729, allocations: 3.609 kB / 1.238 GB, free: 84.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/3.729, allocations: 0 / 1.238 GB, free: 84.59 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002885/3.732, allocations: 1.248 MB / 1.239 GB, free: 84.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/3.732, allocations: 3.656 kB / 1.239 GB, free: 84.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001957/3.734, allocations: 206 kB / 1.239 GB, free: 84.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001566/3.734, allocations: 26.64 kB / 1.239 GB, free: 84.13 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.236e-05/3.734, allocations: 22.61 kB / 1.239 GB, free: 84.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002144/3.736, allocations: 2.694 MB / 1.242 GB, free: 81.55 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/3.736, allocations: 7.531 kB / 1.242 GB, free: 81.55 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001926/3.738, allocations: 0.7795 MB / 1.243 GB, free: 81.34 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004744/3.739, allocations: 181.7 kB / 1.243 GB, free: 81.21 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001759/3.739, allocations: 13.7 kB / 1.243 GB, free: 81.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007298/3.74, allocations: 27.19 kB / 1.243 GB, free: 81.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/3.74, allocations: 41.14 kB / 1.243 GB, free: 81.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.233e-05/3.74, allocations: 43.09 kB / 1.243 GB, free: 81.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007444/3.741, allocations: 417 kB / 1.243 GB, free: 81.11 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.51e-07/3.741, allocations: 0 / 1.243 GB, free: 81.11 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002103/3.743, allocations: 379.4 kB / 1.244 GB, free: 81.11 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.002632/3.746, allocations: 1.055 MB / 1.245 GB, free: 80.93 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001935/3.747, allocations: 0.5452 MB / 1.245 GB, free: 80.92 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/3.748, allocations: 3.562 kB / 1.245 GB, free: 80.92 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001538/3.749, allocations: 401.4 kB / 1.246 GB, free: 80.81 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002824/3.752, allocations: 317.4 kB / 1.246 GB, free: 80.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/3.763, allocations: 3.079 MB / 1.249 GB, free: 80.11 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004806/3.764, allocations: 0.9386 MB / 1.25 GB, free: 79.41 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006753/3.764, allocations: 112.4 kB / 1.25 GB, free: 79.4 MB / 490.7 MB Notification: Performance of SimCode: time 1.473e-06/3.764, allocations: 0 / 1.25 GB, free: 79.4 MB / 490.7 MB Notification: Performance of Templates: time 0.04143/3.806, allocations: 20.67 MB / 1.27 GB, free: 78.92 MB / 490.7 MB