Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_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_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.637/1.637, allocations: 171.2 MB / 186.7 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004759/0.0004759, allocations: 8 kB / 233.3 MB, free: 2.914 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08493/0.08544, allocations: 38.77 MB / 272.1 MB, free: 12.07 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.409/7.494, allocations: 2.465 GB / 2.73 GB, free: 55.16 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00033/7.494, allocations: 89.25 kB / 2.73 GB, free: 55.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.465/8.96, allocations: 290 MB / 3.014 GB, free: 40.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.154e-06/8.96, allocations: 0 / 3.014 GB, free: 40.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.358e-05/8.96, allocations: 5.938 kB / 3.014 GB, free: 40.74 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.003254/8.963, allocations: 0.9238 MB / 3.015 GB, free: 40.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/8.963, allocations: 10.66 kB / 3.015 GB, free: 40.12 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001186/8.963, allocations: 72.05 kB / 3.015 GB, free: 40.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009506/8.964, allocations: 78.95 kB / 3.015 GB, free: 40.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004574/8.965, allocations: 307.9 kB / 3.015 GB, free: 39.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/8.965, allocations: 24.03 kB / 3.015 GB, free: 39.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.706e-05/8.965, allocations: 28.5 kB / 3.015 GB, free: 39.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/8.966, allocations: 445.6 kB / 3.015 GB, free: 39.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/8.966, allocations: 0 / 3.015 GB, free: 39.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.053e-05/8.966, allocations: 18.31 kB / 3.016 GB, free: 39.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/8.966, allocations: 10.94 kB / 3.016 GB, free: 39.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008145/8.967, allocations: 321.2 kB / 3.016 GB, free: 39.39 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.003325/8.97, allocations: 2.621 MB / 3.018 GB, free: 37.08 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007331/8.971, allocations: 250.3 kB / 3.019 GB, free: 36.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04762/9.019, allocations: 15.27 MB / 3.034 GB, free: 27.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/9.019, allocations: 41.5 kB / 3.034 GB, free: 27.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 2.314e-06/9.019, allocations: 0 / 3.034 GB, free: 27.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.006123/9.025, allocations: 1.287 MB / 3.035 GB, free: 26.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/9.025, allocations: 63.31 kB / 3.035 GB, free: 26.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003434/9.025, allocations: 233.3 kB / 3.035 GB, free: 26.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.805e-05/9.025, allocations: 37.45 kB / 3.035 GB, free: 26.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/9.025, allocations: 249.3 kB / 3.035 GB, free: 25.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.307e-05/9.025, allocations: 107.8 kB / 3.035 GB, free: 25.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-05/9.025, allocations: 4 kB / 3.035 GB, free: 25.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.458e-05/9.026, allocations: 330.4 kB / 3.036 GB, free: 25.56 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002437/9.026, allocations: 97.75 kB / 3.036 GB, free: 25.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003084/9.026, allocations: 222.7 kB / 3.036 GB, free: 25.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003213/9.026, allocations: 133.5 kB / 3.036 GB, free: 25.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/9.027, allocations: 3.531 kB / 3.036 GB, free: 25.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00108/9.028, allocations: 416.8 kB / 3.037 GB, free: 25.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/9.028, allocations: 12.14 kB / 3.037 GB, free: 25.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/9.028, allocations: 3.75 kB / 3.037 GB, free: 25.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006645/9.034, allocations: 257.2 kB / 3.037 GB, free: 25.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005833/9.035, allocations: 85.78 kB / 3.037 GB, free: 25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001628/9.037, allocations: 1.876 MB / 3.039 GB, free: 23.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005297/9.037, allocations: 29.75 kB / 3.039 GB, free: 23.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.111e-05/9.037, allocations: 16.56 kB / 3.039 GB, free: 23.11 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.0002714/9.038, allocations: 180 kB / 3.039 GB, free: 22.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.139e-05/9.038, allocations: 28.56 kB / 3.039 GB, free: 22.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001489/9.039, allocations: 0.9467 MB / 3.04 GB, free: 22.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.647e-05/9.039, allocations: 7.562 kB / 3.04 GB, free: 22.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/9.039, allocations: 4 kB / 3.04 GB, free: 22.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001175/9.04, allocations: 1.117 MB / 3.041 GB, free: 21.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002439/9.043, allocations: 1.59 MB / 3.043 GB, free: 19.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/9.043, allocations: 0 / 3.043 GB, free: 19.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003573/9.043, allocations: 47.34 kB / 3.043 GB, free: 19.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003017/9.046, allocations: 288.7 kB / 3.043 GB, free: 19.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.006e-05/9.046, allocations: 11.75 kB / 3.043 GB, free: 19.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006239/9.047, allocations: 0.6635 MB / 3.044 GB, free: 18.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/9.047, allocations: 3.938 kB / 3.044 GB, free: 18.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/9.049, allocations: 0.9531 MB / 3.045 GB, free: 17.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/9.049, allocations: 146.9 kB / 3.045 GB, free: 17.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.322e-05/9.049, allocations: 4 kB / 3.045 GB, free: 17.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003894/9.049, allocations: 16.06 kB / 3.045 GB, free: 17.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/9.049, allocations: 22.55 kB / 3.045 GB, free: 17.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.262e-05/9.049, allocations: 12 kB / 3.045 GB, free: 17.69 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003395/9.05, allocations: 237.6 kB / 3.045 GB, free: 17.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/9.05, allocations: 0 / 3.045 GB, free: 17.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002911/9.053, allocations: 0.55 MB / 3.046 GB, free: 16.94 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.006553/9.059, allocations: 2.256 MB / 3.048 GB, free: 14.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001267/9.061, allocations: 0.5081 MB / 3.048 GB, free: 14.44 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/9.061, allocations: 0 / 3.048 GB, free: 14.44 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006228/9.061, allocations: 298.6 kB / 3.048 GB, free: 14.17 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00174/9.063, allocations: 182.4 kB / 3.049 GB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006472/9.069, allocations: 4.981 MB / 3.054 GB, free: 9.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/9.07, allocations: 0.8334 MB / 3.054 GB, free: 8.379 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002683/9.07, allocations: 140.3 kB / 3.054 GB, free: 8.254 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/9.07, allocations: 0 / 3.054 GB, free: 8.254 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.459/12.53, allocations: 20.02 MB / 3.074 GB, free: 43.03 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat