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.WaterIF97OnePhase_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.WaterIF97OnePhase_ph,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.102/2.102, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005485/0.0005487, allocations: 8 kB / 264 MB, free: 13.46 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1309, allocations: 44.51 MB / 308.6 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.908/8.039, allocations: 2.576 GB / 2.877 GB, free: 93.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000342/8.039, allocations: 90.3 kB / 2.877 GB, free: 93.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.161/10.2, allocations: 431 MB / 3.298 GB, free: 18.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.374e-06/10.2, allocations: 0 / 3.298 GB, free: 18.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.741e-05/10.2, allocations: 4 kB / 3.298 GB, free: 18.86 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.005239/10.21, allocations: 1.249 MB / 3.299 GB, free: 17.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/10.21, allocations: 8.031 kB / 3.299 GB, free: 17.59 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001453/10.21, allocations: 70.53 kB / 3.3 GB, free: 17.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001895/10.21, allocations: 169.7 kB / 3.3 GB, free: 17.35 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000637/10.21, allocations: 313.3 kB / 3.3 GB, free: 17.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/10.21, allocations: 24.66 kB / 3.3 GB, free: 16.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.672e-05/10.21, allocations: 31.91 kB / 3.3 GB, free: 16.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/10.21, allocations: 0.5236 MB / 3.301 GB, free: 16.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/10.21, allocations: 0 / 3.301 GB, free: 16.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.169e-05/10.21, allocations: 16 kB / 3.301 GB, free: 16.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/10.21, allocations: 15.89 kB / 3.301 GB, free: 16.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009357/10.21, allocations: 325.9 kB / 3.301 GB, free: 16.05 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.004027/10.22, allocations: 2.554 MB / 3.303 GB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008265/10.22, allocations: 285.4 kB / 3.304 GB, free: 12.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4474/10.66, allocations: 30.75 MB / 3.334 GB, free: 57.19 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.308e-05/10.66, allocations: 37.11 kB / 3.334 GB, free: 57.15 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 4.709e-06/10.66, allocations: 3.969 kB / 3.334 GB, free: 57.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.007606/10.67, allocations: 1.212 MB / 3.335 GB, free: 56.76 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/10.67, allocations: 56.47 kB / 3.335 GB, free: 56.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005917/10.67, allocations: 234.1 kB / 3.335 GB, free: 56.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.078e-05/10.67, allocations: 31.58 kB / 3.335 GB, free: 56.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/10.67, allocations: 237.2 kB / 3.335 GB, free: 56.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/10.67, allocations: 112.6 kB / 3.336 GB, free: 56.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/10.67, allocations: 12.94 kB / 3.336 GB, free: 56.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.488e-05/10.67, allocations: 322.2 kB / 3.336 GB, free: 56.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003931/10.67, allocations: 93.25 kB / 3.336 GB, free: 56.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005059/10.67, allocations: 218 kB / 3.336 GB, free: 55.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000537/10.67, allocations: 130.2 kB / 3.336 GB, free: 55.88 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/10.67, allocations: 2.984 kB / 3.336 GB, free: 55.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001673/10.68, allocations: 400.5 kB / 3.337 GB, free: 55.83 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.3e-05/10.68, allocations: 7.562 kB / 3.337 GB, free: 55.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/10.68, allocations: 6.406 kB / 3.337 GB, free: 55.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005982/10.68, allocations: 60.92 kB / 3.337 GB, free: 55.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009059/10.68, allocations: 87.7 kB / 3.337 GB, free: 55.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002536/10.68, allocations: 2.434 MB / 3.339 GB, free: 53.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007981/10.68, allocations: 33.09 kB / 3.339 GB, free: 53.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-05/10.68, allocations: 19.75 kB / 3.339 GB, free: 53.45 MB / 426.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): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * 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.0004363/10.68, allocations: 162.7 kB / 3.339 GB, free: 53.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/10.68, allocations: 28.09 kB / 3.339 GB, free: 53.33 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00259/10.68, allocations: 0.8728 MB / 3.34 GB, free: 53.22 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-05/10.68, allocations: 15.19 kB / 3.34 GB, free: 53.22 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/10.68, allocations: 3.625 kB / 3.34 GB, free: 53.22 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001902/10.69, allocations: 1.04 MB / 3.341 GB, free: 52.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003729/10.69, allocations: 1.494 MB / 3.343 GB, free: 52.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/10.69, allocations: 0.7031 kB / 3.343 GB, free: 52.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005643/10.69, allocations: 53.59 kB / 3.343 GB, free: 52.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000777/10.69, allocations: 84.56 kB / 3.343 GB, free: 52.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.301e-05/10.69, allocations: 2.875 kB / 3.343 GB, free: 52.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006257/10.69, allocations: 0.5884 MB / 3.344 GB, free: 51.81 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/10.69, allocations: 0 / 3.344 GB, free: 51.81 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002282/10.7, allocations: 0.8248 MB / 3.344 GB, free: 51.63 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003061/10.7, allocations: 136.6 kB / 3.344 GB, free: 51.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/10.7, allocations: 9.219 kB / 3.344 GB, free: 51.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009392/10.7, allocations: 43.61 kB / 3.345 GB, free: 51.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.418e-05/10.7, allocations: 24.94 kB / 3.345 GB, free: 51.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.129e-05/10.7, allocations: 15.08 kB / 3.345 GB, free: 51.51 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005545/10.7, allocations: 234.2 kB / 3.345 GB, free: 51.43 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.01e-07/10.7, allocations: 1 kB / 3.345 GB, free: 51.43 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006768/10.7, allocations: 0.8889 MB / 3.346 GB, free: 51.43 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: 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 (32): * Single equations (assignments): 29 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01454/10.72, allocations: 2.59 MB / 3.348 GB, free: 50.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001864/10.72, allocations: 489.5 kB / 3.349 GB, free: 50.58 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/10.72, allocations: 0 / 3.349 GB, free: 50.58 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008098/10.72, allocations: 244.6 kB / 3.349 GB, free: 50.58 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00249/10.72, allocations: 183 kB / 3.349 GB, free: 50.58 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/10.74, allocations: 5.062 MB / 3.354 GB, free: 47.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005368/10.74, allocations: 0.8394 MB / 3.355 GB, free: 46.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004142/10.74, allocations: 146.3 kB / 3.355 GB, free: 46.49 MB / 426.7 MB Notification: Performance of SimCode: time 1.373e-06/10.74, allocations: 0 / 3.355 GB, free: 46.49 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.71/14.45, allocations: 27.94 MB / 3.382 GB, free: 44.95 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.WaterIF97OnePhase_ph_res.mat does not exist to compare? outputFormat=mat