Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.782/1.782, allocations: 171.1 MB / 186.1 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.00037, allocations: 8 kB / 233.4 MB, free: 2.27 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08803/0.08845, allocations: 38.78 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.43/19.52, allocations: 6.524 GB / 6.789 GB, free: 62.13 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/19.52, allocations: 75.28 kB / 6.789 GB, free: 62.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.912/23.43, allocations: 0.6645 GB / 7.454 GB, free: 38.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.725e-06/23.43, allocations: 2 kB / 7.454 GB, free: 38.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.129e-05/23.43, allocations: 16.06 kB / 7.454 GB, free: 38.38 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.01239/23.44, allocations: 2.445 MB / 7.456 GB, free: 37.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/23.44, allocations: 14.06 kB / 7.456 GB, free: 37.29 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003195/23.44, allocations: 107.6 kB / 7.456 GB, free: 37.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005425/23.44, allocations: 81.16 kB / 7.456 GB, free: 37.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009494/23.44, allocations: 444.3 kB / 7.457 GB, free: 36.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.161e-05/23.44, allocations: 45.5 kB / 7.457 GB, free: 36.97 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001725/23.44, allocations: 65.81 kB / 7.457 GB, free: 36.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002878/23.45, allocations: 0.7143 MB / 7.458 GB, free: 36.92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.326e-05/23.45, allocations: 2.625 kB / 7.458 GB, free: 36.92 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/23.45, allocations: 27.78 kB / 7.458 GB, free: 36.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/23.45, allocations: 19.28 kB / 7.458 GB, free: 36.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002828/23.45, allocations: 0.8743 MB / 7.459 GB, free: 36.92 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02328/23.47, allocations: 12.39 MB / 7.471 GB, free: 25.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002642/23.48, allocations: 0.8957 MB / 7.472 GB, free: 25.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05568/23.53, allocations: 30.13 MB / 7.501 GB, free: 27.24 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.878e-05/23.53, allocations: 47.94 kB / 7.501 GB, free: 27.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=78): time 4.218e-06/23.53, allocations: 0 / 7.501 GB, free: 27.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=88): time 0.01805/23.55, allocations: 3.37 MB / 7.504 GB, free: 26.54 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/23.55, allocations: 66.72 kB / 7.504 GB, free: 26.48 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005635/23.55, allocations: 317.9 kB / 7.505 GB, free: 26.37 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002217/23.55, allocations: 46.2 kB / 7.505 GB, free: 26.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/23.55, allocations: 243.7 kB / 7.505 GB, free: 26.19 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002778/23.55, allocations: 305.3 kB / 7.505 GB, free: 26 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.492e-05/23.55, allocations: 14.84 kB / 7.505 GB, free: 26 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001675/23.55, allocations: 369.2 kB / 7.506 GB, free: 25.68 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008657/23.55, allocations: 332.1 kB / 7.506 GB, free: 25.68 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/23.55, allocations: 452 kB / 7.506 GB, free: 25.59 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/23.56, allocations: 404.2 kB / 7.507 GB, free: 25.58 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/23.56, allocations: 3.594 kB / 7.507 GB, free: 25.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003779/23.56, allocations: 1.037 MB / 7.508 GB, free: 25.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/23.56, allocations: 6.625 kB / 7.508 GB, free: 25.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/23.56, allocations: 6.906 kB / 7.508 GB, free: 25.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001273/23.56, allocations: 167.8 kB / 7.508 GB, free: 25.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/23.56, allocations: 184.5 kB / 7.508 GB, free: 25.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003826/23.57, allocations: 3.933 MB / 7.512 GB, free: 21.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/23.57, allocations: 60.86 kB / 7.512 GB, free: 21.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/23.57, allocations: 46.78 kB / 7.512 GB, free: 21.75 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 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.0006539/23.57, allocations: 232.3 kB / 7.512 GB, free: 21.64 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006143/23.57, allocations: 63.91 kB / 7.512 GB, free: 21.61 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003576/23.57, allocations: 1.114 MB / 7.513 GB, free: 21.48 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/23.57, allocations: 14.72 kB / 7.513 GB, free: 21.48 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/23.57, allocations: 0 / 7.513 GB, free: 21.48 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003016/23.58, allocations: 1.35 MB / 7.515 GB, free: 20.82 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005748/23.58, allocations: 2.065 MB / 7.517 GB, free: 20.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/23.58, allocations: 0.7188 kB / 7.517 GB, free: 20.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001477/23.58, allocations: 186.5 kB / 7.517 GB, free: 20.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002877/23.59, allocations: 306.3 kB / 7.517 GB, free: 20.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002495/23.59, allocations: 34.8 kB / 7.517 GB, free: 20.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/23.59, allocations: 1.3 MB / 7.519 GB, free: 19.23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/23.59, allocations: 0 / 7.519 GB, free: 19.23 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00443/23.59, allocations: 1.512 MB / 7.52 GB, free: 18.91 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003751/23.59, allocations: 138.4 kB / 7.52 GB, free: 18.79 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001937/23.59, allocations: 24.12 kB / 7.52 GB, free: 18.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/23.59, allocations: 60.19 kB / 7.52 GB, free: 18.79 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/23.59, allocations: 57.47 kB / 7.52 GB, free: 18.78 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001516/23.59, allocations: 53.23 kB / 7.52 GB, free: 18.78 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000461/23.59, allocations: 262 kB / 7.521 GB, free: 18.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.9e-07/23.59, allocations: 0 / 7.521 GB, free: 18.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01186/23.61, allocations: 2.298 MB / 7.523 GB, free: 18.23 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02487/23.63, allocations: 5.654 MB / 7.528 GB, free: 16.57 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003784/23.63, allocations: 1.145 MB / 7.53 GB, free: 16.32 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/23.63, allocations: 3 kB / 7.53 GB, free: 16.32 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001675/23.64, allocations: 0.5149 MB / 7.53 GB, free: 16.29 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003504/23.64, allocations: 388.8 kB / 7.53 GB, free: 16.27 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01739/23.66, allocations: 6.877 MB / 7.537 GB, free: 13.23 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006284/23.66, allocations: 0.9372 MB / 7.538 GB, free: 12.53 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001429/23.66, allocations: 193 kB / 7.538 GB, free: 12.51 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005771/23.66, allocations: 233.2 kB / 7.538 GB, free: 12.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.132e-06/23.66, allocations: 1.281 kB / 7.538 GB, free: 12.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.518/24.18, allocations: 86.28 MB / 7.623 GB, free: 65.53 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002895/24.18, allocations: 254.4 kB / 7.623 GB, free: 65.24 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.924/31.1, allocations: 3.594 kB / 7.623 GB, free: 65.24 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat does not exist to compare? outputFormat=mat