Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadModel(Modelica): time 1.717/1.717, allocations: 171.2 MB / 186.7 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003724, allocations: 8 kB / 233.2 MB, free: 3.027 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06977/0.07017, allocations: 38.77 MB / 271.9 MB, free: 12.18 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3865/0.4567, allocations: 138.7 MB / 410.7 MB, free: 4.465 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004353/0.4611, allocations: 2.355 MB / 413 MB, free: 2.109 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003406/0.4615, allocations: 7.938 kB / 413 MB, free: 2.102 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006287/0.4621, allocations: 159.2 kB / 413.2 MB, free: 1.945 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006761/0.4628, allocations: 231.3 kB / 413.4 MB, free: 1.719 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.4644, allocations: 407 kB / 413.8 MB, free: 1.32 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001006/0.4654, allocations: 0.5895 MB / 414.4 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.4656, allocations: 68.69 kB / 414.5 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002067/0.4677, allocations: 0.7833 MB / 415.2 MB, free: 15.87 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003795/0.4681, allocations: 211.3 kB / 415.4 MB, free: 15.66 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.881e-05/0.4682, allocations: 20 kB / 415.5 MB, free: 15.64 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001258/0.4695, allocations: 407.5 kB / 415.9 MB, free: 15.25 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000259/0.4698, allocations: 191.6 kB / 416.1 MB, free: 15.06 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.47, allocations: 133.5 kB / 416.2 MB, free: 14.92 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001374/0.4714, allocations: 0.8329 MB / 417 MB, free: 14.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.127e-06/0.4714, allocations: 0 / 417 MB, free: 14.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.624e-06/0.4714, allocations: 0 / 417 MB, free: 14.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.622e-05/0.4714, allocations: 3.938 kB / 417 MB, free: 14.09 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001423/0.4729, allocations: 0.6939 MB / 417.7 MB, free: 13.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.4729, allocations: 8.031 kB / 417.7 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008258/0.4738, allocations: 135.3 kB / 417.9 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007005/0.4745, allocations: 373.2 kB / 418.2 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.322e-05/0.4745, allocations: 25 kB / 418.2 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.4747, allocations: 36 kB / 418.3 MB, free: 12.74 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.4759, allocations: 0.5615 MB / 418.8 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.476, allocations: 3.953 kB / 418.8 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-05/0.4761, allocations: 23.98 kB / 418.9 MB, free: 12.13 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.4761, allocations: 8 kB / 418.9 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009287/0.477, allocations: 450.3 kB / 419.3 MB, free: 11.68 MB / 346.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.003697/0.4807, allocations: 1.834 MB / 421.1 MB, free: 9.711 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.4811, allocations: 147.2 kB / 421.3 MB, free: 9.559 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.902e-05/0.4812, allocations: 8.172 kB / 421.3 MB, free: 9.551 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.4812, allocations: 34.56 kB / 421.3 MB, free: 9.508 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 5.976e-06/0.4812, allocations: 0 / 421.3 MB, free: 9.508 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: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.00736/0.4886, allocations: 1.694 MB / 423 MB, free: 7.664 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.4887, allocations: 55.41 kB / 423.1 MB, free: 7.598 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007639/0.4895, allocations: 477.6 kB / 423.5 MB, free: 7.121 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.489e-05/0.4895, allocations: 37.7 kB / 423.6 MB, free: 7.078 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002987/0.4898, allocations: 364.8 kB / 423.9 MB, free: 6.719 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.592e-05/0.49, allocations: 94.81 kB / 424 MB, free: 6.625 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.49, allocations: 12 kB / 424 MB, free: 6.613 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.4902, allocations: 334.8 kB / 424.4 MB, free: 6.277 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003226/0.4905, allocations: 133.2 kB / 424.5 MB, free: 6.148 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000581/0.4911, allocations: 436.5 kB / 424.9 MB, free: 5.582 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000472/0.4916, allocations: 228.3 kB / 425.2 MB, free: 5.359 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.394e-06/0.4916, allocations: 4 kB / 425.2 MB, free: 5.355 MB / 346.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001406/0.4931, allocations: 0.616 MB / 425.8 MB, free: 4.727 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.4931, allocations: 8 kB / 425.8 MB, free: 4.719 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/0.4931, allocations: 12 kB / 425.8 MB, free: 4.707 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002453/0.4934, allocations: 54.3 kB / 425.8 MB, free: 4.648 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006206/0.494, allocations: 147.2 kB / 426 MB, free: 4.508 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002047/0.4961, allocations: 1.848 MB / 427.8 MB, free: 2.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006068/0.4967, allocations: 31.98 kB / 427.9 MB, free: 2.469 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.469e-05/0.4968, allocations: 36 kB / 427.9 MB, free: 2.434 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (73): * Single equations (assignments): 71 * 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.0003464/0.4972, allocations: 217.6 kB / 428.1 MB, free: 2.211 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.4973, allocations: 43.48 kB / 428.2 MB, free: 2.168 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007592/0.4981, allocations: 298.4 kB / 428.4 MB, free: 1.867 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.851e-06/0.4981, allocations: 4 kB / 428.5 MB, free: 1.863 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.24e-06/0.4981, allocations: 0 / 428.5 MB, free: 1.863 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007065/0.4988, allocations: 0.5278 MB / 429 MB, free: 1.246 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/0.5003, allocations: 0.6944 MB / 429.7 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.592e-06/0.5003, allocations: 4 kB / 429.7 MB, free: 500 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/0.5007, allocations: 55.95 kB / 429.7 MB, free: 444 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001268/0.5009, allocations: 20.84 kB / 429.8 MB, free: 420 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.958e-05/0.5009, allocations: 4 kB / 429.8 MB, free: 416 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.18/0.681, allocations: 1.289 MB / 431 MB, free: 125.7 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.49e-06/0.681, allocations: 0 / 431 MB, free: 125.7 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000902/0.6819, allocations: 426.3 kB / 431.5 MB, free: 125.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.6821, allocations: 118.7 kB / 431.6 MB, free: 125.4 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.445e-05/0.6822, allocations: 8.594 kB / 431.6 MB, free: 125.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004231/0.6826, allocations: 17.14 kB / 431.6 MB, free: 125.4 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.903e-05/0.6827, allocations: 20.78 kB / 431.6 MB, free: 125.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.526e-05/0.6828, allocations: 15.53 kB / 431.6 MB, free: 125.4 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004898/0.6833, allocations: 321.2 kB / 432 MB, free: 125.3 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.6833, allocations: 1.656 kB / 432 MB, free: 125.3 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001038/0.6844, allocations: 206.8 kB / 432.2 MB, free: 125.3 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.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 (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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001736/0.6861, allocations: 395.7 kB / 432.5 MB, free: 125.3 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001045/0.6872, allocations: 459.9 kB / 433 MB, free: 125.1 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.896e-06/0.6872, allocations: 0 / 433 MB, free: 125.1 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003289/0.6875, allocations: 215.3 kB / 433.2 MB, free: 125 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.6889, allocations: 203.6 kB / 433.4 MB, free: 125 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.6909, allocations: 1.069 MB / 434.5 MB, free: 124.5 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.6912, allocations: 0.8346 MB / 435.3 MB, free: 123.8 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.6915, allocations: 50.23 kB / 435.4 MB, free: 123.8 MB / 346.7 MB Notification: Performance of SimCode: time 1.782e-06/0.6915, allocations: 0 / 435.4 MB, free: 123.8 MB / 346.7 MB Notification: Performance of Templates: time 0.02124/0.7127, allocations: 12.05 MB / 447.4 MB, free: 119.1 MB / 346.7 MB