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/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.9532/0.9532, allocations: 111.2 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.387e-05/2.41e-05, allocations: 0 / 148.1 MB, free: 6.215 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05115/0.05122, allocations: 25.18 MB / 173.3 MB, free: 12.99 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.462/1.513, allocations: 0.6506 GB / 0.8199 GB, free: 45.94 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/1.514, allocations: 71.95 kB / 0.8199 GB, free: 45.87 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.117/3.63, allocations: 454.6 MB / 1.264 GB, free: 29.28 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.064e-06/3.63, allocations: 0 / 1.264 GB, free: 29.28 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.462e-05/3.63, allocations: 13.59 kB / 1.264 GB, free: 29.28 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.001647/3.632, allocations: 0.8052 MB / 1.265 GB, free: 28.87 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/3.632, allocations: 10.88 kB / 1.265 GB, free: 28.87 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/3.632, allocations: 59.22 kB / 1.265 GB, free: 28.84 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005425/3.633, allocations: 361.1 kB / 1.265 GB, free: 28.63 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/3.633, allocations: 12.16 kB / 1.265 GB, free: 28.63 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.68e-05/3.633, allocations: 20.41 kB / 1.265 GB, free: 28.63 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008223/3.634, allocations: 451.1 kB / 1.266 GB, free: 28.63 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008496/3.635, allocations: 459.6 kB / 1.266 GB, free: 28.59 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/3.635, allocations: 3.953 kB / 1.266 GB, free: 28.58 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.408e-05/3.635, allocations: 0.7656 kB / 1.266 GB, free: 28.58 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/3.635, allocations: 10.66 kB / 1.266 GB, free: 28.58 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.003126/3.638, allocations: 1.892 MB / 1.268 GB, free: 27.54 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/3.638, allocations: 157.5 kB / 1.268 GB, free: 27.52 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/3.638, allocations: 66.64 kB / 1.268 GB, free: 27.51 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008877/3.639, allocations: 0.7864 MB / 1.269 GB, free: 26.85 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/3.639, allocations: 39.08 kB / 1.269 GB, free: 26.81 MB / 250.7 MB Notification: Performance of pre-optimization done (n=18): time 3.124e-06/3.639, allocations: 0 / 1.269 GB, free: 26.81 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.005293/3.645, allocations: 1.163 MB / 1.27 GB, free: 26.26 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/3.645, allocations: 58.91 kB / 1.27 GB, free: 26.2 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005098/3.645, allocations: 387.1 kB / 1.27 GB, free: 26.09 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/3.645, allocations: 25.7 kB / 1.27 GB, free: 26.05 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/3.645, allocations: 369.4 kB / 1.271 GB, free: 25.8 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.102e-05/3.646, allocations: 89 kB / 1.271 GB, free: 25.77 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/3.646, allocations: 6.5 kB / 1.271 GB, free: 25.77 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.753e-05/3.646, allocations: 330.5 kB / 1.271 GB, free: 25.45 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/3.646, allocations: 116 kB / 1.271 GB, free: 25.45 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003551/3.646, allocations: 420.9 kB / 1.272 GB, free: 25.08 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000506/3.647, allocations: 215 kB / 1.272 GB, free: 25.08 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.669e-06/3.647, allocations: 0 / 1.272 GB, free: 25.08 MB / 250.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001251/3.648, allocations: 0.5483 MB / 1.272 GB, free: 25.01 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/3.648, allocations: 10.94 kB / 1.272 GB, free: 25.01 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/3.648, allocations: 10.91 kB / 1.272 GB, free: 25.01 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002215/3.648, allocations: 54.11 kB / 1.273 GB, free: 24.99 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006065/3.649, allocations: 146.8 kB / 1.273 GB, free: 24.99 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001174/3.65, allocations: 1.796 MB / 1.274 GB, free: 23.28 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006418/3.651, allocations: 19.09 kB / 1.274 GB, free: 23.28 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.949e-05/3.651, allocations: 43.28 kB / 1.274 GB, free: 23.28 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.0001388/3.651, allocations: 131.1 kB / 1.275 GB, free: 23.18 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.692e-05/3.651, allocations: 41.09 kB / 1.275 GB, free: 23.16 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007453/3.652, allocations: 267 kB / 1.275 GB, free: 23.08 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.84e-06/3.652, allocations: 3.719 kB / 1.275 GB, free: 23.08 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.398e-06/3.652, allocations: 5.875 kB / 1.275 GB, free: 23.08 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005099/3.653, allocations: 0.5158 MB / 1.275 GB, free: 22.62 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/3.654, allocations: 0.6561 MB / 1.276 GB, free: 22.34 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.145e-06/3.654, allocations: 0 / 1.276 GB, free: 22.34 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003797/3.654, allocations: 54.5 kB / 1.276 GB, free: 22.34 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001052/3.654, allocations: 23.16 kB / 1.276 GB, free: 22.33 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/3.654, allocations: 2.969 kB / 1.276 GB, free: 22.33 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007454/3.655, allocations: 1.231 MB / 1.277 GB, free: 21.13 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.134e-06/3.655, allocations: 0 / 1.277 GB, free: 21.13 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000687/3.656, allocations: 405.4 kB / 1.278 GB, free: 20.97 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001989/3.656, allocations: 143.3 kB / 1.278 GB, free: 20.86 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.233e-05/3.656, allocations: 0 / 1.278 GB, free: 20.86 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003725/3.656, allocations: 20.31 kB / 1.278 GB, free: 20.85 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/3.657, allocations: 15.36 kB / 1.278 GB, free: 20.85 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.946e-05/3.657, allocations: 18.81 kB / 1.278 GB, free: 20.85 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0003453/3.657, allocations: 291.4 kB / 1.278 GB, free: 20.76 MB / 250.7 MB Notification: Performance of sort global known variables: time 9.04e-07/3.657, allocations: 0 / 1.278 GB, free: 20.76 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001258/3.658, allocations: 265.2 kB / 1.278 GB, free: 20.75 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.002785/3.661, allocations: 1.296 MB / 1.28 GB, free: 20.56 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0008894/3.662, allocations: 426.3 kB / 1.28 GB, free: 20.45 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/3.662, allocations: 0 / 1.28 GB, free: 20.45 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002546/3.662, allocations: 194.3 kB / 1.28 GB, free: 20.35 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/3.663, allocations: 180.6 kB / 1.28 GB, free: 20.34 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/3.665, allocations: 0.6431 MB / 1.281 GB, free: 20.12 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007859/3.665, allocations: 0.8325 MB / 1.282 GB, free: 35.42 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001838/3.666, allocations: 53.12 kB / 1.282 GB, free: 35.41 MB / 266.7 MB Notification: Performance of SimCode: time 1.629e-06/3.666, allocations: 3.938 kB / 1.282 GB, free: 35.41 MB / 266.7 MB Notification: Performance of Templates: time 0.02419/3.69, allocations: 16.22 MB / 1.298 GB, free: 34.62 MB / 266.7 MB