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.WaterIF97_pT.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.WaterIF97_pT,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.677/1.677, allocations: 171.1 MB / 186.1 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.0003678, allocations: 12 kB / 233.4 MB, free: 2.273 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09461/0.09503, allocations: 38.77 MB / 272.1 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.659/7.754, allocations: 2.465 GB / 2.73 GB, free: 61.55 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004111/7.754, allocations: 87.75 kB / 2.73 GB, free: 61.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.596/9.35, allocations: 290 MB / 3.014 GB, free: 41.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.375e-06/9.35, allocations: 0 / 3.014 GB, free: 41.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.547e-05/9.35, allocations: 16 kB / 3.014 GB, free: 41.7 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.003365/9.354, allocations: 0.9294 MB / 3.015 GB, free: 41.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/9.354, allocations: 7.781 kB / 3.015 GB, free: 41.07 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001176/9.354, allocations: 73.34 kB / 3.015 GB, free: 41.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009327/9.355, allocations: 79.42 kB / 3.015 GB, free: 40.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005029/9.355, allocations: 311.4 kB / 3.015 GB, free: 40.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/9.355, allocations: 24.19 kB / 3.015 GB, free: 40.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.04e-05/9.355, allocations: 34.28 kB / 3.015 GB, free: 40.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/9.356, allocations: 441.3 kB / 3.016 GB, free: 40.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/9.356, allocations: 0 / 3.016 GB, free: 40.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.407e-05/9.356, allocations: 11.72 kB / 3.016 GB, free: 40.44 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/9.357, allocations: 11.62 kB / 3.016 GB, free: 40.44 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008179/9.357, allocations: 317.5 kB / 3.016 GB, free: 40.35 MB / 362.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.003359/9.361, allocations: 2.624 MB / 3.018 GB, free: 38.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007185/9.361, allocations: 249.8 kB / 3.019 GB, free: 37.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0474/9.409, allocations: 15.27 MB / 3.034 GB, free: 28.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/9.409, allocations: 34.66 kB / 3.034 GB, free: 28.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 2.425e-06/9.409, allocations: 3.938 kB / 3.034 GB, free: 28.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.006087/9.415, allocations: 1.297 MB / 3.035 GB, free: 27.37 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/9.415, allocations: 55.34 kB / 3.035 GB, free: 27.31 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/9.416, allocations: 243.2 kB / 3.035 GB, free: 27.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.863e-05/9.416, allocations: 29.7 kB / 3.035 GB, free: 27.13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/9.416, allocations: 197.2 kB / 3.035 GB, free: 26.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.698e-05/9.416, allocations: 108.3 kB / 3.035 GB, free: 26.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/9.416, allocations: 7.969 kB / 3.035 GB, free: 26.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.204e-05/9.416, allocations: 336.6 kB / 3.036 GB, free: 26.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002465/9.416, allocations: 107.9 kB / 3.036 GB, free: 26.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003091/9.416, allocations: 213.7 kB / 3.036 GB, free: 26.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003167/9.417, allocations: 135 kB / 3.036 GB, free: 26.26 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/9.417, allocations: 0 / 3.036 GB, free: 26.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001108/9.418, allocations: 435.8 kB / 3.037 GB, free: 26.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/9.418, allocations: 7.828 kB / 3.037 GB, free: 26.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/9.418, allocations: 3.969 kB / 3.037 GB, free: 26.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006594/9.425, allocations: 260.4 kB / 3.037 GB, free: 26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005782/9.425, allocations: 84.88 kB / 3.037 GB, free: 25.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001677/9.427, allocations: 1.881 MB / 3.039 GB, free: 24.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000507/9.427, allocations: 23.19 kB / 3.039 GB, free: 24.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.92e-05/9.428, allocations: 19.88 kB / 3.039 GB, free: 24.1 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002686/9.428, allocations: 172.7 kB / 3.039 GB, free: 23.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.084e-05/9.428, allocations: 27.5 kB / 3.039 GB, free: 23.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001454/9.429, allocations: 0.949 MB / 3.04 GB, free: 23.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/9.429, allocations: 7.969 kB / 3.04 GB, free: 23.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/9.429, allocations: 0 / 3.04 GB, free: 23.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001181/9.431, allocations: 1.115 MB / 3.041 GB, free: 22.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00252/9.433, allocations: 1.596 MB / 3.043 GB, free: 21.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/9.433, allocations: 0 / 3.043 GB, free: 21.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004158/9.434, allocations: 52.95 kB / 3.043 GB, free: 21.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003068/9.437, allocations: 293.2 kB / 3.043 GB, free: 21.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-05/9.437, allocations: 7.812 kB / 3.043 GB, free: 21.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006555/9.437, allocations: 0.6691 MB / 3.044 GB, free: 21.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/9.438, allocations: 3.984 kB / 3.044 GB, free: 21.08 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/9.439, allocations: 0.9531 MB / 3.045 GB, free: 20.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002059/9.439, allocations: 143.6 kB / 3.045 GB, free: 20.44 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.168e-05/9.44, allocations: 4 kB / 3.045 GB, free: 20.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003792/9.44, allocations: 19.12 kB / 3.045 GB, free: 20.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.851e-05/9.44, allocations: 20.62 kB / 3.045 GB, free: 20.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.519e-05/9.44, allocations: 17 kB / 3.045 GB, free: 20.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003483/9.44, allocations: 236.5 kB / 3.045 GB, free: 20.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.81e-07/9.44, allocations: 0 / 3.045 GB, free: 20.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002946/9.443, allocations: 0.54 MB / 3.046 GB, free: 20.2 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005722/9.449, allocations: 2.246 MB / 3.048 GB, free: 18.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001265/9.45, allocations: 0.5121 MB / 3.048 GB, free: 18.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/9.45, allocations: 8 kB / 3.048 GB, free: 18.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000584/9.451, allocations: 289.8 kB / 3.048 GB, free: 18.21 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001761/9.453, allocations: 181.8 kB / 3.049 GB, free: 18.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006329/9.459, allocations: 4.944 MB / 3.053 GB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/9.46, allocations: 0.8334 MB / 3.054 GB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005236/9.46, allocations: 115.5 kB / 3.054 GB, free: 12.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002383/9.46, allocations: 138 kB / 3.055 GB, free: 12.27 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/9.46, allocations: 0 / 3.055 GB, free: 12.27 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4809/9.941, allocations: 27.4 MB / 3.081 GB, free: 41.21 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003258/9.942, allocations: 226.3 kB / 3.082 GB, free: 40.96 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.793/13.73, allocations: 3.938 kB / 3.082 GB, free: 40.96 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.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat