Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir.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) Running command: translateModel(Modelica.Media.Examples.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir") Notification: Performance of loadModel(Modelica): time 1.739/1.739, allocations: 194.8 MB / 211.6 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003493, allocations: 12 kB / 263.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08023/0.0806, allocations: 44.5 MB / 308.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.4481/0.5287, allocations: 125.9 MB / 434.3 MB, free: 11.34 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.006799/0.5356, allocations: 2.503 MB / 436.8 MB, free: 9.375 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.737e-05/0.5357, allocations: 7.875 kB / 436.8 MB, free: 9.367 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003507/0.5361, allocations: 55.3 kB / 436.8 MB, free: 9.32 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003158/0.5393, allocations: 0.6994 MB / 437.5 MB, free: 8.766 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009346/0.5402, allocations: 157.4 kB / 437.7 MB, free: 8.66 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005144/0.5408, allocations: 225.1 kB / 437.9 MB, free: 8.523 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.424e-05/0.5409, allocations: 12.67 kB / 437.9 MB, free: 8.52 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005232/0.5414, allocations: 157.1 kB / 438.1 MB, free: 8.438 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002404/0.5417, allocations: 81.61 kB / 438.1 MB, free: 8.395 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.947e-05/0.5418, allocations: 8.531 kB / 438.2 MB, free: 8.395 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004487/0.5463, allocations: 1.089 MB / 439.2 MB, free: 7.891 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001718/0.5465, allocations: 71.77 kB / 439.3 MB, free: 7.848 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.5466, allocations: 63.98 kB / 439.4 MB, free: 7.805 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001699/0.5483, allocations: 0.5886 MB / 440 MB, free: 7.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.68e-06/0.5484, allocations: 0 / 440 MB, free: 7.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.268e-06/0.5484, allocations: 0 / 440 MB, free: 7.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.97e-06/0.5484, allocations: 7.938 kB / 440 MB, free: 7.492 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.00123/0.5497, allocations: 0.4923 MB / 440.5 MB, free: 7.023 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.5497, allocations: 9.938 kB / 440.5 MB, free: 7.023 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003265/0.553, allocations: 200.1 kB / 440.7 MB, free: 6.934 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004921/0.5535, allocations: 233.8 kB / 440.9 MB, free: 6.688 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.5536, allocations: 14.09 kB / 440.9 MB, free: 6.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.5537, allocations: 24.66 kB / 440.9 MB, free: 6.668 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.555, allocations: 375.2 kB / 441.3 MB, free: 6.316 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.5551, allocations: 0 / 441.3 MB, free: 6.316 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.5552, allocations: 12 kB / 441.3 MB, free: 6.305 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.5552, allocations: 4 kB / 441.3 MB, free: 6.301 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/0.5567, allocations: 411.6 kB / 441.7 MB, free: 5.898 MB / 330.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.0035/0.5602, allocations: 0.8047 MB / 442.5 MB, free: 5.039 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008573/0.5611, allocations: 217.1 kB / 442.7 MB, free: 4.809 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002534/0.5637, allocations: 0.6828 MB / 443.4 MB, free: 4.016 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.913e-05/0.5637, allocations: 34.56 kB / 443.5 MB, free: 3.973 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 4.436e-06/0.5638, allocations: 0 / 443.5 MB, free: 3.973 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.002557/0.5664, allocations: 361.8 kB / 443.8 MB, free: 3.613 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.489e-05/0.5665, allocations: 85.11 kB / 443.9 MB, free: 3.512 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.5667, allocations: 113.8 kB / 444 MB, free: 3.391 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.851e-05/0.5667, allocations: 29.7 kB / 444 MB, free: 3.355 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.5669, allocations: 182.8 kB / 444.2 MB, free: 3.176 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/0.5671, allocations: 106.4 kB / 444.3 MB, free: 3.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.802e-05/0.5672, allocations: 8 kB / 444.3 MB, free: 3.062 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002132/0.5674, allocations: 326.8 kB / 444.6 MB, free: 2.734 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004738/0.5679, allocations: 96.61 kB / 444.7 MB, free: 2.641 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006108/0.5686, allocations: 187.5 kB / 444.9 MB, free: 2.422 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005589/0.5692, allocations: 120 kB / 445 MB, free: 2.305 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.168e-06/0.5692, allocations: 0 / 445 MB, free: 2.305 MB / 330.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001598/0.5708, allocations: 337.2 kB / 445.4 MB, free: 1.969 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.5709, allocations: 11.95 kB / 445.4 MB, free: 1.957 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.5709, allocations: 4 kB / 445.4 MB, free: 1.953 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.5709, allocations: 4 kB / 445.4 MB, free: 1.949 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008119/0.5718, allocations: 79.83 kB / 445.5 MB, free: 1.871 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.265e-05/0.5718, allocations: 4 kB / 445.5 MB, free: 1.867 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005292/0.5723, allocations: 31.95 kB / 445.5 MB, free: 1.836 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-05/0.5725, allocations: 16 kB / 445.5 MB, free: 1.82 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002874/0.5728, allocations: 145.7 kB / 445.7 MB, free: 1.668 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002475/0.573, allocations: 11.91 kB / 445.7 MB, free: 1.656 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001595/0.5747, allocations: 328.7 kB / 446 MB, free: 1.336 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/0.5747, allocations: 4 kB / 446 MB, free: 1.332 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.858e-06/0.5747, allocations: 0 / 446 MB, free: 1.332 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/0.5747, allocations: 3.984 kB / 446 MB, free: 1.328 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/0.5761, allocations: 331.3 kB / 446.3 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-06/0.5761, allocations: 0 / 446.3 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000791/0.5769, allocations: 59.89 kB / 446.4 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.067e-05/0.5769, allocations: 4 kB / 446.4 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.344e-05/0.577, allocations: 11.95 kB / 446.4 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.599e-06/0.5771, allocations: 0.875 kB / 446.4 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.396e-06/0.5771, allocations: 0 / 446.4 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002042/0.5791, allocations: 0.5033 MB / 446.9 MB, free: 368 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001881/0.5794, allocations: 100.9 kB / 447 MB, free: 248 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.5795, allocations: 4.062 kB / 447 MB, free: 244 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/0.5807, allocations: 27.78 kB / 447 MB, free: 216 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.5809, allocations: 15.98 kB / 447 MB, free: 200 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001404/0.5811, allocations: 19.67 kB / 447.1 MB, free: 184 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001866/0.5813, allocations: 95.56 kB / 447.2 MB, free: 88 kB / 330.7 MB Notification: Performance of sort global known variables: time 1.94e-06/0.5813, allocations: 4 kB / 447.2 MB, free: 84 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.002411/0.5837, allocations: 219.8 kB / 447.4 MB, free: 15.87 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium.p,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 (29): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002983/0.5868, allocations: 355 kB / 447.7 MB, free: 15.51 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007696/0.5876, allocations: 268.1 kB / 448 MB, free: 15.25 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.002e-06/0.5876, allocations: 4 kB / 448 MB, free: 15.24 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003499/0.588, allocations: 121 kB / 448.1 MB, free: 15.12 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007235/0.5887, allocations: 84.69 kB / 448.2 MB, free: 15.04 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.5905, allocations: 0.9171 MB / 449.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004943/0.591, allocations: 0.7365 MB / 449.8 MB, free: 13.33 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/0.5912, allocations: 39.42 kB / 449.9 MB, free: 13.29 MB / 346.7 MB Notification: Performance of SimCode: time 1.488e-06/0.5913, allocations: 0 / 449.9 MB, free: 13.29 MB / 346.7 MB Notification: Performance of Templates: time 0.01351/0.6048, allocations: 6.513 MB / 456.4 MB, free: 6.781 MB / 346.7 MB