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_u.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_u,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.057/4.057, allocations: 432.6 MB / 445.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.697e-05/3.704e-05, allocations: 4.938 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2102, allocations: 98.73 MB / 0.6347 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.257/1.467, allocations: 431.9 MB / 1.056 GB, free: 7.648 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003325/1.467, allocations: 91.7 kB / 1.057 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.483/7.95, allocations: 1.093 GB / 2.15 GB, free: 118.4 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.425e-06/7.95, allocations: 3 kB / 2.15 GB, free: 118.4 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0003842/7.951, allocations: 61.75 kB / 2.15 GB, free: 118.4 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.006947/7.958, allocations: 2.181 MB / 2.152 GB, free: 117.4 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/7.958, allocations: 7.719 kB / 2.152 GB, free: 117.4 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005257/7.958, allocations: 187.8 kB / 2.152 GB, free: 117.4 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002824/7.961, allocations: 369.5 kB / 2.152 GB, free: 117.3 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009609/7.971, allocations: 2.476 MB / 2.155 GB, free: 116.8 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/7.971, allocations: 102 kB / 2.155 GB, free: 116.8 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003927/7.971, allocations: 140.1 kB / 2.155 GB, free: 116.8 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003374/7.975, allocations: 1.341 MB / 2.156 GB, free: 116.5 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.559e-05/7.975, allocations: 3.969 kB / 2.156 GB, free: 116.5 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001908/7.975, allocations: 57.67 kB / 2.156 GB, free: 116.5 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.453e-05/7.975, allocations: 39.16 kB / 2.156 GB, free: 116.5 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002614/7.978, allocations: 0.91 MB / 2.157 GB, free: 116.5 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.01325/7.991, allocations: 7.119 MB / 2.164 GB, free: 112.5 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001999/7.993, allocations: 1.187 MB / 2.165 GB, free: 111.9 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008171/7.994, allocations: 333.4 kB / 2.166 GB, free: 111.9 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005369/7.999, allocations: 2.253 MB / 2.168 GB, free: 110.5 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000896/8, allocations: 383.2 kB / 2.168 GB, free: 110.4 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001124/8.002, allocations: 87.17 kB / 2.168 GB, free: 110.4 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=67): time 4.789e-06/8.002, allocations: 0 / 2.168 GB, free: 110.4 MB / 0.8386 GB Notification: Performance of matching and sorting (n=67): time 0.002038/8.004, allocations: 0.7331 MB / 2.169 GB, free: 110.3 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.045e-05/8.004, allocations: 164.2 kB / 2.169 GB, free: 110.1 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002632/8.006, allocations: 1.296 MB / 2.17 GB, free: 109.9 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002587/8.007, allocations: 43.23 kB / 2.171 GB, free: 109.9 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009712/8.008, allocations: 0.913 MB / 2.171 GB, free: 109.6 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.00033/8.008, allocations: 232.7 kB / 2.172 GB, free: 109.4 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.072e-05/8.008, allocations: 21.67 kB / 2.172 GB, free: 109.4 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.791e-05/8.008, allocations: 342.8 kB / 2.172 GB, free: 109.1 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007794/8.009, allocations: 288.4 kB / 2.172 GB, free: 109.1 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/8.01, allocations: 0.679 MB / 2.173 GB, free: 108.7 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009241/8.011, allocations: 415.4 kB / 2.173 GB, free: 108.6 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/8.011, allocations: 6.031 kB / 2.173 GB, free: 108.6 MB / 0.8386 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002848/8.014, allocations: 1.121 MB / 2.174 GB, free: 108.4 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008751/8.015, allocations: 3.735 MB / 2.178 GB, free: 104.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.186e-05/8.015, allocations: 11.59 kB / 2.178 GB, free: 104.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.131e-05/8.015, allocations: 14.94 kB / 2.178 GB, free: 104.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001957/8.017, allocations: 257.2 kB / 2.178 GB, free: 104.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.95e-05/8.017, allocations: 20.88 kB / 2.178 GB, free: 104.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002351/8.019, allocations: 129.9 kB / 2.178 GB, free: 104.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001743/8.019, allocations: 52.7 kB / 2.179 GB, free: 104.5 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/8.019, allocations: 6.094 kB / 2.179 GB, free: 104.5 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002316/8.022, allocations: 0.9362 MB / 2.179 GB, free: 104.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-05/8.022, allocations: 13.28 kB / 2.179 GB, free: 104.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.536e-05/8.022, allocations: 17.91 kB / 2.179 GB, free: 104.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001674/8.024, allocations: 243.2 kB / 2.18 GB, free: 104.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-05/8.024, allocations: 23.89 kB / 2.18 GB, free: 104.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002284/8.026, allocations: 125.6 kB / 2.18 GB, free: 104.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001623/8.026, allocations: 51.69 kB / 2.18 GB, free: 104.5 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (121): * Single equations (assignments): 117 * Array equations: 2 * Algorithm blocks: 1 * 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.0003757/8.027, allocations: 163 kB / 2.18 GB, free: 104.3 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003642/8.027, allocations: 167.5 kB / 2.18 GB, free: 104.3 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002794/8.03, allocations: 0.979 MB / 2.181 GB, free: 104.2 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/8.03, allocations: 10.42 kB / 2.181 GB, free: 104.2 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.006e-06/8.03, allocations: 3.188 kB / 2.181 GB, free: 104.2 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001515/8.031, allocations: 0.6804 MB / 2.182 GB, free: 104.1 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.005613/8.037, allocations: 2.249 MB / 2.184 GB, free: 103.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.834e-06/8.037, allocations: 2.719 kB / 2.184 GB, free: 103.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001363/8.038, allocations: 150 kB / 2.184 GB, free: 103.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000245/8.039, allocations: 33.28 kB / 2.184 GB, free: 103.7 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.87e-05/8.039, allocations: 21.12 kB / 2.184 GB, free: 103.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/8.04, allocations: 1.322 MB / 2.186 GB, free: 102.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/8.04, allocations: 0 / 2.186 GB, free: 102.5 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003107/8.043, allocations: 1.355 MB / 2.187 GB, free: 102.2 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/8.044, allocations: 338.9 kB / 2.187 GB, free: 102 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003211/8.044, allocations: 24.36 kB / 2.187 GB, free: 102 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001669/8.046, allocations: 105.3 kB / 2.187 GB, free: 102 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001864/8.046, allocations: 59.58 kB / 2.187 GB, free: 102 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.809e-05/8.046, allocations: 26.33 kB / 2.187 GB, free: 102 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002039/8.049, allocations: 0.9969 MB / 2.188 GB, free: 101.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.82e-07/8.049, allocations: 0 / 2.188 GB, free: 101.8 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00498/8.054, allocations: 1.116 MB / 2.189 GB, free: 101.7 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.vol.dynBal.U) * 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 (75): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.00603/8.06, allocations: 3.052 MB / 2.192 GB, free: 100.6 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00341/8.063, allocations: 1.49 MB / 2.194 GB, free: 100.3 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 7.864e-06/8.063, allocations: 3.562 kB / 2.194 GB, free: 100.3 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001117/8.064, allocations: 488.1 kB / 2.194 GB, free: 100.2 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006327/8.071, allocations: 0.7569 MB / 2.195 GB, free: 100.2 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009634/8.08, allocations: 2.867 MB / 2.198 GB, free: 99.37 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/8.081, allocations: 1.449 MB / 2.199 GB, free: 98.64 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.004315/8.086, allocations: 0.5517 MB / 2.2 GB, free: 98.61 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001488/8.087, allocations: 0.717 MB / 2.201 GB, free: 98.61 MB / 0.8386 GB Notification: Performance of SimCode: time 1.292e-06/8.087, allocations: 0 / 2.201 GB, free: 98.61 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1468/8.234, allocations: 58.34 MB / 2.258 GB, free: 86.03 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002988/8.235, allocations: 211.9 kB / 2.258 GB, free: 85.81 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.301/13.54, allocations: 0 / 2.258 GB, free: 85.81 MB / 0.8386 GB