Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.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.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.16/2.16, allocations: 194.9 MB / 211.1 MB, free: 8.547 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004615/0.0004617, allocations: 8 kB / 264.1 MB, free: 3.473 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3052, allocations: 44.5 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.61/19.91, allocations: 6.611 GB / 6.913 GB, free: 34.53 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/19.92, allocations: 79.58 kB / 6.913 GB, free: 34.49 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.091/21.01, allocations: 191.4 MB / 7.1 GB, free: 15.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.154e-06/21.01, allocations: 4 kB / 7.1 GB, free: 15.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.509e-05/21.01, allocations: 4 kB / 7.1 GB, free: 15.1 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.007905/21.01, allocations: 1.461 MB / 7.101 GB, free: 13.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/21.01, allocations: 8.031 kB / 7.101 GB, free: 13.58 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.912e-05/21.01, allocations: 50.55 kB / 7.101 GB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/21.01, allocations: 23.81 kB / 7.101 GB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/21.02, allocations: 206.9 kB / 7.101 GB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/21.02, allocations: 12.33 kB / 7.101 GB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.234e-05/21.02, allocations: 20 kB / 7.101 GB, free: 13.22 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/21.02, allocations: 265.4 kB / 7.102 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/21.02, allocations: 0 / 7.102 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.327e-05/21.02, allocations: 4 kB / 7.102 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/21.02, allocations: 8 kB / 7.102 GB, free: 12.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/21.02, allocations: 283.7 kB / 7.102 GB, free: 12.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.001843/21.02, allocations: 0.6751 MB / 7.103 GB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/21.02, allocations: 318.2 kB / 7.103 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3221/21.34, allocations: 10.04 MB / 7.113 GB, free: 56.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.44e-05/21.34, allocations: 46.17 kB / 7.113 GB, free: 56.67 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 3.587e-06/21.34, allocations: 2.078 kB / 7.113 GB, free: 56.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.005248/21.35, allocations: 0.6849 MB / 7.113 GB, free: 56.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/21.35, allocations: 84.59 kB / 7.113 GB, free: 56.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/21.35, allocations: 115.4 kB / 7.114 GB, free: 56.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.615e-05/21.35, allocations: 37.48 kB / 7.114 GB, free: 56.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.963e-05/21.35, allocations: 106.7 kB / 7.114 GB, free: 56.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/21.35, allocations: 126.2 kB / 7.114 GB, free: 56.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/21.35, allocations: 5.438 kB / 7.114 GB, free: 56.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.658e-05/21.35, allocations: 329.6 kB / 7.114 GB, free: 55.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006677/21.35, allocations: 137.3 kB / 7.114 GB, free: 55.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007936/21.35, allocations: 202.1 kB / 7.114 GB, free: 55.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008164/21.35, allocations: 152.4 kB / 7.115 GB, free: 55.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/21.35, allocations: 3.812 kB / 7.115 GB, free: 55.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001914/21.35, allocations: 418.5 kB / 7.115 GB, free: 55.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/21.35, allocations: 7.5 kB / 7.115 GB, free: 55.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/21.35, allocations: 6.406 kB / 7.115 GB, free: 55.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.213e-05/21.35, allocations: 2.562 kB / 7.115 GB, free: 55.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008482/21.35, allocations: 88.02 kB / 7.115 GB, free: 55.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/21.35, allocations: 3.906 kB / 7.115 GB, free: 55.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005521/21.35, allocations: 37.05 kB / 7.115 GB, free: 55.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-05/21.35, allocations: 20.66 kB / 7.115 GB, free: 55.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * 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.0002062/21.35, allocations: 143.9 kB / 7.115 GB, free: 55.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/21.35, allocations: 17.31 kB / 7.115 GB, free: 55.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007504/21.36, allocations: 193.6 kB / 7.115 GB, free: 55.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/21.36, allocations: 3.438 kB / 7.115 GB, free: 55.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/21.36, allocations: 3.531 kB / 7.115 GB, free: 55.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/21.36, allocations: 3.562 kB / 7.115 GB, free: 55.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002939/21.36, allocations: 0.9629 MB / 7.116 GB, free: 55.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/21.36, allocations: 0 / 7.116 GB, free: 55.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007886/21.36, allocations: 86.11 kB / 7.117 GB, free: 55.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.908e-06/21.36, allocations: 3.625 kB / 7.117 GB, free: 55.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.261e-05/21.36, allocations: 11.44 kB / 7.117 GB, free: 55.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.947e-06/21.36, allocations: 9.062 kB / 7.117 GB, free: 55.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/21.36, allocations: 3.844 kB / 7.117 GB, free: 55.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00243/21.36, allocations: 0.7942 MB / 7.117 GB, free: 54.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001989/21.36, allocations: 126.6 kB / 7.117 GB, free: 54.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.436e-05/21.36, allocations: 9.75 kB / 7.117 GB, free: 54.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005731/21.36, allocations: 21.77 kB / 7.117 GB, free: 54.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.944e-05/21.36, allocations: 30.91 kB / 7.117 GB, free: 54.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.366e-05/21.36, allocations: 25.16 kB / 7.118 GB, free: 54.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.595e-05/21.36, allocations: 98.08 kB / 7.118 GB, free: 54.69 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.9e-07/21.36, allocations: 0 / 7.118 GB, free: 54.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005748/21.37, allocations: 1.083 MB / 7.119 GB, free: 54.69 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (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 Backend phase and start with SimCode phase: time 0.01386/21.38, allocations: 3.245 MB / 7.122 GB, free: 53.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001733/21.38, allocations: 355.2 kB / 7.122 GB, free: 53.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/21.38, allocations: 0 / 7.122 GB, free: 53.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007597/21.39, allocations: 182.4 kB / 7.122 GB, free: 53.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009944/21.39, allocations: 102.4 kB / 7.122 GB, free: 53.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008446/21.39, allocations: 3.176 MB / 7.126 GB, free: 51.58 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/21.4, allocations: 0.7498 MB / 7.126 GB, free: 50.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007487/21.4, allocations: 74.17 kB / 7.126 GB, free: 50.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002894/21.4, allocations: 75.34 kB / 7.126 GB, free: 50.87 MB / 410.7 MB Notification: Performance of SimCode: time 1.273e-06/21.4, allocations: 0 / 7.126 GB, free: 50.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09497/21.49, allocations: 36.24 MB / 7.162 GB, free: 49.82 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000292/21.49, allocations: 221.1 kB / 7.162 GB, free: 49.58 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.415/25.91, allocations: 0 / 7.162 GB, free: 49.58 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat does not exist to compare? outputFormat=mat