Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica_Media_Examples_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.148/2.148, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005099/0.0005101, allocations: 11.98 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09854/0.09911, allocations: 44.5 MB / 308.5 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.338/2.437, allocations: 0.7251 GB / 1.026 GB, free: 105.8 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/2.437, allocations: 77.97 kB / 1.026 GB, free: 105.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.144/2.581, allocations: 40.01 MB / 1.066 GB, free: 77.58 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.098e-06/2.581, allocations: 4 kB / 1.066 GB, free: 77.58 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.608e-05/2.581, allocations: 0 / 1.066 GB, free: 77.58 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.001293/2.583, allocations: 0.5169 MB / 1.066 GB, free: 77.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/2.583, allocations: 8.031 kB / 1.066 GB, free: 77.02 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000111/2.583, allocations: 53.36 kB / 1.066 GB, free: 76.97 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00508/2.588, allocations: 370.8 kB / 1.066 GB, free: 76.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005577/2.589, allocations: 261.9 kB / 1.067 GB, free: 76.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/2.589, allocations: 15.75 kB / 1.067 GB, free: 76.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/2.589, allocations: 22.83 kB / 1.067 GB, free: 76.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/2.59, allocations: 485.1 kB / 1.067 GB, free: 76.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/2.59, allocations: 0 / 1.067 GB, free: 76.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.28e-05/2.59, allocations: 7.75 kB / 1.067 GB, free: 76.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/2.591, allocations: 8 kB / 1.067 GB, free: 76 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001681/2.592, allocations: 0.5029 MB / 1.068 GB, free: 75.66 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.00319/2.595, allocations: 0.9924 MB / 1.069 GB, free: 74.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008949/2.596, allocations: 288.5 kB / 1.069 GB, free: 74.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001629/2.598, allocations: 0.6532 MB / 1.07 GB, free: 73.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.5e-05/2.598, allocations: 34.56 kB / 1.07 GB, free: 73.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 3.517e-06/2.598, allocations: 0 / 1.07 GB, free: 73.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.001516/2.6, allocations: 395.2 kB / 1.07 GB, free: 73.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/2.6, allocations: 89.06 kB / 1.07 GB, free: 73.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.216e-05/2.6, allocations: 104.6 kB / 1.07 GB, free: 73.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.505e-05/2.6, allocations: 37.52 kB / 1.07 GB, free: 73.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.963e-05/2.6, allocations: 178.3 kB / 1.07 GB, free: 73.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/2.6, allocations: 112.4 kB / 1.071 GB, free: 73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/2.6, allocations: 7 kB / 1.071 GB, free: 73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.221e-05/2.6, allocations: 330.3 kB / 1.071 GB, free: 72.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003656/2.601, allocations: 111.7 kB / 1.071 GB, free: 72.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004099/2.601, allocations: 202.5 kB / 1.071 GB, free: 72.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004441/2.601, allocations: 135.8 kB / 1.071 GB, free: 72.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/2.601, allocations: 4 kB / 1.071 GB, free: 72.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001114/2.603, allocations: 368.2 kB / 1.072 GB, free: 72.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/2.603, allocations: 8.688 kB / 1.072 GB, free: 72.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/2.603, allocations: 4 kB / 1.072 GB, free: 72.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-05/2.603, allocations: 4 kB / 1.072 GB, free: 72.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006685/2.603, allocations: 79.77 kB / 1.072 GB, free: 71.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/2.603, allocations: 4 kB / 1.072 GB, free: 71.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004731/2.604, allocations: 39.53 kB / 1.072 GB, free: 71.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-05/2.604, allocations: 19.75 kB / 1.072 GB, free: 71.93 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.0002076/2.604, allocations: 140.9 kB / 1.072 GB, free: 71.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/2.604, allocations: 15.81 kB / 1.072 GB, free: 71.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/2.606, allocations: 379.1 kB / 1.072 GB, free: 71.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/2.606, allocations: 4 kB / 1.072 GB, free: 71.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/2.606, allocations: 0 / 1.072 GB, free: 71.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/2.606, allocations: 0 / 1.072 GB, free: 71.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008607/2.607, allocations: 372.8 kB / 1.073 GB, free: 71.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/2.607, allocations: 0 / 1.073 GB, free: 71.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000659/2.607, allocations: 55.91 kB / 1.073 GB, free: 71.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/2.607, allocations: 3.938 kB / 1.073 GB, free: 71.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-05/2.607, allocations: 11.86 kB / 1.073 GB, free: 71.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/2.607, allocations: 4 kB / 1.073 GB, free: 71.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/2.607, allocations: 0 / 1.073 GB, free: 71.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/2.609, allocations: 0.5746 MB / 1.073 GB, free: 70.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.731e-05/2.609, allocations: 92.95 kB / 1.073 GB, free: 70.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.288e-05/2.609, allocations: 7.922 kB / 1.073 GB, free: 70.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000555/2.609, allocations: 15.42 kB / 1.073 GB, free: 70.47 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/2.609, allocations: 19.94 kB / 1.073 GB, free: 70.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.564e-05/2.61, allocations: 19.86 kB / 1.073 GB, free: 70.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.43e-05/2.61, allocations: 86.83 kB / 1.074 GB, free: 70.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/2.61, allocations: 4 kB / 1.074 GB, free: 70.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001342/2.611, allocations: 262.3 kB / 1.074 GB, free: 70.12 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.003682/2.615, allocations: 1.839 MB / 1.076 GB, free: 68.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009731/2.616, allocations: 296 kB / 1.076 GB, free: 68.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/2.616, allocations: 8.562 kB / 1.076 GB, free: 68.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004171/2.616, allocations: 151.5 kB / 1.076 GB, free: 68.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009131/2.617, allocations: 83.12 kB / 1.076 GB, free: 67.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004208/2.621, allocations: 3.361 MB / 1.079 GB, free: 64.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/2.622, allocations: 0.7401 MB / 1.08 GB, free: 63.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003417/2.622, allocations: 64.28 kB / 1.08 GB, free: 63.91 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/2.622, allocations: 0 / 1.08 GB, free: 63.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.774/5.396, allocations: 9.95 MB / 1.09 GB, free: 53.98 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat does not exist to compare? outputFormat=mat