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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.00913/0.009129, allocations: 110.2 kB / 15.05 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001193/0.001193, allocations: 183.8 kB / 15.94 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.895/1.895, allocations: 194.6 MB / 211.3 MB, free: 11.06 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.276/2.276, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004662/0.0004664, allocations: 16 kB / 0.5869 GB, free: 2.164 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5853/0.5857, allocations: 98.7 MB / 0.6833 GB, free: 16.71 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.06/1.646, allocations: 431.9 MB / 1.105 GB, free: 20.84 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/1.646, allocations: 97.27 kB / 1.105 GB, free: 20.79 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.331/6.977, allocations: 1.097 GB / 2.202 GB, free: 123.7 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.563e-06/6.977, allocations: 0 / 2.202 GB, free: 123.7 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.000345/6.977, allocations: 59.69 kB / 2.202 GB, free: 123.7 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.008618/6.986, allocations: 2.675 MB / 2.205 GB, free: 122.8 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/6.986, allocations: 9 kB / 2.205 GB, free: 122.8 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002411/6.989, allocations: 380 kB / 2.205 GB, free: 122.7 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008613/6.997, allocations: 2.49 MB / 2.207 GB, free: 122.3 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/6.997, allocations: 102.1 kB / 2.207 GB, free: 122.3 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003886/6.998, allocations: 133.1 kB / 2.208 GB, free: 122.3 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003712/7.001, allocations: 1.414 MB / 2.209 GB, free: 122 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.164e-05/7.002, allocations: 9.375 kB / 2.209 GB, free: 122 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001892/7.002, allocations: 57.27 kB / 2.209 GB, free: 122 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.565e-05/7.002, allocations: 32.19 kB / 2.209 GB, free: 122 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00338/7.005, allocations: 1.031 MB / 2.21 GB, free: 122 MB / 0.8386 GB 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.01255/7.018, allocations: 7.129 MB / 2.217 GB, free: 118 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002462/7.02, allocations: 1.292 MB / 2.218 GB, free: 117.5 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004623/7.025, allocations: 2.226 MB / 2.22 GB, free: 116.1 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00114/7.026, allocations: 438.4 kB / 2.221 GB, free: 116.1 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001129/7.027, allocations: 85.11 kB / 2.221 GB, free: 116.1 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=68): time 4.96e-06/7.027, allocations: 0 / 2.221 GB, free: 116.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=68): time 0.003769/7.031, allocations: 1.207 MB / 2.222 GB, free: 115.8 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/7.031, allocations: 162.2 kB / 2.222 GB, free: 115.6 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002756/7.034, allocations: 1.317 MB / 2.224 GB, free: 115.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002311/7.034, allocations: 45.64 kB / 2.224 GB, free: 115.5 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009069/7.035, allocations: 0.903 MB / 2.224 GB, free: 115.2 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003017/7.036, allocations: 235.7 kB / 2.225 GB, free: 115 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.583e-05/7.036, allocations: 17.22 kB / 2.225 GB, free: 115 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.22e-05/7.036, allocations: 350.7 kB / 2.225 GB, free: 114.7 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/7.037, allocations: 342.5 kB / 2.225 GB, free: 114.7 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001255/7.038, allocations: 0.7307 MB / 2.226 GB, free: 114.3 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/7.039, allocations: 471.3 kB / 2.227 GB, free: 114.2 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.985e-06/7.039, allocations: 10.98 kB / 2.227 GB, free: 114.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003454/7.043, allocations: 1.233 MB / 2.228 GB, free: 114 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008999/7.044, allocations: 3.744 MB / 2.231 GB, free: 110.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-05/7.044, allocations: 15.19 kB / 2.231 GB, free: 110.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.741e-05/7.044, allocations: 14.03 kB / 2.231 GB, free: 110.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/7.045, allocations: 254.3 kB / 2.232 GB, free: 110.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.658e-05/7.045, allocations: 22.34 kB / 2.232 GB, free: 110.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002089/7.047, allocations: 135.7 kB / 2.232 GB, free: 110.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002456/7.048, allocations: 52.81 kB / 2.232 GB, free: 110.1 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/7.048, allocations: 3.562 kB / 2.232 GB, free: 110.1 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002672/7.05, allocations: 1.03 MB / 2.233 GB, free: 110.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-05/7.05, allocations: 11 kB / 2.233 GB, free: 110.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/7.051, allocations: 13.66 kB / 2.233 GB, free: 110.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/7.052, allocations: 244.8 kB / 2.233 GB, free: 110.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-05/7.052, allocations: 22.17 kB / 2.233 GB, free: 110.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/7.054, allocations: 113.5 kB / 2.233 GB, free: 110 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002194/7.054, allocations: 54.3 kB / 2.233 GB, free: 110 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * 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.001442/7.055, allocations: 0.4946 MB / 2.234 GB, free: 109.8 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004971/7.056, allocations: 169.1 kB / 2.234 GB, free: 109.8 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003078/7.059, allocations: 1.08 MB / 2.235 GB, free: 109.7 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.998e-05/7.059, allocations: 14.16 kB / 2.235 GB, free: 109.7 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/7.059, allocations: 7.516 kB / 2.235 GB, free: 109.7 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001974/7.061, allocations: 0.7808 MB / 2.236 GB, free: 109.6 MB / 0.8386 GB 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 postOpt removeSimpleEquations (simulation): time 0.006395/7.068, allocations: 2.354 MB / 2.238 GB, free: 109.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.842e-06/7.068, allocations: 0 / 2.238 GB, free: 109.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/7.069, allocations: 156.2 kB / 2.238 GB, free: 109.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000219/7.069, allocations: 30.19 kB / 2.238 GB, free: 109.2 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/7.069, allocations: 21.88 kB / 2.238 GB, free: 109.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009822/7.07, allocations: 1.323 MB / 2.24 GB, free: 108 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.091e-06/7.07, allocations: 0 / 2.24 GB, free: 108 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003833/7.074, allocations: 1.52 MB / 2.241 GB, free: 107.7 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/7.075, allocations: 338.7 kB / 2.241 GB, free: 107.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005802/7.076, allocations: 16.42 kB / 2.241 GB, free: 107.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001821/7.078, allocations: 116 kB / 2.242 GB, free: 107.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002072/7.078, allocations: 60.52 kB / 2.242 GB, free: 107.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/7.078, allocations: 26.7 kB / 2.242 GB, free: 107.5 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002275/7.08, allocations: 1.01 MB / 2.243 GB, free: 107.4 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.038e-06/7.08, allocations: 0 / 2.243 GB, free: 107.4 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00507/7.085, allocations: 1.127 MB / 2.244 GB, free: 107.2 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 68 * 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.002551/7.088, allocations: 1.168 MB / 2.245 GB, free: 106.9 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.004041/7.092, allocations: 1.579 MB / 2.246 GB, free: 106.7 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 8.259e-06/7.092, allocations: 10.03 kB / 2.246 GB, free: 106.7 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001344/7.094, allocations: 0.5273 MB / 2.247 GB, free: 106.6 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004595/7.098, allocations: 0.7658 MB / 2.248 GB, free: 106.6 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007666/7.106, allocations: 3.812 MB / 2.251 GB, free: 104.8 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00127/7.107, allocations: 1.449 MB / 2.253 GB, free: 104.1 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.002827/7.11, allocations: 417.6 kB / 2.253 GB, free: 104.1 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005452/7.111, allocations: 134.4 kB / 2.253 GB, free: 104.1 MB / 0.8386 GB Notification: Performance of SimCode: time 1.991e-06/7.111, allocations: 0 / 2.253 GB, free: 104.1 MB / 0.8386 GB Notification: Performance of Templates: time 0.08605/7.197, allocations: 36.54 MB / 2.289 GB, free: 102.5 MB / 0.8386 GB