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_ph.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_ph,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.658/1.658, allocations: 171.2 MB / 186.7 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004943/0.0004943, allocations: 8 kB / 233.4 MB, free: 2.914 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.117, allocations: 38.78 MB / 272.1 MB, free: 12.06 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.309/7.426, allocations: 2.466 GB / 2.732 GB, free: 51.71 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003347/7.427, allocations: 89.19 kB / 2.732 GB, free: 51.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.168/9.594, allocations: 420.2 MB / 3.142 GB, free: 44.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.555e-06/9.595, allocations: 0 / 3.142 GB, free: 44.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.501e-05/9.595, allocations: 5.844 kB / 3.142 GB, free: 44.43 MB / 378.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.005388/9.6, allocations: 1.263 MB / 3.144 GB, free: 43.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/9.6, allocations: 7.906 kB / 3.144 GB, free: 43.7 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001337/9.6, allocations: 69.62 kB / 3.144 GB, free: 43.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001833/9.602, allocations: 156 kB / 3.144 GB, free: 43.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005434/9.603, allocations: 325.7 kB / 3.144 GB, free: 43.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.284e-05/9.603, allocations: 31.09 kB / 3.144 GB, free: 43.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.515e-05/9.603, allocations: 27.78 kB / 3.144 GB, free: 43.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002095/9.605, allocations: 0.5636 MB / 3.145 GB, free: 43.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/9.605, allocations: 7.688 kB / 3.145 GB, free: 43.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.053e-05/9.605, allocations: 19.59 kB / 3.145 GB, free: 43.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/9.605, allocations: 11.19 kB / 3.145 GB, free: 43.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002321/9.607, allocations: 0.5363 MB / 3.145 GB, free: 42.94 MB / 378.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.003963/9.611, allocations: 2.617 MB / 3.148 GB, free: 40.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002371/9.614, allocations: 494.3 kB / 3.148 GB, free: 40.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/9.615, allocations: 0.5562 MB / 3.149 GB, free: 40.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/9.615, allocations: 38.5 kB / 3.149 GB, free: 40.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 2.294e-06/9.615, allocations: 0 / 3.149 GB, free: 40.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.007401/9.622, allocations: 1.601 MB / 3.151 GB, free: 39.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/9.622, allocations: 59.06 kB / 3.151 GB, free: 39.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/9.623, allocations: 213.3 kB / 3.151 GB, free: 39.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.366e-05/9.623, allocations: 37.42 kB / 3.151 GB, free: 39.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/9.623, allocations: 237.6 kB / 3.151 GB, free: 38.87 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/9.623, allocations: 113.2 kB / 3.151 GB, free: 38.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/9.623, allocations: 7.938 kB / 3.151 GB, free: 38.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.573e-05/9.623, allocations: 333.1 kB / 3.152 GB, free: 38.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006469/9.624, allocations: 146.2 kB / 3.152 GB, free: 38.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006902/9.624, allocations: 252.7 kB / 3.152 GB, free: 38.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000725/9.625, allocations: 171.6 kB / 3.152 GB, free: 38.19 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/9.625, allocations: 0 / 3.152 GB, free: 38.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002011/9.627, allocations: 0.5234 MB / 3.153 GB, free: 37.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/9.627, allocations: 6.969 kB / 3.153 GB, free: 37.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/9.627, allocations: 3.953 kB / 3.153 GB, free: 37.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007838/9.628, allocations: 121.9 kB / 3.153 GB, free: 37.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006386/9.629, allocations: 90.41 kB / 3.153 GB, free: 37.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/9.631, allocations: 2.434 MB / 3.155 GB, free: 35.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006629/9.631, allocations: 52.19 kB / 3.155 GB, free: 35.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-05/9.632, allocations: 15.38 kB / 3.155 GB, free: 35.52 MB / 378.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.0002668/9.632, allocations: 162 kB / 3.155 GB, free: 35.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.376e-05/9.632, allocations: 30.03 kB / 3.155 GB, free: 35.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002734/9.635, allocations: 1.372 MB / 3.157 GB, free: 34.76 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.446e-05/9.635, allocations: 19.31 kB / 3.157 GB, free: 34.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/9.635, allocations: 0 / 3.157 GB, free: 34.76 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002386/9.637, allocations: 1.466 MB / 3.158 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003824/9.641, allocations: 2.124 MB / 3.16 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.435e-06/9.641, allocations: 3.844 kB / 3.16 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007227/9.642, allocations: 109.7 kB / 3.16 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005421/9.642, allocations: 69.88 kB / 3.16 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.598e-05/9.642, allocations: 15.7 kB / 3.161 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003687/9.643, allocations: 0.5969 MB / 3.161 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/9.643, allocations: 0 / 3.161 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002674/9.645, allocations: 1.308 MB / 3.162 GB, free: 31.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002282/9.646, allocations: 168.2 kB / 3.163 GB, free: 31.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.859e-05/9.646, allocations: 4 kB / 3.163 GB, free: 31.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005453/9.646, allocations: 46.88 kB / 3.163 GB, free: 31.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/9.647, allocations: 37.23 kB / 3.163 GB, free: 31.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.932e-05/9.647, allocations: 16.84 kB / 3.163 GB, free: 31.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000327/9.647, allocations: 236.4 kB / 3.163 GB, free: 31.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.21e-07/9.647, allocations: 0 / 3.163 GB, free: 31.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004442/9.651, allocations: 0.8881 MB / 3.164 GB, free: 31.09 MB / 378.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.01124/9.663, allocations: 3.085 MB / 3.167 GB, free: 29.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002052/9.665, allocations: 0.6708 MB / 3.167 GB, free: 29.47 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/9.665, allocations: 0 / 3.167 GB, free: 29.47 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009887/9.666, allocations: 429.7 kB / 3.168 GB, free: 29.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001777/9.668, allocations: 193.7 kB / 3.168 GB, free: 29.26 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/9.678, allocations: 5.028 MB / 3.173 GB, free: 25.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00048/9.678, allocations: 0.8773 MB / 3.174 GB, free: 25.06 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003532/9.679, allocations: 199.9 kB / 3.174 GB, free: 24.91 MB / 378.7 MB Notification: Performance of SimCode: time 1.173e-06/9.679, allocations: 0 / 3.174 GB, free: 24.91 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.629/13.31, allocations: 29.49 MB / 3.203 GB, free: 11.5 MB / 378.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_ph_res.mat does not exist to compare? outputFormat=mat