Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.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.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.647/1.647, allocations: 171.2 MB / 186.1 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003764, allocations: 8 kB / 233.4 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08072/0.08113, allocations: 38.76 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8374/0.9186, allocations: 255.7 MB / 0.5154 GB, free: 55.64 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003475/0.919, allocations: 90.94 kB / 0.5155 GB, free: 55.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4905/1.409, allocations: 84.41 MB / 0.598 GB, free: 112.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.314e-06/1.41, allocations: 0 / 0.598 GB, free: 112.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.408e-05/1.41, allocations: 3.969 kB / 0.598 GB, free: 112.8 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009174/1.41, allocations: 0.552 MB / 0.5985 GB, free: 112.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/1.411, allocations: 13.88 kB / 0.5985 GB, free: 112.3 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001046/1.411, allocations: 61.45 kB / 0.5986 GB, free: 112.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003316/1.411, allocations: 34.03 kB / 0.5986 GB, free: 112.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004316/1.411, allocations: 287.7 kB / 0.5989 GB, free: 112 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/1.411, allocations: 20.16 kB / 0.5989 GB, free: 112 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.389e-05/1.412, allocations: 25.92 kB / 0.5989 GB, free: 112 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006304/1.412, allocations: 308.8 kB / 0.5992 GB, free: 111.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/1.412, allocations: 3.938 kB / 0.5992 GB, free: 111.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.099e-05/1.412, allocations: 15.22 kB / 0.5992 GB, free: 111.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/1.412, allocations: 11.09 kB / 0.5993 GB, free: 111.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004205/1.413, allocations: 182.2 kB / 0.5994 GB, free: 111.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002264/1.415, allocations: 1.73 MB / 0.6011 GB, free: 110.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/1.415, allocations: 139.1 kB / 0.6012 GB, free: 110.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/1.416, allocations: 165 kB / 0.6014 GB, free: 110.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/1.416, allocations: 37.03 kB / 0.6014 GB, free: 110.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 3.076e-06/1.416, allocations: 0 / 0.6014 GB, free: 110.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.002401/1.418, allocations: 0.797 MB / 0.6022 GB, free: 109.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/1.418, allocations: 53.23 kB / 0.6023 GB, free: 109.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003237/1.418, allocations: 251.7 kB / 0.6025 GB, free: 109.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/1.418, allocations: 32.52 kB / 0.6025 GB, free: 109.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/1.419, allocations: 201.1 kB / 0.6027 GB, free: 109.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.354e-05/1.419, allocations: 68.5 kB / 0.6028 GB, free: 109.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.015e-05/1.419, allocations: 9.469 kB / 0.6028 GB, free: 109.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/1.419, allocations: 342.1 kB / 0.6031 GB, free: 109.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/1.419, allocations: 67.72 kB / 0.6032 GB, free: 109.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/1.419, allocations: 195.3 kB / 0.6034 GB, free: 109 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002333/1.419, allocations: 105.6 kB / 0.6035 GB, free: 109 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/1.419, allocations: 2.438 kB / 0.6035 GB, free: 109 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007346/1.42, allocations: 329.1 kB / 0.6038 GB, free: 108.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/1.42, allocations: 8.312 kB / 0.6038 GB, free: 108.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/1.42, allocations: 3.906 kB / 0.6038 GB, free: 108.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001235/1.42, allocations: 27.22 kB / 0.6038 GB, free: 108.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005308/1.421, allocations: 88.61 kB / 0.6039 GB, free: 108.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/1.422, allocations: 1.296 MB / 0.6052 GB, free: 107.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004069/1.422, allocations: 17.59 kB / 0.6052 GB, free: 107.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.951e-05/1.423, allocations: 14.34 kB / 0.6052 GB, free: 107.5 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (41): * Single equations (assignments): 40 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002541/1.423, allocations: 162 kB / 0.6054 GB, free: 107.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.205e-05/1.423, allocations: 30.66 kB / 0.6054 GB, free: 107.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004947/1.423, allocations: 202.5 kB / 0.6056 GB, free: 107.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/1.423, allocations: 6.281 kB / 0.6056 GB, free: 107.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/1.423, allocations: 0 / 0.6056 GB, free: 107.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000403/1.424, allocations: 481.7 kB / 0.6061 GB, free: 106.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/1.425, allocations: 0.7714 MB / 0.6068 GB, free: 106.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/1.425, allocations: 0 / 0.6068 GB, free: 106.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003122/1.426, allocations: 46.2 kB / 0.6069 GB, free: 106.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.258e-05/1.426, allocations: 9.328 kB / 0.6069 GB, free: 106.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/1.426, allocations: 7.938 kB / 0.6069 GB, free: 106.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.543e-06/1.426, allocations: 6 kB / 0.6069 GB, free: 106.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/1.426, allocations: 3.797 kB / 0.6069 GB, free: 106.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006258/1.426, allocations: 0.4942 MB / 0.6074 GB, free: 105.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/1.427, allocations: 102.8 kB / 0.6075 GB, free: 105.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.515e-05/1.427, allocations: 9.891 kB / 0.6075 GB, free: 105.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004386/1.427, allocations: 21.2 kB / 0.6075 GB, free: 105.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/1.427, allocations: 21.5 kB / 0.6075 GB, free: 105.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.786e-05/1.427, allocations: 18.14 kB / 0.6075 GB, free: 105.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002544/1.427, allocations: 194.3 kB / 0.6077 GB, free: 105.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.427, allocations: 0 / 0.6077 GB, free: 105.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006643/1.428, allocations: 115.4 kB / 0.6078 GB, free: 105.4 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (volume.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 (21): * Single equations (assignments): 21 * 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.001187/1.429, allocations: 1.782 MB / 0.6096 GB, free: 103.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006261/1.43, allocations: 304.1 kB / 0.6099 GB, free: 103.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.43, allocations: 0 / 0.6099 GB, free: 103.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001532/1.43, allocations: 75.83 kB / 0.6099 GB, free: 103.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/1.432, allocations: 161.7 kB / 0.6101 GB, free: 103.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003524/1.435, allocations: 4.302 MB / 0.6143 GB, free: 99.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/1.435, allocations: 0.7709 MB / 0.615 GB, free: 99.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004751/1.436, allocations: 63.12 kB / 0.6151 GB, free: 99.15 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/1.436, allocations: 88.73 kB / 0.6152 GB, free: 99.09 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/1.436, allocations: 0 / 0.6152 GB, free: 99.09 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03515/1.471, allocations: 9.82 MB / 0.6248 GB, free: 95.59 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002715/1.472, allocations: 244.7 kB / 0.625 GB, free: 95.34 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.977/4.449, allocations: 0 / 0.625 GB, free: 95.34 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat