Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadModel(Modelica): time 1.154/1.154, allocations: 111.1 MB / 127.3 MB, free: 6.152 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002709/0.0002709, allocations: 8 kB / 158.9 MB, free: 15.22 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05889/0.05919, allocations: 25.17 MB / 184.1 MB, free: 6.008 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.078/2.138, allocations: 0.6513 GB / 0.8311 GB, free: 64.99 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003297/2.138, allocations: 75.64 kB / 0.8312 GB, free: 64.99 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404/4.542, allocations: 461.9 MB / 1.282 GB, free: 7.855 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.585e-06/4.542, allocations: 0 / 1.282 GB, free: 7.855 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.469e-05/4.542, allocations: 11.94 kB / 1.282 GB, free: 7.844 MB / 250.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.002143/4.544, allocations: 0.8539 MB / 1.283 GB, free: 6.941 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/4.544, allocations: 12.03 kB / 1.283 GB, free: 6.93 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/4.544, allocations: 51.44 kB / 1.283 GB, free: 6.879 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006361/4.545, allocations: 365.3 kB / 1.284 GB, free: 6.48 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/4.545, allocations: 25 kB / 1.284 GB, free: 6.457 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.357e-05/4.545, allocations: 47.84 kB / 1.284 GB, free: 6.41 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/4.546, allocations: 0.5139 MB / 1.284 GB, free: 5.887 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/4.546, allocations: 4 kB / 1.284 GB, free: 5.883 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.102e-05/4.546, allocations: 16 kB / 1.284 GB, free: 5.867 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/4.546, allocations: 8 kB / 1.284 GB, free: 5.859 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000924/4.547, allocations: 483.7 kB / 1.285 GB, free: 5.387 MB / 250.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.003828/4.551, allocations: 1.871 MB / 1.286 GB, free: 3.336 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004337/4.551, allocations: 171.2 kB / 1.287 GB, free: 3.16 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001168/4.553, allocations: 0.87 MB / 1.287 GB, free: 2.172 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/4.553, allocations: 50.48 kB / 1.287 GB, free: 2.113 MB / 250.7 MB Notification: Performance of pre-optimization done (n=18): time 1.984e-06/4.553, allocations: 0 / 1.287 GB, free: 2.113 MB / 250.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.00921/4.562, allocations: 1.67 MB / 1.289 GB, free: 296 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/4.562, allocations: 59.41 kB / 1.289 GB, free: 224 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1954/4.757, allocations: 480.8 kB / 1.29 GB, free: 19.11 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.742e-05/4.758, allocations: 31.61 kB / 1.29 GB, free: 19.07 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003206/4.758, allocations: 355.8 kB / 1.29 GB, free: 18.88 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/4.758, allocations: 92.27 kB / 1.29 GB, free: 18.84 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.857e-05/4.758, allocations: 13.44 kB / 1.29 GB, free: 18.84 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/4.758, allocations: 332.1 kB / 1.29 GB, free: 18.52 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000489/4.759, allocations: 134.3 kB / 1.291 GB, free: 18.52 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007164/4.76, allocations: 438.8 kB / 1.291 GB, free: 18.15 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006977/4.76, allocations: 223.2 kB / 1.291 GB, free: 18.15 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/4.76, allocations: 3.156 kB / 1.291 GB, free: 18.15 MB / 250.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001964/4.762, allocations: 0.6173 MB / 1.292 GB, free: 18.08 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.605e-05/4.762, allocations: 14.66 kB / 1.292 GB, free: 18.08 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.219e-05/4.762, allocations: 10.88 kB / 1.292 GB, free: 18.08 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003116/4.763, allocations: 57.48 kB / 1.292 GB, free: 18.07 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/4.764, allocations: 144.7 kB / 1.292 GB, free: 18.07 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001956/4.766, allocations: 1.839 MB / 1.294 GB, free: 16.3 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/4.767, allocations: 39.83 kB / 1.294 GB, free: 16.3 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/4.767, allocations: 38.23 kB / 1.294 GB, free: 16.3 MB / 250.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.0005212/4.768, allocations: 218 kB / 1.294 GB, free: 16.18 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/4.768, allocations: 52.36 kB / 1.294 GB, free: 16.16 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/4.769, allocations: 286.8 kB / 1.294 GB, free: 16.11 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/4.769, allocations: 1.656 kB / 1.294 GB, free: 16.11 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/4.769, allocations: 3.375 kB / 1.294 GB, free: 16.11 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008572/4.77, allocations: 0.5289 MB / 1.295 GB, free: 15.66 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/4.772, allocations: 0.7069 MB / 1.296 GB, free: 15.34 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/4.772, allocations: 0 / 1.296 GB, free: 15.34 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006275/4.773, allocations: 56.77 kB / 1.296 GB, free: 15.34 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001384/4.773, allocations: 26.42 kB / 1.296 GB, free: 15.33 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.414e-05/4.773, allocations: 5.531 kB / 1.296 GB, free: 15.33 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001153/4.774, allocations: 1.287 MB / 1.297 GB, free: 14.08 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/4.774, allocations: 3.312 kB / 1.297 GB, free: 14.08 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/4.775, allocations: 430.6 kB / 1.297 GB, free: 13.91 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003703/4.776, allocations: 146 kB / 1.298 GB, free: 13.8 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/4.776, allocations: 7.375 kB / 1.298 GB, free: 13.8 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000682/4.777, allocations: 19.45 kB / 1.298 GB, free: 13.79 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.734e-05/4.777, allocations: 18.3 kB / 1.298 GB, free: 13.79 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-05/4.777, allocations: 11.05 kB / 1.298 GB, free: 13.79 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0007231/4.778, allocations: 322.2 kB / 1.298 GB, free: 13.71 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.51e-07/4.778, allocations: 0.75 kB / 1.298 GB, free: 13.71 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.002365/4.78, allocations: 307 kB / 1.298 GB, free: 13.71 MB / 250.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.00476/4.785, allocations: 1.138 MB / 1.299 GB, free: 13.54 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001697/4.786, allocations: 464.5 kB / 1.3 GB, free: 13.42 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/4.786, allocations: 0 / 1.3 GB, free: 13.42 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000495/4.787, allocations: 208.7 kB / 1.3 GB, free: 13.31 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0027/4.79, allocations: 223.5 kB / 1.3 GB, free: 13.3 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/4.793, allocations: 1.077 MB / 1.301 GB, free: 12.84 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/4.794, allocations: 0.8287 MB / 1.302 GB, free: 28.14 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003757/4.794, allocations: 54.5 kB / 1.302 GB, free: 28.13 MB / 266.7 MB Notification: Performance of SimCode: time 1.362e-06/4.794, allocations: 0 / 1.302 GB, free: 28.13 MB / 266.7 MB Notification: Performance of Templates: time 0.04701/4.841, allocations: 16.76 MB / 1.318 GB, free: 27.73 MB / 266.7 MB