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.IdealGasN2Mix.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.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadModel(Modelica): time 2.114/2.114, allocations: 194.8 MB / 211.7 MB, free: 3.016 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003454, allocations: 11.98 kB / 264.6 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09035/0.09072, allocations: 44.51 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.552/0.6428, allocations: 125.7 MB / 434.7 MB, free: 11.37 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002308/0.6451, allocations: 1.222 MB / 435.9 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.659e-05/0.6452, allocations: 3.938 kB / 435.9 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002963/0.6455, allocations: 44.66 kB / 436 MB, free: 10.37 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001125/0.6467, allocations: 273.8 kB / 436.3 MB, free: 10.16 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006089/0.6473, allocations: 137.7 kB / 436.4 MB, free: 10.05 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002544/0.6476, allocations: 118.2 kB / 436.5 MB, free: 9.984 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.608e-05/0.6476, allocations: 4.875 kB / 436.5 MB, free: 9.984 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002348/0.6479, allocations: 80.25 kB / 436.6 MB, free: 9.941 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.648, allocations: 44.39 kB / 436.6 MB, free: 9.918 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.6481, allocations: 2.719 kB / 436.6 MB, free: 9.918 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001386/0.6495, allocations: 441.7 kB / 437.1 MB, free: 9.727 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.612e-05/0.6496, allocations: 27.56 kB / 437.1 MB, free: 9.707 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.758e-05/0.6496, allocations: 46.8 kB / 437.1 MB, free: 9.668 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000651/0.6503, allocations: 255.5 kB / 437.4 MB, free: 9.535 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.6503, allocations: 0 / 437.4 MB, free: 9.535 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.6503, allocations: 3.938 kB / 437.4 MB, free: 9.531 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.6503, allocations: 0 / 437.4 MB, free: 9.531 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.000605/0.651, allocations: 396 kB / 437.8 MB, free: 9.133 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.651, allocations: 9.969 kB / 437.8 MB, free: 9.133 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003518/0.6545, allocations: 199.8 kB / 438 MB, free: 9.031 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.6549, allocations: 204.8 kB / 438.2 MB, free: 8.801 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.6549, allocations: 6.688 kB / 438.2 MB, free: 8.797 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.559e-05/0.655, allocations: 16.34 kB / 438.2 MB, free: 8.789 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007262/0.6558, allocations: 198 kB / 438.4 MB, free: 8.656 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.6558, allocations: 0 / 438.4 MB, free: 8.656 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.956e-05/0.6558, allocations: 10.84 kB / 438.4 MB, free: 8.648 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.6559, allocations: 0 / 438.4 MB, free: 8.648 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009832/0.6569, allocations: 240.8 kB / 438.6 MB, free: 8.527 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.002729/0.6596, allocations: 0.6797 MB / 439.3 MB, free: 7.918 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006975/0.6603, allocations: 185.4 kB / 439.5 MB, free: 7.809 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000223/0.6606, allocations: 93.28 kB / 439.6 MB, free: 7.707 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/0.6606, allocations: 37 kB / 439.6 MB, free: 7.664 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 5.781e-06/0.6606, allocations: 3.984 kB / 439.6 MB, free: 7.66 MB / 330.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.009603/0.6702, allocations: 1.536 MB / 441.2 MB, free: 6.555 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.6703, allocations: 51.41 kB / 441.2 MB, free: 6.492 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.6704, allocations: 117.8 kB / 441.3 MB, free: 6.367 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.572e-05/0.6705, allocations: 25.7 kB / 441.4 MB, free: 6.336 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.477e-05/0.6706, allocations: 104.2 kB / 441.5 MB, free: 6.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.258e-05/0.6707, allocations: 67.02 kB / 441.5 MB, free: 6.164 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/0.6707, allocations: 0 / 441.5 MB, free: 6.164 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.6709, allocations: 326.8 kB / 441.9 MB, free: 5.836 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003766/0.6713, allocations: 91.95 kB / 441.9 MB, free: 5.746 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004145/0.6717, allocations: 123.4 kB / 442.1 MB, free: 5.613 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004058/0.6721, allocations: 98.05 kB / 442.2 MB, free: 5.52 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.6721, allocations: 0 / 442.2 MB, free: 5.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00105/0.6732, allocations: 282.4 kB / 442.4 MB, free: 5.234 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.6732, allocations: 8 kB / 442.4 MB, free: 5.227 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.6732, allocations: 0 / 442.4 MB, free: 5.227 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001791/0.6734, allocations: 24.84 kB / 442.5 MB, free: 5.199 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000816/0.6743, allocations: 55.89 kB / 442.5 MB, free: 5.145 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004731/0.6747, allocations: 0.5407 MB / 443.1 MB, free: 4.578 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005008/0.6753, allocations: 10.53 kB / 443.1 MB, free: 4.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-05/0.6753, allocations: 11.98 kB / 443.1 MB, free: 4.559 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001876/0.6755, allocations: 121.8 kB / 443.2 MB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.025e-05/0.6756, allocations: 19.75 kB / 443.2 MB, free: 4.41 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.6769, allocations: 312.2 kB / 443.5 MB, free: 4.102 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.6769, allocations: 0 / 443.5 MB, free: 4.102 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.677, allocations: 7.938 kB / 443.5 MB, free: 4.094 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.429e-05/0.677, allocations: 88.95 kB / 443.6 MB, free: 3.988 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.113e-05/0.6771, allocations: 12 kB / 443.6 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005498/0.6777, allocations: 4 kB / 443.6 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.6777, allocations: 19.97 kB / 443.7 MB, free: 3.953 MB / 330.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001808/0.6796, allocations: 335.6 kB / 444 MB, free: 3.617 MB / 330.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0013/0.6809, allocations: 446.5 kB / 444.4 MB, free: 3.164 MB / 330.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00037/0.6813, allocations: 91.05 kB / 444.5 MB, free: 3.078 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.837e-05/0.6814, allocations: 91.27 kB / 444.6 MB, free: 2.988 MB / 330.7 MB Notification: Performance of Backend: time 6.32e-07/0.6814, allocations: 0 / 444.6 MB, free: 2.988 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00193/0.6833, allocations: 395.4 kB / 445 MB, free: 2.594 MB / 330.7 MB Notification: Performance of SimCode: time 0.001352/0.6847, allocations: 0.9685 MB / 446 MB, free: 1.582 MB / 330.7 MB Notification: Performance of Templates: time 0.01896/0.7037, allocations: 7.646 MB / 453.6 MB, free: 9.922 MB / 346.7 MB