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 1.038/1.038, allocations: 111.1 MB / 126.7 MB, free: 6.133 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002641/0.0002642, allocations: 7.938 kB / 158.3 MB, free: 15.16 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04631/0.0466, allocations: 25.17 MB / 183.5 MB, free: 5.957 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.545/1.592, allocations: 0.6514 GB / 0.8306 GB, free: 12.42 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/1.592, allocations: 75.95 kB / 0.8306 GB, free: 12.34 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.207/3.799, allocations: 461.9 MB / 1.282 GB, free: 41 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.824e-06/3.799, allocations: 0 / 1.282 GB, free: 41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.036e-05/3.799, allocations: 16.17 kB / 1.282 GB, free: 41 MB / 266.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.001963/3.801, allocations: 0.8533 MB / 1.283 GB, free: 40.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/3.801, allocations: 10.31 kB / 1.283 GB, free: 40.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001982/3.802, allocations: 51.5 kB / 1.283 GB, free: 40.44 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005996/3.802, allocations: 366.1 kB / 1.283 GB, free: 40.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.099e-05/3.802, allocations: 23.81 kB / 1.283 GB, free: 40.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.165e-05/3.802, allocations: 43.34 kB / 1.283 GB, free: 40.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/3.804, allocations: 0.5081 MB / 1.284 GB, free: 40.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/3.804, allocations: 0 / 1.284 GB, free: 40.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.39e-05/3.804, allocations: 24.3 kB / 1.284 GB, free: 40.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/3.804, allocations: 12.69 kB / 1.284 GB, free: 40.15 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000806/3.804, allocations: 480 kB / 1.284 GB, free: 40.14 MB / 266.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.003256/3.808, allocations: 1.883 MB / 1.286 GB, free: 39.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003772/3.808, allocations: 174.5 kB / 1.286 GB, free: 39.1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/3.809, allocations: 0.8733 MB / 1.287 GB, free: 38.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/3.809, allocations: 36 kB / 1.287 GB, free: 38.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 3.964e-06/3.809, allocations: 0 / 1.287 GB, free: 38.3 MB / 266.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.006579/3.816, allocations: 1.673 MB / 1.289 GB, free: 37.42 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/3.816, allocations: 58.53 kB / 1.289 GB, free: 37.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006452/3.817, allocations: 429.7 kB / 1.289 GB, free: 37.24 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.259e-05/3.817, allocations: 34.7 kB / 1.289 GB, free: 37.21 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/3.817, allocations: 362.6 kB / 1.289 GB, free: 36.94 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.178e-05/3.817, allocations: 85.39 kB / 1.29 GB, free: 36.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/3.817, allocations: 11.69 kB / 1.29 GB, free: 36.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.168e-05/3.817, allocations: 339.2 kB / 1.29 GB, free: 36.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/3.817, allocations: 130.8 kB / 1.29 GB, free: 36.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000385/3.818, allocations: 439.3 kB / 1.29 GB, free: 36.19 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004155/3.818, allocations: 225.4 kB / 1.291 GB, free: 36.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-06/3.818, allocations: 6.812 kB / 1.291 GB, free: 36.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001213/3.819, allocations: 0.6132 MB / 1.291 GB, free: 36.05 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/3.82, allocations: 11.72 kB / 1.291 GB, free: 36.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/3.82, allocations: 14.86 kB / 1.291 GB, free: 36.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002279/3.82, allocations: 57.61 kB / 1.291 GB, free: 36.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005976/3.82, allocations: 143.4 kB / 1.291 GB, free: 36.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/3.822, allocations: 1.847 MB / 1.293 GB, free: 34.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006767/3.822, allocations: 28.84 kB / 1.293 GB, free: 34.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.876e-05/3.823, allocations: 41.28 kB / 1.293 GB, free: 34.24 MB / 266.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.0002948/3.823, allocations: 221.2 kB / 1.294 GB, free: 34.1 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.978e-05/3.823, allocations: 41.16 kB / 1.294 GB, free: 34.08 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006741/3.824, allocations: 299.3 kB / 1.294 GB, free: 34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.872e-06/3.824, allocations: 3.969 kB / 1.294 GB, free: 34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/3.824, allocations: 4.969 kB / 1.294 GB, free: 34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004861/3.824, allocations: 0.531 MB / 1.294 GB, free: 33.54 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/3.825, allocations: 0.7054 MB / 1.295 GB, free: 33.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.276e-06/3.825, allocations: 0 / 1.295 GB, free: 33.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003886/3.826, allocations: 58.17 kB / 1.295 GB, free: 33.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001097/3.826, allocations: 17.06 kB / 1.295 GB, free: 33.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/3.826, allocations: 10.91 kB / 1.295 GB, free: 33.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008104/3.827, allocations: 1.278 MB / 1.296 GB, free: 31.96 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.352e-06/3.827, allocations: 3.625 kB / 1.296 GB, free: 31.96 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007277/3.828, allocations: 432.7 kB / 1.297 GB, free: 31.79 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000239/3.828, allocations: 147.1 kB / 1.297 GB, free: 31.68 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.163e-05/3.828, allocations: 6.125 kB / 1.297 GB, free: 31.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000371/3.828, allocations: 13.47 kB / 1.297 GB, free: 31.68 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/3.828, allocations: 16.22 kB / 1.297 GB, free: 31.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/3.828, allocations: 19.3 kB / 1.297 GB, free: 31.68 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004418/3.829, allocations: 322.6 kB / 1.297 GB, free: 31.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.4e-07/3.829, allocations: 0 / 1.297 GB, free: 31.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001438/3.83, allocations: 304.4 kB / 1.298 GB, free: 31.57 MB / 266.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.002828/3.833, allocations: 1.142 MB / 1.299 GB, free: 31.29 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001016/3.834, allocations: 473.8 kB / 1.299 GB, free: 31.14 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/3.834, allocations: 320 / 1.299 GB, free: 31.14 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003126/3.835, allocations: 206.4 kB / 1.299 GB, free: 31.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/3.836, allocations: 224.4 kB / 1.3 GB, free: 31 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/3.838, allocations: 1.07 MB / 1.301 GB, free: 30.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004737/3.838, allocations: 0.8358 MB / 1.301 GB, free: 29.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/3.839, allocations: 48.92 kB / 1.301 GB, free: 29.72 MB / 266.7 MB Notification: Performance of SimCode: time 1.547e-06/3.839, allocations: 0 / 1.301 GB, free: 29.72 MB / 266.7 MB Notification: Performance of Templates: time 0.0259/3.865, allocations: 16.74 MB / 1.318 GB, free: 19.12 MB / 266.7 MB