Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir.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.TestOnly.MixIdealGasAir,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.025/2.025, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.0003698, allocations: 8 kB / 264.1 MB, free: 3.488 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3159, allocations: 44.51 MB / 308.6 MB, free: 12.78 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.369/2.684, allocations: 0.7251 GB / 1.026 GB, free: 115.1 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/2.685, allocations: 69.27 kB / 1.027 GB, free: 115.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1434/2.828, allocations: 40.01 MB / 1.066 GB, free: 109.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.673e-06/2.828, allocations: 4 kB / 1.066 GB, free: 109.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.316e-05/2.828, allocations: 3.906 kB / 1.066 GB, free: 109.8 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001118/2.829, allocations: 0.5149 MB / 1.066 GB, free: 109.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/2.83, allocations: 7.812 kB / 1.066 GB, free: 109.3 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.974e-05/2.83, allocations: 57.36 kB / 1.066 GB, free: 109.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004963/2.835, allocations: 370.2 kB / 1.067 GB, free: 109.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005486/2.835, allocations: 265.4 kB / 1.067 GB, free: 108.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/2.835, allocations: 11.31 kB / 1.067 GB, free: 108.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/2.835, allocations: 26.77 kB / 1.067 GB, free: 108.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/2.837, allocations: 478.2 kB / 1.067 GB, free: 108.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/2.837, allocations: 0 / 1.067 GB, free: 108.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.575e-05/2.837, allocations: 11.12 kB / 1.067 GB, free: 108.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/2.837, allocations: 3.969 kB / 1.067 GB, free: 108.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00167/2.839, allocations: 0.5092 MB / 1.068 GB, free: 108.6 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.003404/2.842, allocations: 0.9893 MB / 1.069 GB, free: 108 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000891/2.843, allocations: 291.5 kB / 1.069 GB, free: 107.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001687/2.845, allocations: 0.6513 MB / 1.07 GB, free: 107.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/2.845, allocations: 38.72 kB / 1.07 GB, free: 107.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 4.388e-06/2.845, allocations: 0 / 1.07 GB, free: 107.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.001483/2.846, allocations: 403.1 kB / 1.07 GB, free: 107.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/2.846, allocations: 84.25 kB / 1.07 GB, free: 107 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.693e-05/2.847, allocations: 106.2 kB / 1.07 GB, free: 106.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.205e-05/2.847, allocations: 32.39 kB / 1.07 GB, free: 106.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.589e-05/2.847, allocations: 119.4 kB / 1.07 GB, free: 106.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.825e-05/2.847, allocations: 101.4 kB / 1.07 GB, free: 106.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/2.847, allocations: 10.28 kB / 1.071 GB, free: 106.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.703e-05/2.847, allocations: 326 kB / 1.071 GB, free: 106.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003705/2.847, allocations: 114.7 kB / 1.071 GB, free: 106.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004174/2.848, allocations: 209.9 kB / 1.071 GB, free: 106.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004419/2.848, allocations: 143.3 kB / 1.071 GB, free: 106.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/2.848, allocations: 0 / 1.071 GB, free: 106.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0011/2.849, allocations: 368.2 kB / 1.072 GB, free: 106.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/2.849, allocations: 7.75 kB / 1.072 GB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/2.849, allocations: 4.312 kB / 1.072 GB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.702e-05/2.849, allocations: 7.75 kB / 1.072 GB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006821/2.85, allocations: 77.52 kB / 1.072 GB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/2.85, allocations: 3.875 kB / 1.072 GB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004519/2.851, allocations: 31.2 kB / 1.072 GB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.51e-05/2.851, allocations: 22.98 kB / 1.072 GB, free: 106.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000224/2.851, allocations: 140.3 kB / 1.072 GB, free: 106 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/2.851, allocations: 19.44 kB / 1.072 GB, free: 106 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/2.852, allocations: 370.8 kB / 1.072 GB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/2.852, allocations: 3.75 kB / 1.072 GB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/2.852, allocations: 0 / 1.072 GB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/2.852, allocations: 7.859 kB / 1.072 GB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008861/2.853, allocations: 357.8 kB / 1.073 GB, free: 105.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/2.853, allocations: 4 kB / 1.073 GB, free: 105.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006731/2.854, allocations: 64.58 kB / 1.073 GB, free: 105.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/2.854, allocations: 0 / 1.073 GB, free: 105.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.737e-05/2.854, allocations: 19.05 kB / 1.073 GB, free: 105.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/2.854, allocations: 0 / 1.073 GB, free: 105.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/2.854, allocations: 0 / 1.073 GB, free: 105.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/2.856, allocations: 0.5614 MB / 1.073 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.968e-05/2.856, allocations: 104.6 kB / 1.073 GB, free: 105.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.055e-05/2.856, allocations: 3.938 kB / 1.073 GB, free: 105.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005842/2.856, allocations: 15.58 kB / 1.073 GB, free: 105.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/2.856, allocations: 23.55 kB / 1.073 GB, free: 105.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.874e-05/2.856, allocations: 19.36 kB / 1.073 GB, free: 105.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.53e-05/2.856, allocations: 86.91 kB / 1.073 GB, free: 105.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.61e-07/2.856, allocations: 0 / 1.073 GB, free: 105.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001367/2.858, allocations: 265.8 kB / 1.074 GB, free: 105 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium.p,medium.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2]) * 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 (29): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003769/2.862, allocations: 1.839 MB / 1.076 GB, free: 103.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001077/2.863, allocations: 288.9 kB / 1.076 GB, free: 103.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/2.863, allocations: 0 / 1.076 GB, free: 103.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004132/2.863, allocations: 154.2 kB / 1.076 GB, free: 103.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009463/2.864, allocations: 77.8 kB / 1.076 GB, free: 103.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004337/2.869, allocations: 3.335 MB / 1.079 GB, free: 100.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/2.869, allocations: 0.7376 MB / 1.08 GB, free: 100.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008668/2.87, allocations: 84.27 kB / 1.08 GB, free: 100.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002458/2.87, allocations: 61.47 kB / 1.08 GB, free: 100.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.172e-06/2.87, allocations: 4 kB / 1.08 GB, free: 100.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0528/2.923, allocations: 17.8 MB / 1.098 GB, free: 84.56 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002829/2.923, allocations: 173.3 kB / 1.098 GB, free: 84.32 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.266/6.189, allocations: 0 / 1.098 GB, free: 84.32 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat does not exist to compare? outputFormat=mat