Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.967/1.967, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005309/0.0005309, allocations: 12 kB / 264.1 MB, free: 3.473 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3045, allocations: 44.5 MB / 308.6 MB, free: 12.68 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.738/8.043, allocations: 2.576 GB / 2.877 GB, free: 2.934 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003233/8.043, allocations: 100.9 kB / 2.877 GB, free: 2.871 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344/10.39, allocations: 431 MB / 3.298 GB, free: 48.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.264e-06/10.39, allocations: 0 / 3.298 GB, free: 48.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.032e-05/10.39, allocations: 14.17 kB / 3.298 GB, free: 48.55 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.005058/10.39, allocations: 1.241 MB / 3.3 GB, free: 47.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/10.39, allocations: 11.53 kB / 3.3 GB, free: 47.76 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000141/10.39, allocations: 71.12 kB / 3.3 GB, free: 47.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001782/10.4, allocations: 160.4 kB / 3.3 GB, free: 47.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005702/10.4, allocations: 314.6 kB / 3.3 GB, free: 47.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/10.4, allocations: 21.05 kB / 3.3 GB, free: 47.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.412e-05/10.4, allocations: 37.94 kB / 3.3 GB, free: 47.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/10.4, allocations: 0.5132 MB / 3.301 GB, free: 47.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/10.4, allocations: 7.75 kB / 3.301 GB, free: 47.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.693e-05/10.4, allocations: 14.88 kB / 3.301 GB, free: 47.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/10.4, allocations: 11.14 kB / 3.301 GB, free: 47.13 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008931/10.4, allocations: 326.2 kB / 3.301 GB, free: 47.04 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.003931/10.4, allocations: 2.567 MB / 3.303 GB, free: 44.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008153/10.4, allocations: 275.8 kB / 3.304 GB, free: 44.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1312/10.53, allocations: 30.75 MB / 3.334 GB, free: 17.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.008e-05/10.53, allocations: 47.44 kB / 3.334 GB, free: 17.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 5.019e-06/10.53, allocations: 3.094 kB / 3.334 GB, free: 17.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.01363/10.55, allocations: 1.21 MB / 3.335 GB, free: 15.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/10.55, allocations: 55.41 kB / 3.335 GB, free: 15.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004341/10.55, allocations: 233.7 kB / 3.335 GB, free: 15.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.007e-05/10.55, allocations: 33.64 kB / 3.335 GB, free: 15.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/10.55, allocations: 184.1 kB / 3.335 GB, free: 15.35 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/10.55, allocations: 113.5 kB / 3.336 GB, free: 15.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/10.55, allocations: 8 kB / 3.336 GB, free: 15.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/10.55, allocations: 350.8 kB / 3.336 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003281/10.55, allocations: 84.84 kB / 3.336 GB, free: 14.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004105/10.55, allocations: 214.9 kB / 3.336 GB, free: 14.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004252/10.55, allocations: 127.9 kB / 3.336 GB, free: 14.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/10.55, allocations: 0 / 3.336 GB, free: 14.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001438/10.55, allocations: 414.6 kB / 3.337 GB, free: 13.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/10.55, allocations: 8 kB / 3.337 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/10.55, allocations: 4 kB / 3.337 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005526/10.55, allocations: 62.11 kB / 3.337 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008008/10.55, allocations: 91.84 kB / 3.337 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002052/10.56, allocations: 2.426 MB / 3.339 GB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006826/10.56, allocations: 36.11 kB / 3.339 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.508e-05/10.56, allocations: 20 kB / 3.339 GB, free: 11.16 MB / 410.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.0003519/10.56, allocations: 163.4 kB / 3.339 GB, free: 11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/10.56, allocations: 31.67 kB / 3.339 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001894/10.56, allocations: 0.8746 MB / 3.34 GB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/10.56, allocations: 4 kB / 3.34 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/10.56, allocations: 0 / 3.34 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001545/10.56, allocations: 1.042 MB / 3.341 GB, free: 8.945 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00301/10.56, allocations: 1.493 MB / 3.343 GB, free: 7.391 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/10.56, allocations: 3.656 kB / 3.343 GB, free: 7.391 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005104/10.56, allocations: 55.91 kB / 3.343 GB, free: 7.336 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007253/10.57, allocations: 76.78 kB / 3.343 GB, free: 7.258 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.036e-05/10.57, allocations: 8 kB / 3.343 GB, free: 7.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000474/10.57, allocations: 0.5952 MB / 3.344 GB, free: 6.629 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/10.57, allocations: 3.953 kB / 3.344 GB, free: 6.625 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/10.57, allocations: 0.816 MB / 3.344 GB, free: 5.785 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002161/10.57, allocations: 136.5 kB / 3.344 GB, free: 5.633 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/10.57, allocations: 4 kB / 3.344 GB, free: 5.629 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008599/10.57, allocations: 40.03 kB / 3.345 GB, free: 5.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.26e-05/10.57, allocations: 27.86 kB / 3.345 GB, free: 5.562 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.23e-05/10.57, allocations: 19.98 kB / 3.345 GB, free: 5.543 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004289/10.57, allocations: 231.1 kB / 3.345 GB, free: 5.312 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/10.57, allocations: 0 / 3.345 GB, free: 5.312 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004741/10.57, allocations: 0.9015 MB / 3.346 GB, free: 4.41 MB / 410.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.009772/10.58, allocations: 2.585 MB / 3.348 GB, free: 1.965 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001266/10.59, allocations: 482.3 kB / 3.349 GB, free: 1.484 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/10.59, allocations: 7.938 kB / 3.349 GB, free: 1.477 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005032/10.59, allocations: 249.5 kB / 3.349 GB, free: 1.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/10.59, allocations: 186 kB / 3.349 GB, free: 1.055 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00888/10.6, allocations: 5.02 MB / 3.354 GB, free: 11.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005692/10.6, allocations: 0.8328 MB / 3.355 GB, free: 11.06 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007638/10.6, allocations: 182.7 kB / 3.355 GB, free: 10.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003097/10.6, allocations: 143.4 kB / 3.355 GB, free: 10.74 MB / 426.7 MB Notification: Performance of SimCode: time 1.272e-06/10.6, allocations: 0 / 3.355 GB, free: 10.74 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4013/11, allocations: 35.4 MB / 3.39 GB, free: 59.45 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003184/11, allocations: 245.4 kB / 3.39 GB, free: 59.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.464/15.46, allocations: 0 / 3.39 GB, free: 59.2 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat does not exist to compare? outputFormat=mat