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.261/2.261, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.225e-05/3.245e-05, allocations: 8 kB / 309.7 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3217, allocations: 54.86 MB / 364.5 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.501/1.822, allocations: 0.6367 GB / 0.9927 GB, free: 114.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/1.823, allocations: 97.47 kB / 0.9928 GB, free: 114.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.112/2.935, allocations: 229.5 MB / 1.217 GB, free: 79.63 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.348e-06/2.935, allocations: 0 / 1.217 GB, free: 79.63 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.845e-05/2.935, allocations: 32.36 kB / 1.217 GB, free: 79.6 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.002842/2.938, allocations: 1.146 MB / 1.218 GB, free: 78.41 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/2.938, allocations: 8.031 kB / 1.218 GB, free: 78.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/2.939, allocations: 142.9 kB / 1.218 GB, free: 78.26 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/2.941, allocations: 0.5404 MB / 1.219 GB, free: 77.68 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/2.941, allocations: 108.4 kB / 1.219 GB, free: 77.56 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/2.941, allocations: 47.91 kB / 1.219 GB, free: 77.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/2.942, allocations: 0.8027 MB / 1.22 GB, free: 76.63 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/2.942, allocations: 0 / 1.22 GB, free: 76.63 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/2.943, allocations: 24 kB / 1.22 GB, free: 76.61 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.755e-05/2.943, allocations: 44.97 kB / 1.22 GB, free: 76.56 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/2.944, allocations: 0.6049 MB / 1.22 GB, free: 75.96 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.004929/2.949, allocations: 3.894 MB / 1.224 GB, free: 71.81 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006585/2.949, allocations: 331.3 kB / 1.224 GB, free: 71.48 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003057/2.95, allocations: 165.4 kB / 1.225 GB, free: 71.32 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.603e-05/2.95, allocations: 33.27 kB / 1.225 GB, free: 71.29 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/2.95, allocations: 38.84 kB / 1.225 GB, free: 71.24 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 4.406e-06/2.95, allocations: 0 / 1.225 GB, free: 71.24 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.005844/2.956, allocations: 1.49 MB / 1.226 GB, free: 69.67 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/2.956, allocations: 136.5 kB / 1.226 GB, free: 69.51 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007581/2.957, allocations: 0.5265 MB / 1.227 GB, free: 68.98 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.799e-05/2.957, allocations: 41.64 kB / 1.227 GB, free: 68.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/2.957, allocations: 401.2 kB / 1.227 GB, free: 68.54 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/2.957, allocations: 149.9 kB / 1.227 GB, free: 68.39 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-05/2.957, allocations: 12 kB / 1.227 GB, free: 68.38 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.475e-05/2.957, allocations: 338.8 kB / 1.228 GB, free: 68.04 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003969/2.958, allocations: 193.5 kB / 1.228 GB, free: 67.85 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005273/2.958, allocations: 0.5215 MB / 1.228 GB, free: 67.16 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005379/2.959, allocations: 300 kB / 1.229 GB, free: 66.87 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.354e-06/2.959, allocations: 4 kB / 1.229 GB, free: 66.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001661/2.96, allocations: 0.8339 MB / 1.229 GB, free: 66.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/2.961, allocations: 8.188 kB / 1.229 GB, free: 66.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/2.961, allocations: 16 kB / 1.23 GB, free: 66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001529/2.962, allocations: 293.9 kB / 1.23 GB, free: 65.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005418/2.963, allocations: 131.8 kB / 1.23 GB, free: 65.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/2.964, allocations: 0.8984 MB / 1.231 GB, free: 64.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008993/2.965, allocations: 51.97 kB / 1.231 GB, free: 64.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/2.965, allocations: 71.98 kB / 1.231 GB, free: 64.54 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.0002066/2.965, allocations: 148.7 kB / 1.231 GB, free: 64.39 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/2.965, allocations: 75.16 kB / 1.231 GB, free: 64.31 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/2.967, allocations: 0.6547 MB / 1.232 GB, free: 63.64 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/2.967, allocations: 15.92 kB / 1.232 GB, free: 63.62 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.992e-06/2.967, allocations: 0 / 1.232 GB, free: 63.62 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.1e-06/2.967, allocations: 0 / 1.232 GB, free: 63.62 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002279/2.969, allocations: 1.246 MB / 1.233 GB, free: 62.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.839e-06/2.97, allocations: 0 / 1.233 GB, free: 62.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/2.971, allocations: 215.9 kB / 1.233 GB, free: 62.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001226/2.971, allocations: 24.84 kB / 1.233 GB, free: 62.05 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-05/2.971, allocations: 15.98 kB / 1.233 GB, free: 62.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001775/2.973, allocations: 2.688 MB / 1.236 GB, free: 59.07 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.392e-06/2.973, allocations: 4 kB / 1.236 GB, free: 59.07 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/2.974, allocations: 0.8327 MB / 1.237 GB, free: 58.17 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003329/2.975, allocations: 176.3 kB / 1.237 GB, free: 57.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/2.975, allocations: 20.02 kB / 1.237 GB, free: 57.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005756/2.975, allocations: 23.97 kB / 1.237 GB, free: 57.94 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/2.976, allocations: 35.95 kB / 1.237 GB, free: 57.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.102e-05/2.976, allocations: 43.98 kB / 1.237 GB, free: 57.86 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006172/2.976, allocations: 411.2 kB / 1.237 GB, free: 57.46 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.13e-07/2.976, allocations: 0 / 1.237 GB, free: 57.46 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001638/2.978, allocations: 383.8 kB / 1.238 GB, free: 57.09 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.001917/2.98, allocations: 1.044 MB / 1.239 GB, free: 56.04 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001423/2.981, allocations: 0.5471 MB / 1.239 GB, free: 55.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.74e-06/2.981, allocations: 7.938 kB / 1.239 GB, free: 55.49 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001071/2.982, allocations: 390.5 kB / 1.24 GB, free: 55.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002018/2.985, allocations: 317.4 kB / 1.24 GB, free: 54.79 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008213/2.993, allocations: 2.422 MB / 1.242 GB, free: 52.32 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/2.993, allocations: 0.9377 MB / 1.243 GB, free: 51.36 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00054/2.994, allocations: 115.4 kB / 1.243 GB, free: 51.25 MB / 490.7 MB Notification: Performance of SimCode: time 1.792e-06/2.994, allocations: 0 / 1.243 GB, free: 51.25 MB / 490.7 MB Notification: Performance of Templates: time 0.02993/3.024, allocations: 20.61 MB / 1.263 GB, free: 30.63 MB / 490.7 MB