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.IdealGasN2Mix.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.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadModel(Modelica): time 1.803/1.803, allocations: 194.8 MB / 211.6 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003628, allocations: 12 kB / 263.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07765/0.07804, allocations: 44.51 MB / 308.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.3868/0.4648, allocations: 125.7 MB / 434 MB, free: 11.56 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002116/0.467, allocations: 1.224 MB / 435.2 MB, free: 10.6 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.58e-05/0.4671, allocations: 0 / 435.2 MB, free: 10.6 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.4673, allocations: 41.44 kB / 435.3 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00082/0.4682, allocations: 281.5 kB / 435.6 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005488/0.4687, allocations: 136.1 kB / 435.7 MB, free: 10.25 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.4689, allocations: 110.3 kB / 435.8 MB, free: 10.18 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.712e-05/0.469, allocations: 3.125 kB / 435.8 MB, free: 10.18 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001951/0.4692, allocations: 83.69 kB / 435.9 MB, free: 10.14 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.4693, allocations: 45.83 kB / 435.9 MB, free: 10.11 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.4694, allocations: 9.375 kB / 435.9 MB, free: 10.11 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.4704, allocations: 436.9 kB / 436.4 MB, free: 9.918 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.763e-05/0.4705, allocations: 28.17 kB / 436.4 MB, free: 9.898 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.257e-05/0.4706, allocations: 46.8 kB / 436.4 MB, free: 9.859 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004973/0.4711, allocations: 257.8 kB / 436.7 MB, free: 9.723 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.081e-06/0.4711, allocations: 0 / 436.7 MB, free: 9.723 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4711, allocations: 4 kB / 436.7 MB, free: 9.719 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.164e-06/0.4711, allocations: 2.469 kB / 436.7 MB, free: 9.719 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.0005587/0.4717, allocations: 399.5 kB / 437.1 MB, free: 9.316 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.4717, allocations: 8.562 kB / 437.1 MB, free: 9.316 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002479/0.4742, allocations: 197.7 kB / 437.3 MB, free: 9.219 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.4745, allocations: 197.3 kB / 437.5 MB, free: 8.996 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.4746, allocations: 10.81 kB / 437.5 MB, free: 8.988 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.545e-05/0.4746, allocations: 13 kB / 437.5 MB, free: 8.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005902/0.4752, allocations: 207.6 kB / 437.7 MB, free: 8.844 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.4753, allocations: 0 / 437.7 MB, free: 8.844 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.877e-05/0.4753, allocations: 2.75 kB / 437.7 MB, free: 8.844 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.802e-06/0.4753, allocations: 0 / 437.7 MB, free: 8.844 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007937/0.4761, allocations: 241.1 kB / 437.9 MB, free: 8.723 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.002063/0.4782, allocations: 0.6837 MB / 438.6 MB, free: 8.109 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005877/0.4788, allocations: 185.6 kB / 438.8 MB, free: 8 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002038/0.4791, allocations: 96.77 kB / 438.9 MB, free: 7.895 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.4791, allocations: 37.44 kB / 438.9 MB, free: 7.852 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 2.823e-06/0.4791, allocations: 0 / 438.9 MB, free: 7.852 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.006623/0.4858, allocations: 1.537 MB / 440.5 MB, free: 6.758 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.4858, allocations: 51.41 kB / 440.5 MB, free: 6.695 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.4859, allocations: 108.1 kB / 440.6 MB, free: 6.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.032e-05/0.486, allocations: 36.5 kB / 440.7 MB, free: 6.551 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.4861, allocations: 165.8 kB / 440.8 MB, free: 6.391 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.818e-05/0.4862, allocations: 70.16 kB / 440.9 MB, free: 6.328 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.692e-05/0.4863, allocations: 4 kB / 440.9 MB, free: 6.324 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.4864, allocations: 325.5 kB / 441.2 MB, free: 6 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002951/0.4868, allocations: 91.98 kB / 441.3 MB, free: 5.953 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/0.4871, allocations: 120.5 kB / 441.4 MB, free: 5.871 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003073/0.4874, allocations: 98.58 kB / 441.5 MB, free: 5.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.794e-06/0.4874, allocations: 2.75 kB / 441.5 MB, free: 5.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008458/0.4883, allocations: 278.5 kB / 441.8 MB, free: 5.621 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.4883, allocations: 4 kB / 441.8 MB, free: 5.617 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.4883, allocations: 7.984 kB / 441.8 MB, free: 5.609 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001611/0.4885, allocations: 33.56 kB / 441.8 MB, free: 5.574 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005266/0.489, allocations: 47.97 kB / 441.9 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005028/0.4896, allocations: 0.5406 MB / 442.4 MB, free: 4.961 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003217/0.4899, allocations: 8 kB / 442.4 MB, free: 4.953 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.513e-05/0.49, allocations: 15.92 kB / 442.5 MB, free: 4.938 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.0001778/0.4902, allocations: 121.9 kB / 442.6 MB, free: 4.809 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.885e-05/0.4903, allocations: 11.84 kB / 442.6 MB, free: 4.797 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.4913, allocations: 322.4 kB / 442.9 MB, free: 4.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.4914, allocations: 4 kB / 442.9 MB, free: 4.477 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.179e-06/0.4914, allocations: 0 / 442.9 MB, free: 4.477 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.4914, allocations: 7.938 kB / 442.9 MB, free: 4.469 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/0.493, allocations: 0.6757 MB / 443.6 MB, free: 3.727 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.6e-06/0.493, allocations: 4 kB / 443.6 MB, free: 3.723 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000531/0.4935, allocations: 55.89 kB / 443.6 MB, free: 3.668 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001072/0.4936, allocations: 20.83 kB / 443.7 MB, free: 3.645 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.022e-05/0.4937, allocations: 11.98 kB / 443.7 MB, free: 3.633 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001271/0.495, allocations: 1.26 MB / 444.9 MB, free: 2.242 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.878e-06/0.495, allocations: 4.031 kB / 444.9 MB, free: 2.238 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.4962, allocations: 459.7 kB / 445.4 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.784e-05/0.4963, allocations: 85.05 kB / 445.5 MB, free: 1.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.839e-05/0.4963, allocations: 8 kB / 445.5 MB, free: 1.652 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004063/0.4968, allocations: 12.05 kB / 445.5 MB, free: 1.641 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.4968, allocations: 15.98 kB / 445.5 MB, free: 1.625 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.51e-05/0.4969, allocations: 11.98 kB / 445.5 MB, free: 1.613 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.58e-05/0.497, allocations: 87.23 kB / 445.6 MB, free: 1.527 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.497, allocations: 0 / 445.6 MB, free: 1.527 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006782/0.4977, allocations: 127.9 kB / 445.7 MB, free: 1.402 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 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 (19): * Single equations (assignments): 18 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008305/0.4985, allocations: 247.6 kB / 446 MB, free: 1.148 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007947/0.4993, allocations: 227.9 kB / 446.2 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.342e-06/0.4993, allocations: 0 / 446.2 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005389/0.4999, allocations: 234.5 kB / 446.4 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/0.5003, allocations: 44.14 kB / 446.5 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.5015, allocations: 0.5861 MB / 447.1 MB, free: 16 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/0.502, allocations: 0.7243 MB / 447.8 MB, free: 15.27 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/0.5022, allocations: 23.42 kB / 447.8 MB, free: 15.24 MB / 346.7 MB Notification: Performance of SimCode: time 1.419e-06/0.5022, allocations: 0 / 447.8 MB, free: 15.24 MB / 346.7 MB Notification: Performance of Templates: time 0.0107/0.5129, allocations: 5.341 MB / 453.1 MB, free: 9.895 MB / 346.7 MB