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.01025/0.01025, allocations: 219.6 kB / 15.17 MB, free: 5.93 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.001075/0.001075, allocations: 180 kB / 16.06 MB, free: 5.832 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.346/3.346, allocations: 389.1 MB / 405.9 MB, free: 67.64 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.957/3.957, allocations: 472.3 MB / 0.9018 GB, free: 87.63 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004709/0.000471, allocations: 12.09 kB / 1.008 GB, free: 37.3 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1521, allocations: 98.73 MB / 1.104 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.06651/0.2187, allocations: 48.65 MB / 1.152 GB, free: 11.04 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.03047/0.2492, allocations: 16.36 MB / 1.168 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00314/0.2524, allocations: 75.5 kB / 1.168 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.00374/0.2561, allocations: 0.8715 MB / 1.168 GB, free: 9.707 MB / 0.5886 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.009218/0.2654, allocations: 2.436 MB / 1.171 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.01092/0.2763, allocations: 2.925 MB / 1.174 GB, free: 4.332 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.008481/0.2848, allocations: 5.195 MB / 1.179 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002586/0.2874, allocations: 1.222 MB / 1.18 GB, free: 13.87 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003598/0.2911, allocations: 1.481 MB / 1.181 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002458/0.2936, allocations: 1.256 MB / 1.183 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003096/0.2939, allocations: 72 kB / 1.183 GB, free: 11.05 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003761/0.2977, allocations: 1.337 MB / 1.184 GB, free: 9.711 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0006894/0.2984, allocations: 410.3 kB / 1.184 GB, free: 9.309 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0007663/0.2992, allocations: 408.6 kB / 1.185 GB, free: 8.902 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004361/0.3035, allocations: 2.42 MB / 1.187 GB, free: 6.477 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.945e-06/0.3036, allocations: 0 / 1.187 GB, free: 6.477 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.609e-06/0.3036, allocations: 0 / 1.187 GB, free: 6.477 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.531e-05/0.3036, allocations: 0 / 1.187 GB, free: 6.477 MB / 0.6042 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.005103/0.3087, allocations: 2.239 MB / 1.189 GB, free: 4.164 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.3088, allocations: 8.031 kB / 1.189 GB, free: 4.156 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002654/0.3115, allocations: 489 kB / 1.19 GB, free: 3.676 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004367/0.3158, allocations: 1.59 MB / 1.191 GB, free: 2.035 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004715/0.3164, allocations: 158.2 kB / 1.192 GB, free: 1.879 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00025/0.3166, allocations: 119.9 kB / 1.192 GB, free: 1.762 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003507/0.3201, allocations: 1.395 MB / 1.193 GB, free: 276 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/0.3202, allocations: 0 / 1.193 GB, free: 276 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001601/0.3204, allocations: 48 kB / 1.193 GB, free: 228 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.255e-05/0.3204, allocations: 31.98 kB / 1.193 GB, free: 196 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00367/0.3241, allocations: 1.128 MB / 1.194 GB, free: 15.05 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.01238/0.3365, allocations: 7.002 MB / 1.201 GB, free: 7.516 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003414/0.34, allocations: 1.431 MB / 1.202 GB, free: 5.977 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/0.3413, allocations: 427.1 kB / 1.203 GB, free: 5.559 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006366/0.3477, allocations: 3.06 MB / 1.206 GB, free: 2.156 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001389/0.3491, allocations: 466.7 kB / 1.206 GB, free: 1.691 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005482/0.3497, allocations: 87.34 kB / 1.206 GB, free: 1.605 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=59): time 3.916e-06/0.3497, allocations: 0 / 1.206 GB, free: 1.605 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59): time 0.00424/0.3539, allocations: 1.283 MB / 1.208 GB, free: 300 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.3541, allocations: 141 kB / 1.208 GB, free: 128 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002982/0.3571, allocations: 1.57 MB / 1.209 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001568/0.3573, allocations: 45.7 kB / 1.209 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001045/0.3583, allocations: 0.8918 MB / 1.21 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002717/0.3586, allocations: 208.9 kB / 1.21 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.25e-05/0.3587, allocations: 20 kB / 1.21 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000201/0.3589, allocations: 345.9 kB / 1.211 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/0.3602, allocations: 393.8 kB / 1.211 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001684/0.3619, allocations: 0.7931 MB / 1.212 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.3634, allocations: 0.5257 MB / 1.212 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/0.3634, allocations: 4 kB / 1.212 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003862/0.3673, allocations: 1.37 MB / 1.214 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004076/0.3677, allocations: 462.8 kB / 1.214 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.257e-05/0.3678, allocations: 12 kB / 1.214 GB, free: 9.113 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.823e-05/0.3678, allocations: 20 kB / 1.214 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/0.3692, allocations: 275.6 kB / 1.214 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.443e-05/0.3692, allocations: 23.88 kB / 1.214 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/0.3709, allocations: 140.1 kB / 1.215 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/0.3711, allocations: 59.97 kB / 1.215 GB, free: 8.609 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.3711, allocations: 4 kB / 1.215 GB, free: 8.605 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003328/0.3744, allocations: 1.178 MB / 1.216 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.917e-05/0.3745, allocations: 12 kB / 1.216 GB, free: 7.402 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.775e-05/0.3745, allocations: 24.52 kB / 1.216 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/0.3758, allocations: 263.5 kB / 1.216 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.065e-05/0.3758, allocations: 23.94 kB / 1.216 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/0.3774, allocations: 132.3 kB / 1.216 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/0.3776, allocations: 55.98 kB / 1.216 GB, free: 6.914 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.001089/0.3787, allocations: 492.6 kB / 1.217 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003078/0.379, allocations: 165.9 kB / 1.217 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003575/0.3826, allocations: 1.154 MB / 1.218 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/0.3826, allocations: 8 kB / 1.218 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.3827, allocations: 0 / 1.218 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002709/0.3854, allocations: 1.001 MB / 1.219 GB, free: 4.031 MB / 0.6355 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.006187/0.3916, allocations: 2.405 MB / 1.221 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.3916, allocations: 0 / 1.221 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009946/0.3926, allocations: 155.9 kB / 1.222 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002211/0.3929, allocations: 32.78 kB / 1.222 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.023e-05/0.393, allocations: 23.98 kB / 1.222 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4386/0.8316, allocations: 1.363 MB / 1.223 GB, free: 112.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.8316, allocations: 0.7031 kB / 1.223 GB, free: 112.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005171/0.8368, allocations: 1.599 MB / 1.224 GB, free: 112.6 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008393/0.8377, allocations: 349.2 kB / 1.225 GB, free: 112.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003489/0.838, allocations: 16.53 kB / 1.225 GB, free: 112.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001537/0.8396, allocations: 112.9 kB / 1.225 GB, free: 112.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/0.8398, allocations: 58.81 kB / 1.225 GB, free: 112.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-05/0.8399, allocations: 28.2 kB / 1.225 GB, free: 112.5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001948/0.8419, allocations: 1.109 MB / 1.226 GB, free: 112.4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.535e-06/0.8419, allocations: 0 / 1.226 GB, free: 112.4 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003208/0.8451, allocations: 0.9098 MB / 1.227 GB, free: 112.4 MB / 0.6355 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) * Number of clocked states: 0 () * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001728/0.8468, allocations: 0.6277 MB / 1.228 GB, free: 112.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004227/0.8511, allocations: 1.824 MB / 1.229 GB, free: 111.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.071e-06/0.8511, allocations: 0 / 1.229 GB, free: 111.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001457/0.8526, allocations: 0.559 MB / 1.23 GB, free: 111.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004123/0.8567, allocations: 0.7363 MB / 1.231 GB, free: 111.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00718/0.8639, allocations: 3.766 MB / 1.234 GB, free: 110.2 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001347/0.8653, allocations: 1.405 MB / 1.236 GB, free: 109.4 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002444/0.8678, allocations: 418.8 kB / 1.236 GB, free: 109.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005102/0.8683, allocations: 137.4 kB / 1.236 GB, free: 109.3 MB / 0.6355 GB Notification: Performance of SimCode: time 1.784e-06/0.8683, allocations: 0 / 1.236 GB, free: 109.3 MB / 0.6355 GB Notification: Performance of Templates: time 0.07103/0.9394, allocations: 30.82 MB / 1.266 GB, free: 92.61 MB / 0.6355 GB