Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.83/1.83, allocations: 209.3 MB / 225.4 MB, free: 1.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004594/0.0004596, allocations: 8 kB / 283.1 MB, free: 9.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1023, allocations: 48.71 MB / 331.8 MB, free: 9.031 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.056/2.158, allocations: 0.63 GB / 0.954 GB, free: 53.03 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003409/2.158, allocations: 108.6 kB / 0.9541 GB, free: 52.96 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.126/3.285, allocations: 230.1 MB / 1.179 GB, free: 5.418 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.624e-06/3.285, allocations: 4.188 kB / 1.179 GB, free: 5.414 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.951e-05/3.285, allocations: 27.92 kB / 1.179 GB, free: 5.387 MB / 442.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.004295/3.289, allocations: 1.224 MB / 1.18 GB, free: 4.113 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/3.289, allocations: 8.031 kB / 1.18 GB, free: 4.105 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/3.291, allocations: 131.1 kB / 1.18 GB, free: 3.977 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/3.292, allocations: 0.5598 MB / 1.181 GB, free: 3.375 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001497/3.293, allocations: 108.3 kB / 1.181 GB, free: 3.258 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002116/3.293, allocations: 51.98 kB / 1.181 GB, free: 3.207 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/3.295, allocations: 0.7988 MB / 1.182 GB, free: 2.328 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.313e-05/3.295, allocations: 0 / 1.182 GB, free: 2.328 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/3.295, allocations: 27.98 kB / 1.182 GB, free: 2.301 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-05/3.295, allocations: 48.89 kB / 1.182 GB, free: 2.254 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001769/3.297, allocations: 0.6127 MB / 1.182 GB, free: 1.641 MB / 442.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.3205/3.618, allocations: 3.897 MB / 1.186 GB, free: 70.63 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/3.619, allocations: 333.7 kB / 1.186 GB, free: 70.61 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001779/3.619, allocations: 24.94 kB / 1.186 GB, free: 70.61 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/3.619, allocations: 40.31 kB / 1.186 GB, free: 70.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 3.307e-06/3.619, allocations: 1.031 kB / 1.186 GB, free: 70.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.01024/3.629, allocations: 1.626 MB / 1.188 GB, free: 70.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/3.629, allocations: 133.8 kB / 1.188 GB, free: 69.95 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/3.631, allocations: 0.5958 MB / 1.189 GB, free: 69.82 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001658/3.631, allocations: 33.73 kB / 1.189 GB, free: 69.79 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002903/3.631, allocations: 406.9 kB / 1.189 GB, free: 69.55 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002155/3.631, allocations: 149.4 kB / 1.189 GB, free: 69.48 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.226e-05/3.631, allocations: 16.97 kB / 1.189 GB, free: 69.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.968e-05/3.632, allocations: 342.4 kB / 1.19 GB, free: 69.16 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006743/3.632, allocations: 196.4 kB / 1.19 GB, free: 69.16 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009704/3.633, allocations: 0.5312 MB / 1.19 GB, free: 68.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009868/3.634, allocations: 305.7 kB / 1.191 GB, free: 68.74 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.469e-05/3.634, allocations: 7.375 kB / 1.191 GB, free: 68.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002818/3.637, allocations: 0.8367 MB / 1.192 GB, free: 68.69 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.609e-05/3.637, allocations: 11.08 kB / 1.192 GB, free: 68.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.049e-05/3.637, allocations: 11.97 kB / 1.192 GB, free: 68.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002559/3.64, allocations: 316.8 kB / 1.192 GB, free: 68.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008915/3.641, allocations: 133.7 kB / 1.192 GB, free: 68.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001711/3.643, allocations: 0.8973 MB / 1.193 GB, free: 68.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/3.644, allocations: 45.52 kB / 1.193 GB, free: 68.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001716/3.644, allocations: 73.86 kB / 1.193 GB, free: 68.15 MB / 442.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.0006308/3.645, allocations: 246.4 kB / 1.193 GB, free: 68.04 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002208/3.645, allocations: 73.06 kB / 1.193 GB, free: 68 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002522/3.647, allocations: 0.6614 MB / 1.194 GB, free: 67.92 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/3.647, allocations: 3.688 kB / 1.194 GB, free: 67.92 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/3.647, allocations: 3.719 kB / 1.194 GB, free: 67.92 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/3.647, allocations: 2.938 kB / 1.194 GB, free: 67.92 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003204/3.651, allocations: 1.257 MB / 1.195 GB, free: 67.47 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/3.651, allocations: 2.469 kB / 1.195 GB, free: 67.47 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002095/3.653, allocations: 212.5 kB / 1.195 GB, free: 67.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001677/3.653, allocations: 23.11 kB / 1.195 GB, free: 67.46 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.464e-05/3.653, allocations: 17.47 kB / 1.195 GB, free: 67.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00246/3.656, allocations: 2.7 MB / 1.198 GB, free: 64.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/3.656, allocations: 4.578 kB / 1.198 GB, free: 64.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00214/3.658, allocations: 0.7897 MB / 1.199 GB, free: 64.67 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005459/3.658, allocations: 179.6 kB / 1.199 GB, free: 64.54 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001971/3.659, allocations: 12.69 kB / 1.199 GB, free: 64.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000798/3.659, allocations: 29.5 kB / 1.199 GB, free: 64.54 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/3.66, allocations: 42.23 kB / 1.199 GB, free: 64.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/3.66, allocations: 42.45 kB / 1.199 GB, free: 64.54 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008981/3.661, allocations: 413.5 kB / 1.199 GB, free: 64.45 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.92e-07/3.661, allocations: 0 / 1.199 GB, free: 64.45 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002508/3.663, allocations: 388.4 kB / 1.2 GB, free: 64.45 MB / 442.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.003308/3.667, allocations: 1.039 MB / 1.201 GB, free: 64.28 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002231/3.669, allocations: 0.5482 MB / 1.201 GB, free: 64.27 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/3.669, allocations: 1.312 kB / 1.201 GB, free: 64.27 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001826/3.671, allocations: 409.8 kB / 1.202 GB, free: 64.15 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003041/3.674, allocations: 317.4 kB / 1.202 GB, free: 64.14 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01262/3.687, allocations: 3.068 MB / 1.205 GB, free: 63.46 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006621/3.687, allocations: 0.9415 MB / 1.206 GB, free: 62.76 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007833/3.688, allocations: 112.7 kB / 1.206 GB, free: 62.75 MB / 442.7 MB Notification: Performance of SimCode: time 1.243e-06/3.688, allocations: 0 / 1.206 GB, free: 62.75 MB / 442.7 MB Notification: Performance of Templates: time 0.0463/3.734, allocations: 20.67 MB / 1.226 GB, free: 62.17 MB / 442.7 MB