Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.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) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.924/3.924, allocations: 432.6 MB / 445.2 MB, free: 15.76 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.435e-05/3.448e-05, allocations: 4.344 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2088, allocations: 98.73 MB / 0.6347 GB, free: 1.922 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.229/1.438, allocations: 437.8 MB / 1.062 GB, free: 1.906 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003353/1.438, allocations: 93.12 kB / 1.062 GB, free: 1.859 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.337/7.775, allocations: 1.124 GB / 2.186 GB, free: 118.9 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.275e-06/7.775, allocations: 0 / 2.186 GB, free: 118.9 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.000513/7.776, allocations: 58.45 kB / 2.186 GB, free: 118.9 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.00698/7.783, allocations: 2.086 MB / 2.189 GB, free: 117.9 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/7.783, allocations: 12.61 kB / 2.189 GB, free: 117.9 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000553/7.783, allocations: 170.4 kB / 2.189 GB, free: 117.8 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003807/7.787, allocations: 457.8 kB / 2.189 GB, free: 117.7 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00935/7.796, allocations: 2.292 MB / 2.191 GB, free: 117.2 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/7.797, allocations: 90.16 kB / 2.191 GB, free: 117.2 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004035/7.797, allocations: 136.2 kB / 2.192 GB, free: 117.2 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003034/7.8, allocations: 1.247 MB / 2.193 GB, free: 116.9 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.814e-05/7.8, allocations: 7.859 kB / 2.193 GB, free: 116.9 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001795/7.8, allocations: 44.53 kB / 2.193 GB, free: 116.9 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.263e-05/7.8, allocations: 29.72 kB / 2.193 GB, free: 116.9 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002373/7.803, allocations: 0.8385 MB / 2.194 GB, free: 116.9 MB / 0.8386 GB Warning: The model contains alias variables with conflicting start and/or 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.01283/7.816, allocations: 6.856 MB / 2.2 GB, free: 112.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001878/7.818, allocations: 1.137 MB / 2.201 GB, free: 112.2 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007884/7.818, allocations: 299.9 kB / 2.202 GB, free: 112.2 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006528/7.825, allocations: 2.896 MB / 2.205 GB, free: 110.3 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007862/7.826, allocations: 344.2 kB / 2.205 GB, free: 110.2 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009926/7.827, allocations: 95.45 kB / 2.205 GB, free: 110.2 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=59): time 4.177e-06/7.827, allocations: 0 / 2.205 GB, free: 110.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=59): time 0.00206/7.829, allocations: 0.6613 MB / 2.206 GB, free: 110 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.051e-05/7.829, allocations: 165.4 kB / 2.206 GB, free: 109.9 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002902/7.832, allocations: 1.339 MB / 2.207 GB, free: 109.7 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002623/7.832, allocations: 44.8 kB / 2.207 GB, free: 109.6 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009757/7.833, allocations: 0.8909 MB / 2.208 GB, free: 109.3 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003252/7.834, allocations: 213.8 kB / 2.208 GB, free: 109.2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.151e-05/7.834, allocations: 17.88 kB / 2.208 GB, free: 109.2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.848e-05/7.834, allocations: 349.5 kB / 2.209 GB, free: 108.9 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007508/7.835, allocations: 267.6 kB / 2.209 GB, free: 108.9 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009875/7.836, allocations: 0.7072 MB / 2.21 GB, free: 108.4 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009379/7.836, allocations: 436.8 kB / 2.21 GB, free: 108.3 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.491e-05/7.837, allocations: 3.75 kB / 2.21 GB, free: 108.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003088/7.84, allocations: 1.13 MB / 2.211 GB, free: 108.1 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001057/7.841, allocations: 4.578 MB / 2.216 GB, free: 103.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.592e-05/7.841, allocations: 16.62 kB / 2.216 GB, free: 103.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.527e-05/7.841, allocations: 18.97 kB / 2.216 GB, free: 103.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002021/7.843, allocations: 248 kB / 2.216 GB, free: 103.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.4e-05/7.843, allocations: 26.34 kB / 2.216 GB, free: 103.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002336/7.845, allocations: 117.8 kB / 2.216 GB, free: 103.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002466/7.846, allocations: 58.89 kB / 2.216 GB, free: 103.3 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/7.846, allocations: 5.531 kB / 2.216 GB, free: 103.3 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002351/7.848, allocations: 0.963 MB / 2.217 GB, free: 103.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.214e-05/7.848, allocations: 11.62 kB / 2.217 GB, free: 103.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.68e-05/7.848, allocations: 18.5 kB / 2.217 GB, free: 103.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001724/7.85, allocations: 239 kB / 2.217 GB, free: 103.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-05/7.85, allocations: 22.69 kB / 2.217 GB, free: 103.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0022/7.852, allocations: 109.4 kB / 2.217 GB, free: 103.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002319/7.852, allocations: 61.89 kB / 2.217 GB, free: 103.2 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 117 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003994/7.853, allocations: 171.4 kB / 2.218 GB, free: 103.1 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004301/7.853, allocations: 160.6 kB / 2.218 GB, free: 103 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002885/7.856, allocations: 0.9397 MB / 2.219 GB, free: 102.9 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.067e-05/7.856, allocations: 12.44 kB / 2.219 GB, free: 102.9 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/7.856, allocations: 7.516 kB / 2.219 GB, free: 102.9 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001475/7.858, allocations: 0.7771 MB / 2.219 GB, free: 102.6 MB / 0.8386 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.00532/7.863, allocations: 2.109 MB / 2.221 GB, free: 102.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/7.863, allocations: 3.156 kB / 2.221 GB, free: 102.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/7.864, allocations: 133.1 kB / 2.222 GB, free: 102.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002365/7.865, allocations: 34.02 kB / 2.222 GB, free: 102.2 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.484e-05/7.865, allocations: 17.78 kB / 2.222 GB, free: 102.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/7.866, allocations: 1.317 MB / 2.223 GB, free: 101 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/7.866, allocations: 0 / 2.223 GB, free: 101 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002945/7.869, allocations: 1.275 MB / 2.224 GB, free: 100.7 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/7.87, allocations: 333.8 kB / 2.224 GB, free: 100.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004704/7.87, allocations: 17.84 kB / 2.225 GB, free: 100.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001805/7.872, allocations: 99.78 kB / 2.225 GB, free: 100.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/7.872, allocations: 58.42 kB / 2.225 GB, free: 100.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/7.873, allocations: 28.03 kB / 2.225 GB, free: 100.5 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002372/7.875, allocations: 1.07 MB / 2.226 GB, free: 100.3 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9.72e-07/7.875, allocations: 3.812 kB / 2.226 GB, free: 100.3 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.004726/7.88, allocations: 1.011 MB / 2.227 GB, free: 100.1 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006285/7.886, allocations: 3.009 MB / 2.23 GB, free: 98.63 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.003303/7.889, allocations: 1.541 MB / 2.231 GB, free: 97.93 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/7.889, allocations: 2.844 kB / 2.231 GB, free: 97.93 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001077/7.891, allocations: 458 kB / 2.232 GB, free: 97.71 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005809/7.896, allocations: 0.7313 MB / 2.232 GB, free: 97.56 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009164/7.906, allocations: 2.793 MB / 2.235 GB, free: 96.46 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/7.907, allocations: 1.408 MB / 2.236 GB, free: 95.71 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.004169/7.911, allocations: 0.5914 MB / 2.237 GB, free: 95.68 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001356/7.912, allocations: 0.6963 MB / 2.238 GB, free: 95.14 MB / 0.8386 GB Notification: Performance of SimCode: time 1.062e-06/7.912, allocations: 3.25 kB / 2.238 GB, free: 95.14 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1416/8.054, allocations: 57.32 MB / 2.294 GB, free: 56.38 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000262/8.054, allocations: 221 kB / 2.294 GB, free: 56.16 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.537/13.59, allocations: 0 / 2.294 GB, free: 56.16 MB / 0.8386 GB