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.006481/0.006487, allocations: 238.4 kB / 15.8 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.001784/0.001784, allocations: 178.7 kB / 16.68 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.908/3.908, 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.157/4.157, allocations: 472.3 MB / 0.9024 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006502/0.0006505, allocations: 12 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1703, allocations: 98.72 MB / 1.105 GB, free: 42.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.6467/0.8171, allocations: 61.17 MB / 1.164 GB, free: 35.31 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.03544/0.8526, allocations: 17.89 MB / 1.182 GB, free: 35.28 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003826/0.8565, allocations: 78.22 kB / 1.182 GB, free: 35.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.005613/0.8621, allocations: 0.9184 MB / 1.183 GB, free: 35.28 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.01286/0.875, allocations: 2.801 MB / 1.186 GB, free: 34.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.01408/0.8891, allocations: 3.073 MB / 1.189 GB, free: 34.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.01104/0.9002, allocations: 6.007 MB / 1.194 GB, free: 33.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003628/0.9039, allocations: 1.353 MB / 1.196 GB, free: 33.65 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005277/0.9092, allocations: 1.605 MB / 1.197 GB, free: 33.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003615/0.9129, allocations: 1.376 MB / 1.199 GB, free: 32.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0006761/0.9136, allocations: 76.34 kB / 1.199 GB, free: 32.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005539/0.9191, allocations: 1.384 MB / 1.2 GB, free: 32.85 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001155/0.9204, allocations: 420 kB / 1.2 GB, free: 32.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001328/0.9217, allocations: 453.9 kB / 1.201 GB, free: 32.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.005651/0.9274, allocations: 2.658 MB / 1.203 GB, free: 32.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.9275, allocations: 0 / 1.203 GB, free: 32.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.445e-06/0.9275, allocations: 0 / 1.203 GB, free: 32.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001026/0.9276, allocations: 3.938 kB / 1.203 GB, free: 32.45 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.006585/0.9342, allocations: 2.344 MB / 1.206 GB, free: 31.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.9342, allocations: 9.688 kB / 1.206 GB, free: 31.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002808/0.9371, allocations: 399.6 kB / 1.206 GB, free: 31.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00549/0.9426, allocations: 1.72 MB / 1.208 GB, free: 30.22 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007164/0.9434, allocations: 170.8 kB / 1.208 GB, free: 30.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005276/0.9439, allocations: 133.1 kB / 1.208 GB, free: 30.13 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005679/0.9496, allocations: 1.46 MB / 1.21 GB, free: 29.44 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.184e-05/0.9497, allocations: 8.266 kB / 1.21 GB, free: 29.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000242/0.95, allocations: 52 kB / 1.21 GB, free: 29.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-05/0.9501, allocations: 31.66 kB / 1.21 GB, free: 29.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005913/0.956, allocations: 1.136 MB / 1.211 GB, free: 29.01 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.01988/0.9759, allocations: 7.365 MB / 1.218 GB, free: 39.54 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004831/0.9808, allocations: 1.369 MB / 1.219 GB, free: 38.66 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002201/0.9831, allocations: 455.1 kB / 1.22 GB, free: 38.51 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008459/0.9916, allocations: 2.578 MB / 1.222 GB, free: 36.59 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002333/0.994, allocations: 0.4885 MB / 1.223 GB, free: 36.4 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001143/0.9952, allocations: 93.31 kB / 1.223 GB, free: 36.35 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=62): time 4.989e-06/0.9952, allocations: 6.203 kB / 1.223 GB, free: 36.35 MB / 0.6355 GB Notification: Performance of matching and sorting (n=62): time 0.00688/1.002, allocations: 1.265 MB / 1.224 GB, free: 35.85 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.921e-05/1.002, allocations: 193.5 kB / 1.224 GB, free: 35.62 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004341/1.007, allocations: 1.507 MB / 1.226 GB, free: 35.05 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002902/1.007, allocations: 46.33 kB / 1.226 GB, free: 35.01 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001307/1.008, allocations: 0.9048 MB / 1.227 GB, free: 34.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004654/1.009, allocations: 224.7 kB / 1.227 GB, free: 34.13 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/1.009, allocations: 22 kB / 1.227 GB, free: 34.12 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000232/1.009, allocations: 347 kB / 1.227 GB, free: 33.79 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002182/1.011, allocations: 387.8 kB / 1.228 GB, free: 33.68 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00255/1.014, allocations: 0.7655 MB / 1.228 GB, free: 33.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002422/1.016, allocations: 496.8 kB / 1.229 GB, free: 32.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.782e-05/1.016, allocations: 4.406 kB / 1.229 GB, free: 32.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.006188/1.023, allocations: 1.312 MB / 1.23 GB, free: 32.41 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003655/1.023, allocations: 413 kB / 1.23 GB, free: 31.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.171e-05/1.023, allocations: 11.56 kB / 1.23 GB, free: 31.92 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.704e-05/1.023, allocations: 15.69 kB / 1.23 GB, free: 31.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002647/1.026, allocations: 258.5 kB / 1.231 GB, free: 31.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.544e-05/1.026, allocations: 22.84 kB / 1.231 GB, free: 31.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003174/1.029, allocations: 144 kB / 1.231 GB, free: 31.87 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003014/1.03, allocations: 50.91 kB / 1.231 GB, free: 31.86 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/1.03, allocations: 3.812 kB / 1.231 GB, free: 31.86 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004149/1.034, allocations: 1.129 MB / 1.232 GB, free: 31.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.745e-05/1.034, allocations: 12.28 kB / 1.232 GB, free: 31.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.877e-05/1.034, allocations: 15.81 kB / 1.232 GB, free: 31.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001914/1.036, allocations: 254.7 kB / 1.232 GB, free: 31.44 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.277e-05/1.036, allocations: 22.53 kB / 1.232 GB, free: 31.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002463/1.038, allocations: 132.6 kB / 1.232 GB, free: 31.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000282/1.039, allocations: 54.5 kB / 1.233 GB, free: 31.4 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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.001483/1.04, allocations: 0.4933 MB / 1.233 GB, free: 31.04 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005136/1.041, allocations: 167.5 kB / 1.233 GB, free: 30.95 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004573/1.045, allocations: 1.101 MB / 1.234 GB, free: 30.57 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003204/1.049, allocations: 0.8116 MB / 1.235 GB, free: 30.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/1.049, allocations: 9.469 kB / 1.235 GB, free: 30.28 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/1.05, allocations: 335.8 kB / 1.235 GB, free: 30.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004803/1.05, allocations: 14.81 kB / 1.235 GB, free: 30.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002049/1.052, allocations: 104 kB / 1.235 GB, free: 30.01 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002395/1.053, allocations: 56.67 kB / 1.236 GB, free: 30.01 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006746/1.059, allocations: 1.224 MB / 1.237 GB, free: 29.48 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006308/1.066, allocations: 1.769 MB / 1.238 GB, free: 28.61 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001575/1.067, allocations: 424.4 kB / 1.239 GB, free: 28.48 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002438/1.07, allocations: 1.009 MB / 1.24 GB, free: 28.09 MB / 0.6355 GB Notification: Performance of Backend: time 1.313e-06/1.07, allocations: 0 / 1.24 GB, free: 28.09 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.007826/1.078, allocations: 1.96 MB / 1.242 GB, free: 27.18 MB / 0.6355 GB Notification: Performance of SimCode: time 0.01248/1.09, allocations: 4.71 MB / 1.246 GB, free: 24.13 MB / 0.6355 GB Notification: Performance of Templates: time 0.1025/1.193, allocations: 35.91 MB / 1.281 GB, free: 11.93 MB / 0.6511 GB