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 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_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.006272/0.006279, allocations: 236 kB / 15.81 MB, free: 6.285 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.001789/0.001789, allocations: 178.8 kB / 16.69 MB, free: 5.449 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 3.962/3.962, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.125/4.125, allocations: 472.3 MB / 0.9024 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004828/0.0004832, allocations: 16 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1685, allocations: 98.72 MB / 1.105 GB, free: 42.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.06563/0.2341, allocations: 48.66 MB / 1.152 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6053/0.8395, allocations: 16.34 MB / 1.168 GB, free: 35.16 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003339/0.8429, allocations: 73.78 kB / 1.168 GB, free: 35.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.004561/0.8475, allocations: 0.8859 MB / 1.169 GB, free: 35.16 MB / 0.6198 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01306/0.8606, allocations: 2.43 MB / 1.171 GB, free: 35.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.02086/0.8815, allocations: 2.922 MB / 1.174 GB, free: 35.15 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.01414/0.8957, allocations: 5.197 MB / 1.179 GB, free: 34.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004717/0.9004, allocations: 1.233 MB / 1.181 GB, free: 34.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006667/0.9072, allocations: 1.47 MB / 1.182 GB, free: 34.28 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004703/0.9119, allocations: 1.26 MB / 1.183 GB, free: 34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.001014/0.913, allocations: 67.66 kB / 1.183 GB, free: 34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007965/0.921, allocations: 1.334 MB / 1.185 GB, free: 33.92 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001589/0.9227, allocations: 413.3 kB / 1.185 GB, free: 33.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001764/0.9245, allocations: 406.2 kB / 1.185 GB, free: 33.74 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.007776/0.9323, allocations: 2.421 MB / 1.188 GB, free: 33.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.9324, allocations: 0 / 1.188 GB, free: 33.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.135e-06/0.9324, allocations: 0 / 1.188 GB, free: 33.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001164/0.9325, allocations: 2.094 kB / 1.188 GB, free: 33.55 MB / 0.6198 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.009909/0.9425, allocations: 2.231 MB / 1.19 GB, free: 32.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.689e-05/0.9426, allocations: 11.23 kB / 1.19 GB, free: 32.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005961/0.9486, allocations: 492.2 kB / 1.19 GB, free: 32.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008214/0.9568, allocations: 1.585 MB / 1.192 GB, free: 31.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001066/0.9579, allocations: 158.1 kB / 1.192 GB, free: 31.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006521/0.9586, allocations: 120.2 kB / 1.192 GB, free: 31.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006692/0.9654, allocations: 1.39 MB / 1.194 GB, free: 31.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.76e-05/0.9655, allocations: 5.781 kB / 1.194 GB, free: 31.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003239/0.9658, allocations: 42.31 kB / 1.194 GB, free: 31.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.485e-05/0.9659, allocations: 36.39 kB / 1.194 GB, free: 31.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007414/0.9734, allocations: 1.127 MB / 1.195 GB, free: 31.43 MB / 0.6198 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.02245/0.9959, allocations: 7.002 MB / 1.202 GB, free: 43.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004561/1.001, allocations: 1.437 MB / 1.203 GB, free: 42.81 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00176/1.002, allocations: 431.4 kB / 1.203 GB, free: 42.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007381/1.01, allocations: 3.055 MB / 1.206 GB, free: 40.88 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001712/1.012, allocations: 468.6 kB / 1.207 GB, free: 40.82 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009603/1.013, allocations: 86.92 kB / 1.207 GB, free: 40.79 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=59): time 5.079e-06/1.013, allocations: 0 / 1.207 GB, free: 40.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=59): time 0.005861/1.018, allocations: 1.28 MB / 1.208 GB, free: 40.55 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/1.019, allocations: 136.5 kB / 1.208 GB, free: 40.39 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003533/1.022, allocations: 1.568 MB / 1.21 GB, free: 40.21 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.000248/1.022, allocations: 42.52 kB / 1.21 GB, free: 40.18 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001036/1.023, allocations: 0.8932 MB / 1.211 GB, free: 39.86 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003399/1.024, allocations: 207.4 kB / 1.211 GB, free: 39.73 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.849e-05/1.024, allocations: 21.59 kB / 1.211 GB, free: 39.73 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001636/1.024, allocations: 344.8 kB / 1.211 GB, free: 39.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001728/1.026, allocations: 397.7 kB / 1.212 GB, free: 39.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002079/1.028, allocations: 0.7945 MB / 1.212 GB, free: 38.95 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002021/1.03, allocations: 0.5265 MB / 1.213 GB, free: 38.88 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.991e-05/1.03, allocations: 3.25 kB / 1.213 GB, free: 38.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.005216/1.035, allocations: 1.365 MB / 1.214 GB, free: 38.63 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003076/1.036, allocations: 469.1 kB / 1.215 GB, free: 38.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.323e-05/1.036, allocations: 17.03 kB / 1.215 GB, free: 38.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.991e-05/1.036, allocations: 22.97 kB / 1.215 GB, free: 38.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002059/1.038, allocations: 258.5 kB / 1.215 GB, free: 38.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.886e-05/1.038, allocations: 26.12 kB / 1.215 GB, free: 38.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002634/1.041, allocations: 136.9 kB / 1.215 GB, free: 38.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003032/1.041, allocations: 50.64 kB / 1.215 GB, free: 38.07 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/1.041, allocations: 6.5 kB / 1.215 GB, free: 38.07 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004316/1.045, allocations: 1.191 MB / 1.216 GB, free: 37.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.625e-05/1.045, allocations: 11.41 kB / 1.216 GB, free: 37.94 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/1.045, allocations: 22.39 kB / 1.216 GB, free: 37.94 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001953/1.047, allocations: 260.3 kB / 1.217 GB, free: 37.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.211e-05/1.047, allocations: 20.83 kB / 1.217 GB, free: 37.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002458/1.05, allocations: 131.9 kB / 1.217 GB, free: 37.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002851/1.05, allocations: 54.34 kB / 1.217 GB, free: 37.91 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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): 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.001294/1.051, allocations: 493.5 kB / 1.217 GB, free: 37.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005168/1.052, allocations: 162.2 kB / 1.217 GB, free: 37.61 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0047/1.057, allocations: 1.157 MB / 1.219 GB, free: 37.51 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003463/1.06, allocations: 1.002 MB / 1.22 GB, free: 37.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/1.06, allocations: 2.344 kB / 1.22 GB, free: 37.01 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/1.061, allocations: 329.7 kB / 1.22 GB, free: 36.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005794/1.062, allocations: 11.86 kB / 1.22 GB, free: 36.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002024/1.064, allocations: 107.8 kB / 1.22 GB, free: 36.75 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002297/1.064, allocations: 51.81 kB / 1.22 GB, free: 36.74 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004991/1.069, allocations: 1.089 MB / 1.221 GB, free: 36.36 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005983/1.075, allocations: 1.656 MB / 1.223 GB, free: 35.64 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001653/1.077, allocations: 439.8 kB / 1.223 GB, free: 35.5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002567/1.08, allocations: 1.049 MB / 1.224 GB, free: 35.11 MB / 0.6355 GB Notification: Performance of Backend: time 1.112e-06/1.08, allocations: 0 / 1.224 GB, free: 35.11 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.008884/1.089, allocations: 2.228 MB / 1.226 GB, free: 34.23 MB / 0.6355 GB Notification: Performance of SimCode: time 0.01209/1.101, allocations: 4.479 MB / 1.231 GB, free: 31.71 MB / 0.6355 GB Notification: Performance of Templates: time 0.09031/1.191, allocations: 33.63 MB / 1.264 GB, free: 10.34 MB / 0.6355 GB