Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.006/2.006, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003755, allocations: 11.98 kB / 264.1 MB, free: 3.469 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3139, allocations: 44.5 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.166/2.48, allocations: 0.7085 GB / 1.01 GB, free: 12.94 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/2.48, allocations: 89.02 kB / 1.01 GB, free: 12.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.138/5.618, allocations: 0.5735 GB / 1.583 GB, free: 68.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.053e-06/5.618, allocations: 0 / 1.583 GB, free: 68.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.184e-05/5.618, allocations: 8 kB / 1.584 GB, free: 68.2 MB / 410.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.002277/5.62, allocations: 0.8423 MB / 1.584 GB, free: 67.37 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/5.62, allocations: 12.02 kB / 1.584 GB, free: 67.36 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002197/5.621, allocations: 78.91 kB / 1.584 GB, free: 67.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008556/5.622, allocations: 119.4 kB / 1.585 GB, free: 67.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008978/5.622, allocations: 379 kB / 1.585 GB, free: 66.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.42e-05/5.623, allocations: 29 kB / 1.585 GB, free: 66.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.104e-05/5.623, allocations: 39.19 kB / 1.585 GB, free: 66.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/5.624, allocations: 0.5343 MB / 1.585 GB, free: 66.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/5.624, allocations: 7.938 kB / 1.585 GB, free: 66.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/5.624, allocations: 17.31 kB / 1.585 GB, free: 66.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/5.624, allocations: 12 kB / 1.586 GB, free: 66.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009246/5.625, allocations: 424.5 kB / 1.586 GB, free: 65.68 MB / 410.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.004376/5.63, allocations: 2.028 MB / 1.588 GB, free: 63.51 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003765/5.63, allocations: 146.6 kB / 1.588 GB, free: 63.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-05/5.63, allocations: 4 kB / 1.588 GB, free: 63.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/5.63, allocations: 46.5 kB / 1.588 GB, free: 63.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 3.867e-06/5.63, allocations: 2.781 kB / 1.588 GB, free: 63.3 MB / 410.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.009198/5.639, allocations: 1.66 MB / 1.59 GB, free: 61.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/5.639, allocations: 55.41 kB / 1.59 GB, free: 61.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006701/5.64, allocations: 434.9 kB / 1.59 GB, free: 61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.926e-05/5.64, allocations: 29.7 kB / 1.59 GB, free: 60.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/5.64, allocations: 320.9 kB / 1.591 GB, free: 60.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.3e-05/5.64, allocations: 90.73 kB / 1.591 GB, free: 60.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/5.64, allocations: 12 kB / 1.591 GB, free: 60.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.913e-05/5.641, allocations: 358.4 kB / 1.591 GB, free: 60.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003001/5.641, allocations: 129.2 kB / 1.591 GB, free: 60.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004598/5.641, allocations: 435 kB / 1.591 GB, free: 59.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004655/5.642, allocations: 222.9 kB / 1.592 GB, free: 59.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-06/5.642, allocations: 4 kB / 1.592 GB, free: 59.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001386/5.643, allocations: 0.6348 MB / 1.592 GB, free: 58.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.841e-05/5.643, allocations: 8 kB / 1.592 GB, free: 58.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/5.643, allocations: 12 kB / 1.592 GB, free: 58.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002458/5.644, allocations: 57.69 kB / 1.592 GB, free: 58.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008292/5.644, allocations: 143.8 kB / 1.593 GB, free: 58.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001432/5.646, allocations: 1.85 MB / 1.594 GB, free: 56.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007994/5.647, allocations: 31.95 kB / 1.594 GB, free: 56.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.341e-05/5.647, allocations: 42.78 kB / 1.594 GB, free: 56.37 MB / 410.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.0003437/5.647, allocations: 220.4 kB / 1.595 GB, free: 56.15 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/5.647, allocations: 39.53 kB / 1.595 GB, free: 56.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000803/5.648, allocations: 287.3 kB / 1.595 GB, free: 55.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/5.648, allocations: 7.953 kB / 1.595 GB, free: 55.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/5.648, allocations: 0.75 kB / 1.595 GB, free: 55.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005482/5.649, allocations: 0.5331 MB / 1.595 GB, free: 55.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/5.65, allocations: 0.6937 MB / 1.596 GB, free: 54.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/5.65, allocations: 0 / 1.596 GB, free: 54.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000489/5.651, allocations: 55.91 kB / 1.596 GB, free: 54.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001138/5.651, allocations: 22.41 kB / 1.596 GB, free: 54.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-05/5.651, allocations: 11.98 kB / 1.596 GB, free: 54.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009454/5.652, allocations: 1.277 MB / 1.597 GB, free: 52.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/5.652, allocations: 3.984 kB / 1.597 GB, free: 52.94 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008306/5.653, allocations: 434.5 kB / 1.598 GB, free: 52.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000184/5.653, allocations: 116.6 kB / 1.598 GB, free: 52.37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.83e-05/5.653, allocations: 8 kB / 1.598 GB, free: 52.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004935/5.653, allocations: 19.2 kB / 1.598 GB, free: 52.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/5.653, allocations: 19.97 kB / 1.598 GB, free: 52.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-05/5.654, allocations: 15.98 kB / 1.598 GB, free: 52.31 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005055/5.654, allocations: 323.1 kB / 1.598 GB, free: 52 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.6e-07/5.654, allocations: 0 / 1.598 GB, free: 52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001549/5.656, allocations: 299.8 kB / 1.599 GB, free: 51.7 MB / 410.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.004185/5.66, allocations: 1.945 MB / 1.601 GB, free: 50.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001215/5.661, allocations: 468.8 kB / 1.601 GB, free: 49.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/5.661, allocations: 0 / 1.601 GB, free: 49.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003202/5.661, allocations: 208.4 kB / 1.601 GB, free: 49.35 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001875/5.663, allocations: 216.5 kB / 1.601 GB, free: 49.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006645/5.67, allocations: 9.72 MB / 1.611 GB, free: 39.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/5.67, allocations: 0.8276 MB / 1.612 GB, free: 38.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000923/5.671, allocations: 136.3 kB / 1.612 GB, free: 38.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003027/5.672, allocations: 147.4 kB / 1.612 GB, free: 38.09 MB / 410.7 MB Notification: Performance of SimCode: time 1.423e-06/5.672, allocations: 0 / 1.612 GB, free: 38.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07059/5.742, allocations: 29.29 MB / 1.641 GB, free: 8.961 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002337/5.743, allocations: 253.5 kB / 1.641 GB, free: 8.625 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.917/9.659, allocations: 0 / 1.641 GB, free: 8.625 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat does not exist to compare? outputFormat=mat