Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadModel(ModelicaTest): time 1.939/1.939, allocations: 209.4 MB / 217.3 MB, free: 4.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.62e-05/1.594e-05, allocations: 0 / 271.3 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2648, allocations: 48.69 MB / 320 MB, free: 14.38 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.751/2.016, allocations: 0.6293 GB / 0.9418 GB, free: 150.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/2.016, allocations: 90.16 kB / 0.9419 GB, free: 150.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.919/2.935, allocations: 226.8 MB / 1.163 GB, free: 80.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.393e-06/2.936, allocations: 0 / 1.163 GB, free: 80.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.941e-05/2.936, allocations: 24.44 kB / 1.163 GB, free: 80.58 MB / 426.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.00276/2.938, allocations: 1.16 MB / 1.165 GB, free: 79.88 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/2.938, allocations: 7.75 kB / 1.165 GB, free: 79.88 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/2.939, allocations: 136.9 kB / 1.165 GB, free: 79.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/2.941, allocations: 0.5389 MB / 1.165 GB, free: 79.58 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.422e-05/2.941, allocations: 82.97 kB / 1.165 GB, free: 79.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/2.941, allocations: 37.5 kB / 1.165 GB, free: 79.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001152/2.942, allocations: 0.5201 MB / 1.166 GB, free: 79.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/2.944, allocations: 0.7221 MB / 1.167 GB, free: 79.29 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/2.944, allocations: 6.766 kB / 1.167 GB, free: 79.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.299e-05/2.944, allocations: 3.906 kB / 1.167 GB, free: 79.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.349e-05/2.944, allocations: 41.47 kB / 1.167 GB, free: 79.29 MB / 426.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.004965/2.949, allocations: 3.861 MB / 1.17 GB, free: 76.49 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005193/2.949, allocations: 244.2 kB / 1.171 GB, free: 76.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002322/2.95, allocations: 130.1 kB / 1.171 GB, free: 76.33 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.763e-05/2.95, allocations: 24.05 kB / 1.171 GB, free: 76.33 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/2.95, allocations: 39.61 kB / 1.171 GB, free: 76.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 3.368e-06/2.95, allocations: 0 / 1.171 GB, free: 76.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.006402/2.956, allocations: 1.423 MB / 1.172 GB, free: 75.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/2.956, allocations: 134.1 kB / 1.172 GB, free: 75.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007165/2.957, allocations: 476.5 kB / 1.173 GB, free: 75.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.493e-05/2.957, allocations: 29.42 kB / 1.173 GB, free: 75.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/2.957, allocations: 438.6 kB / 1.173 GB, free: 74.79 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/2.957, allocations: 120.1 kB / 1.173 GB, free: 74.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.515e-05/2.957, allocations: 1.375 kB / 1.173 GB, free: 74.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.774e-05/2.957, allocations: 345.2 kB / 1.174 GB, free: 74.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003536/2.958, allocations: 180.8 kB / 1.174 GB, free: 74.31 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005255/2.958, allocations: 0.5053 MB / 1.174 GB, free: 73.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009202/2.959, allocations: 338.1 kB / 1.175 GB, free: 73.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.198e-06/2.959, allocations: 3.844 kB / 1.175 GB, free: 73.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001923/2.961, allocations: 0.7834 MB / 1.175 GB, free: 73.47 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/2.961, allocations: 11.48 kB / 1.175 GB, free: 73.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/2.961, allocations: 14.86 kB / 1.175 GB, free: 73.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/2.963, allocations: 270.4 kB / 1.176 GB, free: 73.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005174/2.963, allocations: 132.5 kB / 1.176 GB, free: 73.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001195/2.964, allocations: 0.9189 MB / 1.177 GB, free: 72.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009072/2.965, allocations: 35.42 kB / 1.177 GB, free: 72.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/2.965, allocations: 68.98 kB / 1.177 GB, free: 72.62 MB / 426.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.0002035/2.966, allocations: 136.5 kB / 1.177 GB, free: 72.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/2.966, allocations: 61.38 kB / 1.177 GB, free: 72.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/2.967, allocations: 0.5087 MB / 1.178 GB, free: 72.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.117e-06/2.967, allocations: 3.219 kB / 1.178 GB, free: 72.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/2.967, allocations: 0 / 1.178 GB, free: 72.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.071e-06/2.967, allocations: 3.984 kB / 1.178 GB, free: 72.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/2.969, allocations: 0.9546 MB / 1.178 GB, free: 71.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.896e-06/2.969, allocations: 3 kB / 1.178 GB, free: 71.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/2.971, allocations: 196.5 kB / 1.179 GB, free: 71.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000118/2.971, allocations: 23.22 kB / 1.179 GB, free: 71.46 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.556e-05/2.971, allocations: 13.64 kB / 1.179 GB, free: 71.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001704/2.973, allocations: 2.588 MB / 1.181 GB, free: 68.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.979e-06/2.973, allocations: 3.688 kB / 1.181 GB, free: 68.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/2.974, allocations: 0.673 MB / 1.182 GB, free: 68.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003143/2.974, allocations: 174.2 kB / 1.182 GB, free: 68.24 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/2.974, allocations: 3.219 kB / 1.182 GB, free: 68.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005383/2.975, allocations: 18.42 kB / 1.182 GB, free: 68.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.679e-05/2.975, allocations: 33.08 kB / 1.182 GB, free: 68.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.282e-05/2.975, allocations: 35.52 kB / 1.182 GB, free: 68.21 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005204/2.976, allocations: 348.8 kB / 1.182 GB, free: 68.02 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.17e-07/2.976, allocations: 3.938 kB / 1.182 GB, free: 68.01 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001696/2.977, allocations: 348 kB / 1.183 GB, free: 67.92 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (33): * Single equations (assignments): 31 * 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.00214/2.98, allocations: 1.187 MB / 1.184 GB, free: 67.54 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001309/2.981, allocations: 484.8 kB / 1.184 GB, free: 67.35 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.344e-06/2.981, allocations: 3.406 kB / 1.184 GB, free: 67.35 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001004/2.982, allocations: 341.7 kB / 1.185 GB, free: 67.16 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001836/2.984, allocations: 243.4 kB / 1.185 GB, free: 67.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/2.996, allocations: 2.342 MB / 1.187 GB, free: 65.87 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004663/2.996, allocations: 0.9373 MB / 1.188 GB, free: 65.05 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005383/2.997, allocations: 101.5 kB / 1.188 GB, free: 65.04 MB / 426.7 MB Notification: Performance of SimCode: time 2.151e-06/2.997, allocations: 0 / 1.188 GB, free: 65.04 MB / 426.7 MB Notification: Performance of Templates: time 0.02839/3.025, allocations: 19.91 MB / 1.208 GB, free: 46.43 MB / 426.7 MB