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.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_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.945/1.945, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003494, allocations: 8 kB / 264 MB, free: 13.5 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09372/0.0941, allocations: 44.51 MB / 308.5 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.16/19.25, allocations: 6.53 GB / 6.831 GB, free: 20.54 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/19.25, allocations: 79.27 kB / 6.831 GB, free: 20.49 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.799/23.05, allocations: 0.6659 GB / 7.497 GB, free: 14.79 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.136e-06/23.05, allocations: 0 / 7.497 GB, free: 14.79 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.828e-05/23.05, allocations: 19.92 kB / 7.497 GB, free: 14.77 MB / 442.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.01346/23.06, allocations: 2.448 MB / 7.499 GB, free: 12.28 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/23.06, allocations: 8.031 kB / 7.499 GB, free: 12.27 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003286/23.06, allocations: 116.3 kB / 7.499 GB, free: 12.15 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000589/23.07, allocations: 83.19 kB / 7.5 GB, free: 12.07 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/23.07, allocations: 437.1 kB / 7.5 GB, free: 11.59 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.568e-05/23.07, allocations: 45.31 kB / 7.5 GB, free: 11.55 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001863/23.07, allocations: 75.84 kB / 7.5 GB, free: 11.48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002878/23.07, allocations: 0.719 MB / 7.501 GB, free: 10.75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.037e-05/23.07, allocations: 0 / 7.501 GB, free: 10.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/23.07, allocations: 28 kB / 7.501 GB, free: 10.72 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/23.07, allocations: 12 kB / 7.501 GB, free: 10.71 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003703/23.07, allocations: 0.8844 MB / 7.502 GB, free: 9.828 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4162/23.49, allocations: 12.63 MB / 7.514 GB, free: 27.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002503/23.49, allocations: 0.8828 MB / 7.515 GB, free: 26.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05573/23.55, allocations: 30.13 MB / 7.544 GB, free: 28.57 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.839e-05/23.55, allocations: 44.38 kB / 7.544 GB, free: 28.54 MB / 474.7 MB Notification: Performance of pre-optimization done (n=78): time 3.888e-06/23.55, allocations: 0.9844 kB / 7.544 GB, free: 28.54 MB / 474.7 MB Notification: Performance of matching and sorting (n=88): time 0.01859/23.57, allocations: 3.379 MB / 7.548 GB, free: 27.93 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.361e-05/23.57, allocations: 64.34 kB / 7.548 GB, free: 27.87 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006241/23.57, allocations: 316.7 kB / 7.548 GB, free: 27.77 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002821/23.57, allocations: 43.92 kB / 7.548 GB, free: 27.74 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/23.57, allocations: 289.7 kB / 7.548 GB, free: 27.55 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003871/23.57, allocations: 309.8 kB / 7.549 GB, free: 27.39 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.783e-05/23.57, allocations: 14.56 kB / 7.549 GB, free: 27.39 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001757/23.57, allocations: 343.5 kB / 7.549 GB, free: 27.08 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009781/23.57, allocations: 332.4 kB / 7.549 GB, free: 27.08 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001566/23.57, allocations: 446.8 kB / 7.55 GB, free: 27 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/23.57, allocations: 402.7 kB / 7.55 GB, free: 26.98 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.806e-06/23.57, allocations: 3.281 kB / 7.55 GB, free: 26.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.004035/23.58, allocations: 1.018 MB / 7.551 GB, free: 26.88 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/23.58, allocations: 4.812 kB / 7.551 GB, free: 26.88 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/23.58, allocations: 5.312 kB / 7.551 GB, free: 26.88 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001276/23.58, allocations: 174.9 kB / 7.551 GB, free: 26.85 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/23.58, allocations: 194.3 kB / 7.551 GB, free: 26.85 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004029/23.58, allocations: 3.921 MB / 7.555 GB, free: 23.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/23.59, allocations: 77.52 kB / 7.555 GB, free: 23.17 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001455/23.59, allocations: 46.88 kB / 7.555 GB, free: 23.17 MB / 474.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.0006332/23.59, allocations: 231.7 kB / 7.556 GB, free: 23.05 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000658/23.59, allocations: 58.22 kB / 7.556 GB, free: 23.03 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003687/23.59, allocations: 1.114 MB / 7.557 GB, free: 22.92 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/23.59, allocations: 9.688 kB / 7.557 GB, free: 22.92 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/23.59, allocations: 0 / 7.557 GB, free: 22.92 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003066/23.59, allocations: 1.353 MB / 7.558 GB, free: 22.25 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005854/23.6, allocations: 2.069 MB / 7.56 GB, free: 21.86 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/23.6, allocations: 0 / 7.56 GB, free: 21.86 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001522/23.6, allocations: 186 kB / 7.56 GB, free: 21.86 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002936/23.6, allocations: 303.7 kB / 7.561 GB, free: 21.84 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002392/23.6, allocations: 30.84 kB / 7.561 GB, free: 21.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001153/23.61, allocations: 1.302 MB / 7.562 GB, free: 20.66 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/23.61, allocations: 0 / 7.562 GB, free: 20.66 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0044/23.61, allocations: 1.507 MB / 7.563 GB, free: 20.36 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003916/23.61, allocations: 144.3 kB / 7.563 GB, free: 20.23 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001932/23.61, allocations: 20.38 kB / 7.563 GB, free: 20.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/23.61, allocations: 58.56 kB / 7.564 GB, free: 20.23 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/23.61, allocations: 72.72 kB / 7.564 GB, free: 20.22 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001436/23.61, allocations: 50.83 kB / 7.564 GB, free: 20.22 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004445/23.61, allocations: 264.5 kB / 7.564 GB, free: 20.14 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.81e-07/23.61, allocations: 0 / 7.564 GB, free: 20.14 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01112/23.62, allocations: 2.296 MB / 7.566 GB, free: 20.14 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.0242/23.65, allocations: 5.66 MB / 7.572 GB, free: 18.96 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003297/23.65, allocations: 1.144 MB / 7.573 GB, free: 18.71 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/23.65, allocations: 0 / 7.573 GB, free: 18.71 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001486/23.65, allocations: 0.5155 MB / 7.573 GB, free: 18.68 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003571/23.66, allocations: 396.1 kB / 7.574 GB, free: 18.67 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01784/23.67, allocations: 6.914 MB / 7.58 GB, free: 15.74 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006865/23.67, allocations: 0.9361 MB / 7.581 GB, free: 15.04 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007429/23.68, allocations: 253.8 kB / 7.582 GB, free: 15.03 MB / 474.7 MB Notification: Performance of SimCode: time 1.123e-06/23.68, allocations: 2.719 kB / 7.582 GB, free: 15.03 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.839/28.51, allocations: 71.17 MB / 7.651 GB, free: 6.535 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat does not exist to compare? outputFormat=mat