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.Tests.MediaTestModels.Water.WaterIF97_ph.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.Tests.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.154/2.154, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003772/0.0003771, allocations: 12 kB / 264 MB, free: 13.46 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1138, allocations: 44.51 MB / 308.6 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.311/8.424, allocations: 2.576 GB / 2.877 GB, free: 93.79 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/8.425, allocations: 91.77 kB / 2.877 GB, free: 93.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.219/10.64, allocations: 430.9 MB / 3.298 GB, free: 18.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.595e-06/10.64, allocations: 0 / 3.298 GB, free: 18.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.338e-05/10.64, allocations: 8 kB / 3.298 GB, free: 18.43 MB / 410.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.00648/10.65, allocations: 1.287 MB / 3.299 GB, free: 17.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/10.65, allocations: 8.031 kB / 3.299 GB, free: 17.12 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001789/10.65, allocations: 74.47 kB / 3.3 GB, free: 17.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002687/10.65, allocations: 167.3 kB / 3.3 GB, free: 16.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007519/10.65, allocations: 310.3 kB / 3.3 GB, free: 16.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-05/10.65, allocations: 32.66 kB / 3.3 GB, free: 16.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.892e-05/10.65, allocations: 31.91 kB / 3.3 GB, free: 16.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003058/10.66, allocations: 0.5677 MB / 3.301 GB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/10.66, allocations: 0 / 3.301 GB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.292e-05/10.66, allocations: 16 kB / 3.301 GB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/10.66, allocations: 11.95 kB / 3.301 GB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003592/10.66, allocations: 0.534 MB / 3.301 GB, free: 15.32 MB / 410.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.005321/10.67, allocations: 2.624 MB / 3.304 GB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00318/10.67, allocations: 489.6 kB / 3.304 GB, free: 12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001373/10.67, allocations: 0.5588 MB / 3.305 GB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/10.67, allocations: 34.56 kB / 3.305 GB, free: 11.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 3.386e-06/10.67, allocations: 0 / 3.305 GB, free: 11.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.01026/10.68, allocations: 1.599 MB / 3.306 GB, free: 9.668 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/10.68, allocations: 55.41 kB / 3.306 GB, free: 9.602 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003913/10.68, allocations: 220.1 kB / 3.307 GB, free: 9.379 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.639e-05/10.68, allocations: 36.95 kB / 3.307 GB, free: 9.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/10.68, allocations: 242 kB / 3.307 GB, free: 9.105 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/10.68, allocations: 118.3 kB / 3.307 GB, free: 8.988 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/10.68, allocations: 4 kB / 3.307 GB, free: 8.984 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.394e-05/10.68, allocations: 326.8 kB / 3.307 GB, free: 8.656 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008605/10.68, allocations: 151.9 kB / 3.307 GB, free: 8.512 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009349/10.68, allocations: 251.7 kB / 3.308 GB, free: 8.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009507/10.69, allocations: 174.2 kB / 3.308 GB, free: 8.066 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/10.69, allocations: 4 kB / 3.308 GB, free: 8.062 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002738/10.69, allocations: 0.5205 MB / 3.308 GB, free: 7.535 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/10.69, allocations: 4.781 kB / 3.308 GB, free: 7.531 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/10.69, allocations: 7.703 kB / 3.308 GB, free: 7.527 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/10.69, allocations: 117.6 kB / 3.308 GB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008648/10.69, allocations: 91.08 kB / 3.309 GB, free: 7.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0028/10.69, allocations: 2.426 MB / 3.311 GB, free: 4.719 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009698/10.69, allocations: 55 kB / 3.311 GB, free: 4.668 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.785e-05/10.69, allocations: 22.3 kB / 3.311 GB, free: 4.648 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,volume.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003633/10.69, allocations: 158.6 kB / 3.311 GB, free: 4.484 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/10.69, allocations: 35.61 kB / 3.311 GB, free: 4.449 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00375/10.7, allocations: 1.375 MB / 3.313 GB, free: 3.078 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-05/10.7, allocations: 19.97 kB / 3.313 GB, free: 3.059 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/10.7, allocations: 0 / 3.313 GB, free: 3.059 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003128/10.7, allocations: 1.459 MB / 3.314 GB, free: 1.523 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005606/10.71, allocations: 2.129 MB / 3.316 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/10.71, allocations: 3.938 kB / 3.316 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/10.71, allocations: 111.7 kB / 3.316 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008187/10.71, allocations: 81.48 kB / 3.316 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.279e-05/10.71, allocations: 7.984 kB / 3.316 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000717/10.71, allocations: 0.5875 MB / 3.317 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/10.71, allocations: 0 / 3.317 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004372/10.71, allocations: 1.313 MB / 3.318 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003585/10.72, allocations: 168.2 kB / 3.318 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/10.72, allocations: 15.98 kB / 3.318 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007945/10.72, allocations: 35.88 kB / 3.318 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/10.72, allocations: 39.34 kB / 3.318 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-05/10.72, allocations: 19.98 kB / 3.318 GB, free: 12.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005869/10.72, allocations: 231 kB / 3.319 GB, free: 12.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.41e-07/10.72, allocations: 0 / 3.319 GB, free: 12.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006077/10.72, allocations: 0.8976 MB / 3.319 GB, free: 11.78 MB / 426.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.h) * Number of discrete variables: 11 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 Backend phase and start with SimCode phase: time 0.01324/10.74, allocations: 3.074 MB / 3.322 GB, free: 8.848 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002471/10.74, allocations: 0.6621 MB / 3.323 GB, free: 8.172 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/10.74, allocations: 0 / 3.323 GB, free: 8.172 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001234/10.74, allocations: 420.7 kB / 3.324 GB, free: 7.762 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002018/10.74, allocations: 188.7 kB / 3.324 GB, free: 7.578 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01184/10.75, allocations: 5.051 MB / 3.329 GB, free: 2.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006232/10.75, allocations: 0.8883 MB / 3.329 GB, free: 1.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004285/10.76, allocations: 191.4 kB / 3.33 GB, free: 1.312 MB / 426.7 MB Notification: Performance of SimCode: time 1.012e-06/10.76, allocations: 0 / 3.33 GB, free: 1.312 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.11/14.86, allocations: 29.58 MB / 3.359 GB, free: 56.73 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat