Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadModel(Modelica): time 1.761/1.761, allocations: 171.2 MB / 186.7 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.0003703, allocations: 11.98 kB / 233.9 MB, free: 2.363 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08517/0.08557, allocations: 38.76 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.193/2.279, allocations: 0.6963 GB / 0.9626 GB, free: 24.21 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003312/2.279, allocations: 91.62 kB / 0.9626 GB, free: 24.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996/5.275, allocations: 0.5695 GB / 1.532 GB, free: 11.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.944e-06/5.275, allocations: 0 / 1.532 GB, free: 11.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.095e-05/5.275, allocations: 16 kB / 1.532 GB, free: 11.84 MB / 362.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.002319/5.278, allocations: 0.8269 MB / 1.533 GB, free: 10.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/5.278, allocations: 12.03 kB / 1.533 GB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009217/5.279, allocations: 119.3 kB / 1.533 GB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009898/5.28, allocations: 365.3 kB / 1.533 GB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.616e-05/5.28, allocations: 28.95 kB / 1.533 GB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/5.28, allocations: 40 kB / 1.533 GB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/5.281, allocations: 0.5454 MB / 1.534 GB, free: 9.809 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/5.281, allocations: 3.938 kB / 1.534 GB, free: 9.805 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/5.281, allocations: 24 kB / 1.534 GB, free: 9.781 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/5.281, allocations: 8 kB / 1.534 GB, free: 9.773 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009282/5.282, allocations: 426.3 kB / 1.534 GB, free: 9.355 MB / 362.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.004024/5.286, allocations: 1.815 MB / 1.536 GB, free: 7.406 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003757/5.287, allocations: 151.2 kB / 1.536 GB, free: 7.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.702e-05/5.287, allocations: 4.312 kB / 1.536 GB, free: 7.246 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/5.287, allocations: 34.56 kB / 1.536 GB, free: 7.203 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 2.816e-06/5.287, allocations: 3.938 kB / 1.536 GB, free: 7.199 MB / 362.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.009196/5.296, allocations: 1.672 MB / 1.538 GB, free: 5.371 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/5.296, allocations: 55.41 kB / 1.538 GB, free: 5.305 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007202/5.297, allocations: 481.6 kB / 1.539 GB, free: 4.824 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.657e-05/5.297, allocations: 29.7 kB / 1.539 GB, free: 4.789 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/5.297, allocations: 318.3 kB / 1.539 GB, free: 4.473 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.455e-05/5.297, allocations: 90.77 kB / 1.539 GB, free: 4.383 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/5.297, allocations: 12 kB / 1.539 GB, free: 4.371 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.474e-05/5.297, allocations: 350.8 kB / 1.539 GB, free: 4.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003103/5.298, allocations: 137.2 kB / 1.539 GB, free: 3.883 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004529/5.298, allocations: 432.5 kB / 1.54 GB, free: 3.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004578/5.299, allocations: 227.8 kB / 1.54 GB, free: 3.098 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/5.299, allocations: 4 kB / 1.54 GB, free: 3.094 MB / 362.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001433/5.3, allocations: 0.6272 MB / 1.541 GB, free: 2.453 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/5.3, allocations: 16.83 kB / 1.541 GB, free: 2.438 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/5.3, allocations: 11.98 kB / 1.541 GB, free: 2.426 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002539/5.3, allocations: 57.7 kB / 1.541 GB, free: 2.363 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00082/5.301, allocations: 143.8 kB / 1.541 GB, free: 2.223 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/5.303, allocations: 1.844 MB / 1.543 GB, free: 228 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008196/5.304, allocations: 28.19 kB / 1.543 GB, free: 200 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-05/5.304, allocations: 47.98 kB / 1.543 GB, free: 152 kB / 362.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.2599/5.564, allocations: 212.9 kB / 1.543 GB, free: 52.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/5.564, allocations: 43.28 kB / 1.543 GB, free: 52.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/5.565, allocations: 284 kB / 1.543 GB, free: 52.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/5.565, allocations: 9.594 kB / 1.543 GB, free: 52.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/5.565, allocations: 3.219 kB / 1.543 GB, free: 52.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006097/5.566, allocations: 0.5256 MB / 1.544 GB, free: 51.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/5.567, allocations: 0.6883 MB / 1.545 GB, free: 51.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/5.567, allocations: 1.984 kB / 1.545 GB, free: 51.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005388/5.568, allocations: 54.86 kB / 1.545 GB, free: 51.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001209/5.568, allocations: 23.52 kB / 1.545 GB, free: 51.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.047e-05/5.568, allocations: 8.453 kB / 1.545 GB, free: 51.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009152/5.569, allocations: 1.285 MB / 1.546 GB, free: 50.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/5.569, allocations: 2.5 kB / 1.546 GB, free: 50.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000922/5.57, allocations: 423.9 kB / 1.546 GB, free: 49.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002057/5.57, allocations: 120.1 kB / 1.546 GB, free: 49.85 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/5.57, allocations: 13.8 kB / 1.546 GB, free: 49.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005063/5.571, allocations: 16.84 kB / 1.546 GB, free: 49.85 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.829e-05/5.571, allocations: 17.3 kB / 1.546 GB, free: 49.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.843e-05/5.571, allocations: 15.72 kB / 1.546 GB, free: 49.85 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006275/5.571, allocations: 326.2 kB / 1.547 GB, free: 49.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.2e-07/5.571, allocations: 0 / 1.547 GB, free: 49.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001711/5.573, allocations: 288.6 kB / 1.547 GB, free: 49.77 MB / 362.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.003407/5.577, allocations: 1.105 MB / 1.548 GB, free: 49.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001268/5.578, allocations: 459.9 kB / 1.549 GB, free: 49.49 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/5.578, allocations: 2.594 kB / 1.549 GB, free: 49.49 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003344/5.578, allocations: 207.4 kB / 1.549 GB, free: 49.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001921/5.58, allocations: 203.8 kB / 1.549 GB, free: 49.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/5.582, allocations: 1.04 MB / 1.55 GB, free: 48.94 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/5.582, allocations: 0.8282 MB / 1.551 GB, free: 48.24 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008938/5.583, allocations: 136.9 kB / 1.551 GB, free: 48.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/5.584, allocations: 41.03 kB / 1.551 GB, free: 48.22 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/5.584, allocations: 0 / 1.551 GB, free: 48.22 MB / 362.7 MB Notification: Performance of Templates: time 0.05019/5.634, allocations: 22.54 MB / 1.573 GB, free: 47.86 MB / 362.7 MB