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.MoistAir2.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.MoistAir2,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.995/1.995, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003977/0.0003978, allocations: 16 kB / 264.1 MB, free: 3.488 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3048, allocations: 44.51 MB / 308.6 MB, free: 12.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 20.16/20.46, allocations: 6.53 GB / 6.831 GB, free: 101 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/20.46, allocations: 80.8 kB / 6.831 GB, free: 101 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.676/24.14, allocations: 0.6659 GB / 7.497 GB, free: 25.74 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.034e-06/24.14, allocations: 0 / 7.497 GB, free: 25.74 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.651e-05/24.14, allocations: 15.28 kB / 7.497 GB, free: 25.74 MB / 426.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.01128/24.15, allocations: 2.443 MB / 7.499 GB, free: 24.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/24.15, allocations: 14.53 kB / 7.499 GB, free: 24.29 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002461/24.15, allocations: 107.2 kB / 7.499 GB, free: 24.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005218/24.15, allocations: 90.3 kB / 7.5 GB, free: 24.22 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008551/24.15, allocations: 432.5 kB / 7.5 GB, free: 23.97 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.707e-05/24.15, allocations: 49.78 kB / 7.5 GB, free: 23.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/24.15, allocations: 59.47 kB / 7.5 GB, free: 23.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002421/24.16, allocations: 0.7138 MB / 7.501 GB, free: 23.92 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.564e-05/24.16, allocations: 3.906 kB / 7.501 GB, free: 23.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/24.16, allocations: 30.88 kB / 7.501 GB, free: 23.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/24.16, allocations: 14.03 kB / 7.501 GB, free: 23.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002457/24.16, allocations: 0.8822 MB / 7.502 GB, free: 23.91 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02102/24.18, allocations: 12.64 MB / 7.514 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002323/24.18, allocations: 0.8913 MB / 7.515 GB, free: 12.31 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06135/24.24, allocations: 30.13 MB / 7.544 GB, free: 13.89 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.047e-05/24.24, allocations: 48.91 kB / 7.544 GB, free: 13.85 MB / 458.7 MB Notification: Performance of pre-optimization done (n=78): time 5.671e-06/24.24, allocations: 0 / 7.544 GB, free: 13.85 MB / 458.7 MB Notification: Performance of matching and sorting (n=88): time 0.0239/24.27, allocations: 3.378 MB / 7.548 GB, free: 13.14 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.309e-05/24.27, allocations: 67.31 kB / 7.548 GB, free: 13.08 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007776/24.27, allocations: 320.7 kB / 7.548 GB, free: 12.98 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003143/24.27, allocations: 44.27 kB / 7.548 GB, free: 12.95 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002579/24.27, allocations: 240.3 kB / 7.548 GB, free: 12.8 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003974/24.27, allocations: 303.7 kB / 7.549 GB, free: 12.61 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/24.27, allocations: 17.94 kB / 7.549 GB, free: 12.61 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002315/24.27, allocations: 367 kB / 7.549 GB, free: 12.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001235/24.27, allocations: 330 kB / 7.549 GB, free: 12.29 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001919/24.27, allocations: 445.9 kB / 7.55 GB, free: 12.21 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001998/24.28, allocations: 401.3 kB / 7.55 GB, free: 12.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/24.28, allocations: 3.094 kB / 7.55 GB, free: 12.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.005711/24.28, allocations: 1.044 MB / 7.551 GB, free: 12.06 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.117e-05/24.28, allocations: 7.688 kB / 7.551 GB, free: 12.06 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/24.28, allocations: 0 / 7.551 GB, free: 12.06 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00178/24.28, allocations: 173.2 kB / 7.551 GB, free: 12.03 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002082/24.29, allocations: 186.1 kB / 7.551 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005067/24.29, allocations: 3.928 MB / 7.555 GB, free: 8.328 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/24.29, allocations: 66.66 kB / 7.555 GB, free: 8.316 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/24.29, allocations: 46.64 kB / 7.555 GB, free: 8.312 MB / 458.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.0005899/24.29, allocations: 228.1 kB / 7.556 GB, free: 8.188 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005626/24.29, allocations: 65 kB / 7.556 GB, free: 8.164 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003548/24.3, allocations: 1.119 MB / 7.557 GB, free: 8.035 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/24.3, allocations: 11.28 kB / 7.557 GB, free: 8.035 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/24.3, allocations: 0 / 7.557 GB, free: 8.035 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003206/24.3, allocations: 1.341 MB / 7.558 GB, free: 7.367 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006139/24.31, allocations: 2.076 MB / 7.56 GB, free: 22.96 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/24.31, allocations: 3.953 kB / 7.56 GB, free: 22.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001501/24.31, allocations: 191.1 kB / 7.56 GB, free: 22.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002919/24.31, allocations: 293.6 kB / 7.561 GB, free: 22.92 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002283/24.31, allocations: 37.3 kB / 7.561 GB, free: 22.92 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/24.31, allocations: 1.3 MB / 7.562 GB, free: 21.74 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/24.31, allocations: 0 / 7.562 GB, free: 21.74 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004434/24.32, allocations: 1.518 MB / 7.563 GB, free: 21.16 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003565/24.32, allocations: 142.1 kB / 7.564 GB, free: 21.04 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/24.32, allocations: 20.88 kB / 7.564 GB, free: 21.02 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/24.32, allocations: 57.5 kB / 7.564 GB, free: 21 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/24.32, allocations: 66.91 kB / 7.564 GB, free: 20.99 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001436/24.32, allocations: 50.56 kB / 7.564 GB, free: 20.98 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004663/24.32, allocations: 259.2 kB / 7.564 GB, free: 20.85 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.91e-07/24.32, allocations: 0 / 7.564 GB, free: 20.85 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0112/24.33, allocations: 2.296 MB / 7.566 GB, free: 20.21 MB / 474.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.02405/24.35, allocations: 5.665 MB / 7.572 GB, free: 17.97 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003309/24.36, allocations: 1.141 MB / 7.573 GB, free: 17.42 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/24.36, allocations: 0 / 7.573 GB, free: 17.42 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001493/24.36, allocations: 0.5088 MB / 7.573 GB, free: 17.24 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003555/24.36, allocations: 391.3 kB / 7.574 GB, free: 17.17 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01735/24.38, allocations: 6.867 MB / 7.58 GB, free: 13.21 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006572/24.38, allocations: 0.936 MB / 7.581 GB, free: 12.49 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001538/24.38, allocations: 197.4 kB / 7.582 GB, free: 12.46 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005845/24.38, allocations: 236.4 kB / 7.582 GB, free: 12.31 MB / 474.7 MB Notification: Performance of SimCode: time 1.152e-06/24.38, allocations: 0 / 7.582 GB, free: 12.31 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6074/24.99, allocations: 86.3 MB / 7.666 GB, free: 60.66 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002403/24.99, allocations: 242.9 kB / 7.666 GB, free: 60.37 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.923/31.91, allocations: 0 / 7.666 GB, free: 60.37 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat does not exist to compare? outputFormat=mat