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.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_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.981/1.981, allocations: 194.9 MB / 211.1 MB, free: 8.574 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003579/0.000358, allocations: 8 kB / 264.1 MB, free: 3.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2979, allocations: 44.5 MB / 308.6 MB, free: 12.78 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.727/8.025, allocations: 2.576 GB / 2.877 GB, free: 3.516 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003677/8.026, allocations: 89.02 kB / 2.877 GB, free: 3.465 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334/10.36, allocations: 430.9 MB / 3.298 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.463e-06/10.36, allocations: 3.781 kB / 3.298 GB, free: 48.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.884e-05/10.36, allocations: 9.719 kB / 3.298 GB, free: 48.77 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.005468/10.36, allocations: 1.281 MB / 3.299 GB, free: 47.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/10.37, allocations: 7.906 kB / 3.299 GB, free: 47.98 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001492/10.37, allocations: 69.75 kB / 3.3 GB, free: 47.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001867/10.37, allocations: 168.4 kB / 3.3 GB, free: 47.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005999/10.37, allocations: 306.8 kB / 3.3 GB, free: 47.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.479e-05/10.37, allocations: 28.45 kB / 3.3 GB, free: 47.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.947e-05/10.37, allocations: 36.09 kB / 3.3 GB, free: 47.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002206/10.37, allocations: 0.5654 MB / 3.301 GB, free: 47.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.882e-05/10.37, allocations: 3.938 kB / 3.301 GB, free: 47.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.859e-05/10.37, allocations: 19.59 kB / 3.301 GB, free: 47.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/10.37, allocations: 10.61 kB / 3.301 GB, free: 47.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00239/10.37, allocations: 0.54 MB / 3.301 GB, free: 47.23 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.004101/10.38, allocations: 2.606 MB / 3.304 GB, free: 45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002426/10.38, allocations: 0.4894 MB / 3.304 GB, free: 44.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001079/10.38, allocations: 0.5601 MB / 3.305 GB, free: 44.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/10.38, allocations: 34.53 kB / 3.305 GB, free: 44.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 2.165e-06/10.38, allocations: 0 / 3.305 GB, free: 44.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.007424/10.39, allocations: 1.6 MB / 3.306 GB, free: 43.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/10.39, allocations: 58 kB / 3.306 GB, free: 43.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003168/10.39, allocations: 221.7 kB / 3.307 GB, free: 43.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.602e-05/10.39, allocations: 37.58 kB / 3.307 GB, free: 43.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/10.39, allocations: 190.5 kB / 3.307 GB, free: 43.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.962e-05/10.39, allocations: 111 kB / 3.307 GB, free: 43.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/10.39, allocations: 11.94 kB / 3.307 GB, free: 43.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.35e-05/10.39, allocations: 336.7 kB / 3.307 GB, free: 42.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006663/10.39, allocations: 151.5 kB / 3.307 GB, free: 42.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007291/10.39, allocations: 249.4 kB / 3.308 GB, free: 42.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006968/10.39, allocations: 173.2 kB / 3.308 GB, free: 42.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/10.39, allocations: 3.953 kB / 3.308 GB, free: 42.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002061/10.39, allocations: 0.5303 MB / 3.308 GB, free: 42.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/10.39, allocations: 7.344 kB / 3.308 GB, free: 42.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/10.39, allocations: 7.922 kB / 3.308 GB, free: 42.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008174/10.39, allocations: 116.3 kB / 3.308 GB, free: 42.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006607/10.39, allocations: 96.92 kB / 3.309 GB, free: 42.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002113/10.4, allocations: 2.421 MB / 3.311 GB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007011/10.4, allocations: 45.25 kB / 3.311 GB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-05/10.4, allocations: 19.95 kB / 3.311 GB, free: 39.86 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.0003132/10.4, allocations: 164.5 kB / 3.311 GB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.045e-05/10.4, allocations: 34.64 kB / 3.311 GB, free: 39.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002805/10.4, allocations: 1.362 MB / 3.313 GB, free: 39.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.947e-05/10.4, allocations: 17.95 kB / 3.313 GB, free: 39.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/10.4, allocations: 3.938 kB / 3.313 GB, free: 39.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002376/10.4, allocations: 1.461 MB / 3.314 GB, free: 38.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003673/10.41, allocations: 2.143 MB / 3.316 GB, free: 36.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/10.41, allocations: 0 / 3.316 GB, free: 36.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000729/10.41, allocations: 113.9 kB / 3.316 GB, free: 36.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005423/10.41, allocations: 80.44 kB / 3.316 GB, free: 36.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-05/10.41, allocations: 4 kB / 3.316 GB, free: 36.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003693/10.41, allocations: 0.5938 MB / 3.317 GB, free: 35.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/10.41, allocations: 0 / 3.317 GB, free: 35.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002627/10.41, allocations: 1.314 MB / 3.318 GB, free: 34.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002013/10.41, allocations: 167.9 kB / 3.318 GB, free: 34.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.513e-05/10.41, allocations: 8 kB / 3.318 GB, free: 34.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000545/10.41, allocations: 46.91 kB / 3.318 GB, free: 34.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/10.41, allocations: 30.91 kB / 3.318 GB, free: 34.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/10.41, allocations: 15.8 kB / 3.318 GB, free: 34.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003234/10.41, allocations: 230 kB / 3.319 GB, free: 33.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.91e-07/10.41, allocations: 0 / 3.319 GB, free: 33.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004363/10.42, allocations: 0.8971 MB / 3.319 GB, free: 33.03 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: 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.0115/10.43, allocations: 3.089 MB / 3.322 GB, free: 30.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002104/10.43, allocations: 0.661 MB / 3.323 GB, free: 29.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/10.43, allocations: 3.5 kB / 3.323 GB, free: 29.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001017/10.43, allocations: 415.2 kB / 3.324 GB, free: 29.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/10.43, allocations: 190.4 kB / 3.324 GB, free: 29.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009668/10.44, allocations: 5.004 MB / 3.329 GB, free: 24.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/10.44, allocations: 0.8832 MB / 3.329 GB, free: 23.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006097/10.44, allocations: 143.7 kB / 3.33 GB, free: 23.72 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003098/10.44, allocations: 196.6 kB / 3.33 GB, free: 23.54 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/10.44, allocations: 0 / 3.33 GB, free: 23.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1007/10.55, allocations: 37.06 MB / 3.366 GB, free: 4.121 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003462/10.55, allocations: 221.3 kB / 3.366 GB, free: 3.883 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.555/15.1, allocations: 0 / 3.366 GB, free: 3.883 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.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat