Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 0.9929/0.9929, allocations: 111.2 MB / 124.2 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.952e-05/1.966e-05, allocations: 0 / 154.3 MB, free: 13.18 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1383, allocations: 25.15 MB / 179.4 MB, free: 0.8086 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.495/1.633, allocations: 0.6513 GB / 0.8265 GB, free: 56.05 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/1.634, allocations: 71.95 kB / 0.8266 GB, free: 55.98 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.105/3.738, allocations: 461.2 MB / 1.277 GB, free: 24.62 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.116e-06/3.738, allocations: 1.531 kB / 1.277 GB, free: 24.62 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.582e-05/3.738, allocations: 6.844 kB / 1.277 GB, free: 24.62 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.001667/3.74, allocations: 0.8211 MB / 1.278 GB, free: 24.16 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/3.74, allocations: 11.53 kB / 1.278 GB, free: 24.16 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/3.74, allocations: 48.03 kB / 1.278 GB, free: 24.14 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005522/3.741, allocations: 359.7 kB / 1.278 GB, free: 23.93 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/3.741, allocations: 27.59 kB / 1.278 GB, free: 23.93 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.399e-05/3.741, allocations: 41.69 kB / 1.278 GB, free: 23.93 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/3.742, allocations: 0.4942 MB / 1.279 GB, free: 23.89 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/3.742, allocations: 2.484 kB / 1.279 GB, free: 23.89 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.438e-05/3.742, allocations: 25.73 kB / 1.279 GB, free: 23.89 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/3.742, allocations: 18.08 kB / 1.279 GB, free: 23.89 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008249/3.743, allocations: 469.4 kB / 1.279 GB, free: 23.88 MB / 250.7 MB Warning: The model contains alias variables with conflicting start and/or 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.002899/3.746, allocations: 1.869 MB / 1.281 GB, free: 22.89 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003607/3.746, allocations: 172.7 kB / 1.281 GB, free: 22.87 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/3.746, allocations: 79.89 kB / 1.281 GB, free: 22.86 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000963/3.747, allocations: 0.908 MB / 1.282 GB, free: 22.1 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/3.747, allocations: 37.5 kB / 1.282 GB, free: 22.06 MB / 250.7 MB Notification: Performance of pre-optimization done (n=18): time 2.664e-06/3.747, allocations: 0 / 1.282 GB, free: 22.06 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.009504/3.757, allocations: 1.335 MB / 1.284 GB, free: 21.5 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/3.757, allocations: 54.78 kB / 1.284 GB, free: 21.44 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/3.758, allocations: 430.5 kB / 1.284 GB, free: 21.33 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.473e-05/3.758, allocations: 32.05 kB / 1.284 GB, free: 21.3 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003357/3.759, allocations: 359.1 kB / 1.284 GB, free: 21.05 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/3.759, allocations: 89.72 kB / 1.284 GB, free: 21.02 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.007e-05/3.759, allocations: 13.91 kB / 1.284 GB, free: 21.02 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/3.759, allocations: 336.3 kB / 1.285 GB, free: 20.7 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006181/3.76, allocations: 132.5 kB / 1.285 GB, free: 20.7 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008642/3.761, allocations: 424.6 kB / 1.285 GB, free: 20.33 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009299/3.762, allocations: 229.4 kB / 1.286 GB, free: 20.33 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.758e-05/3.762, allocations: 3.5 kB / 1.286 GB, free: 20.33 MB / 250.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00276/3.764, allocations: 0.6093 MB / 1.286 GB, free: 20.26 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.111e-05/3.765, allocations: 8.906 kB / 1.286 GB, free: 20.26 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.234e-05/3.765, allocations: 16.52 kB / 1.286 GB, free: 20.26 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004558/3.765, allocations: 55.05 kB / 1.286 GB, free: 20.24 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/3.766, allocations: 142.8 kB / 1.286 GB, free: 20.24 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002358/3.769, allocations: 1.843 MB / 1.288 GB, free: 18.47 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/3.77, allocations: 32.83 kB / 1.288 GB, free: 18.46 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/3.77, allocations: 37.88 kB / 1.288 GB, free: 18.46 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 () * 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.0002683/3.771, allocations: 154.2 kB / 1.288 GB, free: 18.35 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002224/3.771, allocations: 44.84 kB / 1.288 GB, free: 18.33 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/3.772, allocations: 299.9 kB / 1.289 GB, free: 18.26 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/3.773, allocations: 3.188 kB / 1.289 GB, free: 18.26 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.562e-06/3.773, allocations: 0 / 1.289 GB, free: 18.26 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001037/3.774, allocations: 0.5229 MB / 1.289 GB, free: 17.81 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002509/3.776, allocations: 0.7031 MB / 1.29 GB, free: 17.5 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.212e-06/3.776, allocations: 3.156 kB / 1.29 GB, free: 17.5 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007691/3.777, allocations: 56.41 kB / 1.29 GB, free: 17.5 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001834/3.777, allocations: 20.02 kB / 1.29 GB, free: 17.49 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.295e-05/3.777, allocations: 6.875 kB / 1.29 GB, free: 17.49 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001505/3.779, allocations: 1.276 MB / 1.291 GB, free: 16.24 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/3.779, allocations: 0 / 1.291 GB, free: 16.24 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/3.78, allocations: 430 kB / 1.292 GB, free: 16.07 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004156/3.781, allocations: 146.2 kB / 1.292 GB, free: 15.96 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001908/3.781, allocations: 6 kB / 1.292 GB, free: 15.96 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000893/3.782, allocations: 15.52 kB / 1.292 GB, free: 15.96 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.063e-05/3.782, allocations: 21.41 kB / 1.292 GB, free: 15.96 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8e-05/3.782, allocations: 14.92 kB / 1.292 GB, free: 15.96 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000927/3.783, allocations: 320.3 kB / 1.292 GB, free: 15.87 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.514e-06/3.783, allocations: 0 / 1.292 GB, free: 15.87 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.002934/3.786, allocations: 300.1 kB / 1.292 GB, free: 15.85 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 () * 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.00571/3.792, allocations: 1.145 MB / 1.294 GB, free: 15.65 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001834/3.794, allocations: 460.3 kB / 1.294 GB, free: 15.53 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.961e-06/3.794, allocations: 0 / 1.294 GB, free: 15.53 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005699/3.794, allocations: 208.1 kB / 1.294 GB, free: 15.42 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002836/3.797, allocations: 225.3 kB / 1.294 GB, free: 15.41 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002549/3.8, allocations: 0.6552 MB / 1.295 GB, free: 15.19 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000667/3.8, allocations: 0.8327 MB / 1.296 GB, free: 14.49 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003736/3.801, allocations: 49.66 kB / 1.296 GB, free: 14.48 MB / 250.7 MB Notification: Performance of SimCode: time 3.001e-06/3.801, allocations: 0 / 1.296 GB, free: 14.48 MB / 250.7 MB Notification: Performance of Templates: time 0.04159/3.843, allocations: 16.73 MB / 1.312 GB, free: 13.6 MB / 250.7 MB