Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.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.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadModel(Modelica): time 1.889/1.889, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003424, allocations: 8 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08892/0.08928, allocations: 44.51 MB / 309 MB, free: 384 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.4514/0.5407, allocations: 127.6 MB / 436.6 MB, free: 9.84 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005996/0.5468, allocations: 3.391 MB / 440 MB, free: 7.172 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.547, allocations: 0 / 440 MB, free: 7.172 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004526/0.5475, allocations: 80.78 kB / 440.1 MB, free: 7.105 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003088/0.5506, allocations: 0.7914 MB / 440.9 MB, free: 6.492 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.5519, allocations: 293.1 kB / 441.2 MB, free: 6.285 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006618/0.5526, allocations: 285.7 kB / 441.5 MB, free: 6.117 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.458e-05/0.5527, allocations: 13.27 kB / 441.5 MB, free: 6.109 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007625/0.5535, allocations: 291.2 kB / 441.7 MB, free: 5.945 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002613/0.5537, allocations: 120.1 kB / 441.9 MB, free: 5.879 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.122e-05/0.5538, allocations: 9.938 kB / 441.9 MB, free: 5.879 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006889/0.5607, allocations: 1.608 MB / 443.5 MB, free: 4.52 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002266/0.561, allocations: 115.8 kB / 443.6 MB, free: 4.406 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.5612, allocations: 89.52 kB / 443.7 MB, free: 4.312 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00249/0.5637, allocations: 0.8639 MB / 444.5 MB, free: 3.453 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5637, allocations: 3.938 kB / 444.6 MB, free: 3.449 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.5637, allocations: 0 / 444.6 MB, free: 3.449 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.5637, allocations: 0 / 444.6 MB, free: 3.449 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.00309/0.5668, allocations: 0.7174 MB / 445.3 MB, free: 2.684 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.5669, allocations: 12.03 kB / 445.3 MB, free: 2.672 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.5681, allocations: 111.6 kB / 445.4 MB, free: 2.562 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005927/0.5687, allocations: 274.6 kB / 445.7 MB, free: 2.254 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.5688, allocations: 16.56 kB / 445.7 MB, free: 2.238 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.5689, allocations: 24 kB / 445.7 MB, free: 2.215 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001963/0.5709, allocations: 0.5929 MB / 446.3 MB, free: 1.605 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/0.5709, allocations: 3.953 kB / 446.3 MB, free: 1.602 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.743e-05/0.571, allocations: 12 kB / 446.3 MB, free: 1.59 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-05/0.5711, allocations: 20.42 kB / 446.3 MB, free: 1.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002316/0.5734, allocations: 0.6385 MB / 447 MB, free: 0.9336 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.004833/0.5783, allocations: 1.252 MB / 448.2 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/0.5801, allocations: 363.1 kB / 448.6 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00245/0.5826, allocations: 0.9281 MB / 449.5 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.523e-05/0.5827, allocations: 34.56 kB / 449.5 MB, free: 14.14 MB / 346.7 MB Notification: Performance of pre-optimization done (n=35): time 3.757e-06/0.5827, allocations: 4 kB / 449.5 MB, free: 14.13 MB / 346.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: medium1.T Please use -d=bltdump for more information. 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: medium2.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.02683/0.6095, allocations: 3.489 MB / 453 MB, free: 10.44 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/0.6096, allocations: 81.11 kB / 453.1 MB, free: 10.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.6099, allocations: 183.2 kB / 453.3 MB, free: 10.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000107/0.61, allocations: 33.7 kB / 453.3 MB, free: 10.12 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.6101, allocations: 176.1 kB / 453.5 MB, free: 9.941 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002372/0.6104, allocations: 181.4 kB / 453.7 MB, free: 9.762 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.158e-05/0.6105, allocations: 12 kB / 453.7 MB, free: 9.75 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.6107, allocations: 342.8 kB / 454 MB, free: 9.406 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001386/0.6121, allocations: 261.1 kB / 454.3 MB, free: 9.148 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002119/0.6142, allocations: 418.1 kB / 454.7 MB, free: 8.676 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/0.6158, allocations: 301.2 kB / 455 MB, free: 8.383 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.6158, allocations: 0 / 455 MB, free: 8.383 MB / 346.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003625/0.6195, allocations: 0.7817 MB / 455.8 MB, free: 7.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.6195, allocations: 12.12 kB / 455.8 MB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.6195, allocations: 4 kB / 455.8 MB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003001/0.6199, allocations: 57.69 kB / 455.8 MB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002182/0.6221, allocations: 175.7 kB / 456 MB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009094/0.623, allocations: 1.085 MB / 457.1 MB, free: 6.203 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.6245, allocations: 52.05 kB / 457.1 MB, free: 6.152 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/0.6246, allocations: 35.98 kB / 457.2 MB, free: 6.117 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (70): * Single equations (assignments): 68 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003763/0.625, allocations: 173.6 kB / 457.3 MB, free: 5.938 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.6252, allocations: 31.67 kB / 457.4 MB, free: 5.906 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004004/0.6292, allocations: 0.7718 MB / 458.1 MB, free: 5.121 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.489e-05/0.6292, allocations: 3.984 kB / 458.1 MB, free: 5.117 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.6292, allocations: 0.5 kB / 458.1 MB, free: 5.117 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.6294, allocations: 96.83 kB / 458.2 MB, free: 5.004 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/0.6295, allocations: 12 kB / 458.3 MB, free: 4.992 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001543/0.6311, allocations: 51.81 kB / 458.3 MB, free: 4.941 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.6312, allocations: 43.88 kB / 458.3 MB, free: 4.898 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005277/0.6365, allocations: 0.8067 MB / 459.2 MB, free: 4.078 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004478/0.641, allocations: 1.025 MB / 460.2 MB, free: 3.035 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001365/0.6424, allocations: 240.4 kB / 460.4 MB, free: 2.801 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001416/0.6426, allocations: 123.9 kB / 460.5 MB, free: 2.68 MB / 346.7 MB Notification: Performance of Backend: time 5.91e-07/0.6426, allocations: 0 / 460.5 MB, free: 2.68 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006315/0.6489, allocations: 1.11 MB / 461.6 MB, free: 1.566 MB / 346.7 MB Notification: Performance of SimCode: time 0.002367/0.6513, allocations: 1.426 MB / 463.1 MB, free: 96 kB / 346.7 MB Notification: Performance of Templates: time 0.04271/0.6941, allocations: 17.85 MB / 480.9 MB, free: 14.2 MB / 378.7 MB