Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir.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) 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_Modelica.Media.Examples.TestOnly.MixIdealGasAir") Notification: Performance of loadModel(Modelica): time 1.938/1.938, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004991/0.0004991, allocations: 8 kB / 264.5 MB, free: 12.96 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09273/0.09326, allocations: 44.51 MB / 309.1 MB, free: 388 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.4438/0.5372, allocations: 125.9 MB / 435 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004595/0.5418, allocations: 2.511 MB / 437.5 MB, free: 9.207 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.866e-05/0.5419, allocations: 0 / 437.5 MB, free: 9.207 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.5423, allocations: 52.22 kB / 437.5 MB, free: 9.164 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002634/0.5449, allocations: 0.7072 MB / 438.2 MB, free: 8.602 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006891/0.5456, allocations: 155.3 kB / 438.4 MB, free: 8.5 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004294/0.5461, allocations: 221.8 kB / 438.6 MB, free: 8.367 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.711e-05/0.5462, allocations: 10.5 kB / 438.6 MB, free: 8.363 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004027/0.5466, allocations: 162.3 kB / 438.8 MB, free: 8.277 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.5468, allocations: 80.23 kB / 438.8 MB, free: 8.234 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.19e-05/0.5468, allocations: 7.438 kB / 438.9 MB, free: 8.234 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00388/0.5507, allocations: 1.09 MB / 439.9 MB, free: 7.73 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.5509, allocations: 70.09 kB / 440 MB, free: 7.688 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.725e-05/0.551, allocations: 59.33 kB / 440.1 MB, free: 7.648 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001441/0.5525, allocations: 0.5929 MB / 440.7 MB, free: 7.344 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.5525, allocations: 0 / 440.7 MB, free: 7.344 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5525, allocations: 2.688 kB / 440.7 MB, free: 7.344 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.5525, allocations: 0 / 440.7 MB, free: 7.344 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.0009297/0.5534, allocations: 0.4946 MB / 441.2 MB, free: 6.824 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.5535, allocations: 8.031 kB / 441.2 MB, free: 6.816 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002063/0.5556, allocations: 203.5 kB / 441.4 MB, free: 6.617 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.5559, allocations: 226.8 kB / 441.6 MB, free: 6.355 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.556, allocations: 20.36 kB / 441.6 MB, free: 6.336 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.304e-05/0.5561, allocations: 19.91 kB / 441.6 MB, free: 6.316 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008924/0.557, allocations: 389.4 kB / 442 MB, free: 5.926 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.557, allocations: 0 / 442 MB, free: 5.926 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.555e-05/0.5571, allocations: 8 kB / 442 MB, free: 5.918 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.5571, allocations: 4 kB / 442 MB, free: 5.914 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009448/0.5581, allocations: 411.7 kB / 442.4 MB, free: 5.512 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.002524/0.5606, allocations: 0.8047 MB / 443.2 MB, free: 4.652 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005866/0.5612, allocations: 217.8 kB / 443.4 MB, free: 4.422 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002043/0.5633, allocations: 0.6828 MB / 444.1 MB, free: 3.629 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.5633, allocations: 38.56 kB / 444.2 MB, free: 3.582 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 3.286e-06/0.5633, allocations: 0 / 444.2 MB, free: 3.582 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.001933/0.5653, allocations: 367.3 kB / 444.5 MB, free: 3.219 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.5654, allocations: 85.09 kB / 444.6 MB, free: 3.117 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.5655, allocations: 113.8 kB / 444.7 MB, free: 2.996 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.518e-05/0.5655, allocations: 29.7 kB / 444.7 MB, free: 2.961 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.881e-05/0.5656, allocations: 112.3 kB / 444.8 MB, free: 2.848 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.5658, allocations: 106.5 kB / 445 MB, free: 2.742 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/0.5658, allocations: 11.94 kB / 445 MB, free: 2.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.566, allocations: 326.8 kB / 445.3 MB, free: 2.402 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003259/0.5663, allocations: 100.5 kB / 445.4 MB, free: 2.305 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003953/0.5667, allocations: 175.6 kB / 445.6 MB, free: 2.098 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003824/0.5671, allocations: 128 kB / 445.7 MB, free: 1.973 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.5671, allocations: 0 / 445.7 MB, free: 1.973 MB / 330.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009945/0.5682, allocations: 337.4 kB / 446 MB, free: 1.637 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.5682, allocations: 16.61 kB / 446 MB, free: 1.621 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.5682, allocations: 4 kB / 446 MB, free: 1.617 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.5682, allocations: 4 kB / 446 MB, free: 1.613 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006376/0.5689, allocations: 67.91 kB / 446.1 MB, free: 1.547 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.691e-05/0.5689, allocations: 4 kB / 446.1 MB, free: 1.543 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000415/0.5693, allocations: 36.61 kB / 446.1 MB, free: 1.508 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.213e-05/0.5694, allocations: 12 kB / 446.1 MB, free: 1.496 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.0001986/0.5696, allocations: 153.6 kB / 446.3 MB, free: 1.336 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.5698, allocations: 11.91 kB / 446.3 MB, free: 1.324 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.5709, allocations: 326.5 kB / 446.6 MB, free: 1.004 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.5709, allocations: 3.984 kB / 446.6 MB, free: 1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5709, allocations: 0 / 446.6 MB, free: 1 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.78e-05/0.571, allocations: 92.95 kB / 446.7 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.887e-05/0.571, allocations: 4 kB / 446.7 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005519/0.5716, allocations: 33.56 kB / 446.8 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.587e-05/0.5717, allocations: 23.97 kB / 446.8 MB, free: 0.832 MB / 330.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001171/0.5729, allocations: 404.7 kB / 447.2 MB, free: 440 kB / 330.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001203/0.5741, allocations: 0.5529 MB / 447.7 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002995/0.5744, allocations: 88.12 kB / 447.8 MB, free: 15.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.35e-05/0.5745, allocations: 91.27 kB / 447.9 MB, free: 15.68 MB / 346.7 MB Notification: Performance of Backend: time 8.92e-07/0.5745, allocations: 0 / 447.9 MB, free: 15.68 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002208/0.5767, allocations: 0.5142 MB / 448.4 MB, free: 15.16 MB / 346.7 MB Notification: Performance of SimCode: time 0.001875/0.5786, allocations: 1.314 MB / 449.7 MB, free: 13.8 MB / 346.7 MB Notification: Performance of Templates: time 0.02214/0.6008, allocations: 8.331 MB / 458.1 MB, free: 5.473 MB / 346.7 MB