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/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="Modelica_3_1_cpp_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.098/1.098, allocations: 111.2 MB / 119.1 MB, free: 11.18 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.262e-05/3.281e-05, allocations: 4 kB / 148.2 MB, free: 6.109 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06367/0.06375, allocations: 25.18 MB / 173.4 MB, free: 12.89 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.852/1.916, allocations: 0.6506 GB / 0.82 GB, free: 31.64 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/1.916, allocations: 69.95 kB / 0.82 GB, free: 31.6 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.537/4.453, allocations: 454.6 MB / 1.264 GB, free: 30.55 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.895e-06/4.453, allocations: 0 / 1.264 GB, free: 30.55 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.801e-05/4.453, allocations: 17.67 kB / 1.264 GB, free: 30.55 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.003222/4.457, allocations: 0.8119 MB / 1.265 GB, free: 30.06 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.085e-05/4.457, allocations: 8.594 kB / 1.265 GB, free: 30.06 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003552/4.457, allocations: 55.22 kB / 1.265 GB, free: 30.04 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/4.458, allocations: 363 kB / 1.265 GB, free: 29.83 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/4.458, allocations: 11.31 kB / 1.265 GB, free: 29.83 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/4.458, allocations: 28.66 kB / 1.265 GB, free: 29.82 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001422/4.46, allocations: 455.6 kB / 1.266 GB, free: 29.82 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/4.461, allocations: 450.9 kB / 1.266 GB, free: 29.77 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.415e-05/4.461, allocations: 0 / 1.266 GB, free: 29.77 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/4.462, allocations: 1.203 kB / 1.266 GB, free: 29.77 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/4.462, allocations: 10.25 kB / 1.266 GB, free: 29.77 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.005837/4.467, allocations: 1.892 MB / 1.268 GB, free: 28.71 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005552/4.468, allocations: 159.2 kB / 1.268 GB, free: 28.69 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002613/4.468, allocations: 67.3 kB / 1.268 GB, free: 28.68 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00166/4.47, allocations: 0.7897 MB / 1.269 GB, free: 28.01 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/4.47, allocations: 34.86 kB / 1.269 GB, free: 27.97 MB / 250.7 MB Notification: Performance of pre-optimization done (n=18): time 5.76e-06/4.47, allocations: 0 / 1.269 GB, free: 27.97 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.01281/4.483, allocations: 1.169 MB / 1.27 GB, free: 27.4 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/4.483, allocations: 56.69 kB / 1.27 GB, free: 27.34 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008581/4.484, allocations: 391.2 kB / 1.271 GB, free: 27.22 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.11e-05/4.484, allocations: 25.7 kB / 1.271 GB, free: 27.19 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.01166/4.496, allocations: 366.8 kB / 1.271 GB, free: 26.91 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/4.496, allocations: 87.19 kB / 1.271 GB, free: 26.86 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/4.496, allocations: 0 / 1.271 GB, free: 26.86 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/4.496, allocations: 335.5 kB / 1.271 GB, free: 26.55 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001145/4.497, allocations: 119.1 kB / 1.271 GB, free: 26.54 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006215/4.498, allocations: 421.3 kB / 1.272 GB, free: 26.17 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009486/4.499, allocations: 217.1 kB / 1.272 GB, free: 26.17 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.314e-05/4.499, allocations: 3.312 kB / 1.272 GB, free: 26.17 MB / 250.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00227/4.501, allocations: 0.5374 MB / 1.273 GB, free: 26.1 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.713e-05/4.501, allocations: 13.78 kB / 1.273 GB, free: 26.1 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.778e-05/4.501, allocations: 16.52 kB / 1.273 GB, free: 26.1 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003637/4.502, allocations: 55.84 kB / 1.273 GB, free: 26.08 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/4.503, allocations: 144.2 kB / 1.273 GB, free: 26.08 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009433/4.513, allocations: 1.794 MB / 1.275 GB, free: 24.37 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/4.514, allocations: 24.72 kB / 1.275 GB, free: 24.37 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/4.514, allocations: 35.91 kB / 1.275 GB, free: 24.37 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.0002265/4.514, allocations: 129.4 kB / 1.275 GB, free: 24.26 MB / 250.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001046/4.515, allocations: 230.1 kB / 1.275 GB, free: 24.19 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/4.515, allocations: 46.36 kB / 1.275 GB, free: 24.16 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006096/4.522, allocations: 287.2 kB / 1.275 GB, free: 24.09 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/4.522, allocations: 0 / 1.275 GB, free: 24.09 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/4.522, allocations: 3.938 kB / 1.275 GB, free: 24.08 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008659/4.523, allocations: 0.5121 MB / 1.276 GB, free: 23.63 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002141/4.525, allocations: 0.6449 MB / 1.276 GB, free: 23.35 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/4.525, allocations: 0 / 1.276 GB, free: 23.35 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007926/4.526, allocations: 59.83 kB / 1.276 GB, free: 23.34 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001641/4.526, allocations: 18.38 kB / 1.276 GB, free: 23.34 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.132e-05/4.526, allocations: 15.58 kB / 1.276 GB, free: 23.33 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001175/4.527, allocations: 1.229 MB / 1.278 GB, free: 22.14 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/4.527, allocations: 0 / 1.278 GB, free: 22.14 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008589/4.536, allocations: 401.2 kB / 1.278 GB, free: 21.97 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004922/4.536, allocations: 149.8 kB / 1.278 GB, free: 21.86 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/4.536, allocations: 3.438 kB / 1.278 GB, free: 21.86 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008086/4.537, allocations: 10.16 kB / 1.278 GB, free: 21.86 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.019e-05/4.537, allocations: 17.55 kB / 1.278 GB, free: 21.86 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.799e-05/4.537, allocations: 17.42 kB / 1.278 GB, free: 21.86 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0006422/4.538, allocations: 286.8 kB / 1.279 GB, free: 21.77 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.052e-06/4.538, allocations: 0 / 1.279 GB, free: 21.77 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.004677/4.543, allocations: 266.2 kB / 1.279 GB, free: 21.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.0062/4.549, allocations: 2.142 MB / 1.281 GB, free: 20.94 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001428/4.551, allocations: 424 kB / 1.281 GB, free: 20.8 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/4.551, allocations: 0 / 1.281 GB, free: 20.8 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004358/4.551, allocations: 197.7 kB / 1.281 GB, free: 20.7 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001922/4.553, allocations: 173.2 kB / 1.282 GB, free: 20.7 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002516/4.556, allocations: 0.7731 MB / 1.282 GB, free: 20.41 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/4.556, allocations: 0.8364 MB / 1.283 GB, free: 19.7 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004417/4.556, allocations: 154.5 kB / 1.283 GB, free: 19.7 MB / 250.7 MB Notification: Performance of SimCode: time 1.262e-06/4.556, allocations: 0 / 1.283 GB, free: 19.7 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.307/7.863, allocations: 18.35 MB / 1.301 GB, free: 11.96 MB / 250.7 MB