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.01012/0.01012, allocations: 220.3 kB / 15.17 MB, free: 6.012 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.001067/0.001067, allocations: 176.2 kB / 16.06 MB, free: 5.875 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.463/3.463, allocations: 389.1 MB / 405.9 MB, free: 67.55 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 4.063/4.063, allocations: 472.3 MB / 0.9018 GB, free: 13.29 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.000515/0.0005153, allocations: 12 kB / 1.008 GB, free: 0.7344 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4831/0.4837, allocations: 98.72 MB / 1.104 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.05648/0.5402, allocations: 61.17 MB / 1.164 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02487/0.5651, allocations: 17.88 MB / 1.181 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003096/0.5683, allocations: 79.5 kB / 1.181 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003131/0.5714, allocations: 0.9195 MB / 1.182 GB, free: 103.8 MB / 0.6823 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.009058/0.5805, allocations: 2.796 MB / 1.185 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01031/0.5908, allocations: 3.072 MB / 1.188 GB, free: 98.09 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006797/0.5976, allocations: 6.016 MB / 1.194 GB, free: 92.06 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002129/0.5998, allocations: 1.353 MB / 1.195 GB, free: 90.77 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002833/0.6027, allocations: 1.602 MB / 1.197 GB, free: 89.16 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001608/0.6043, allocations: 1.378 MB / 1.198 GB, free: 87.79 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002303/0.6045, allocations: 73.22 kB / 1.198 GB, free: 87.71 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003244/0.6078, allocations: 1.391 MB / 1.199 GB, free: 86.32 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004815/0.6083, allocations: 423.2 kB / 1.2 GB, free: 85.91 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005551/0.6089, allocations: 448.5 kB / 1.2 GB, free: 85.46 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003112/0.612, allocations: 2.662 MB / 1.203 GB, free: 82.79 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.899e-06/0.612, allocations: 4 kB / 1.203 GB, free: 82.79 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.488e-06/0.612, allocations: 1.625 kB / 1.203 GB, free: 82.79 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.202e-05/0.6121, allocations: 0 / 1.203 GB, free: 82.79 MB / 0.6823 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.003903/0.616, allocations: 2.339 MB / 1.205 GB, free: 80.39 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.616, allocations: 9.125 kB / 1.205 GB, free: 80.38 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00151/0.6175, allocations: 390.1 kB / 1.206 GB, free: 80 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003603/0.6212, allocations: 1.73 MB / 1.207 GB, free: 78.23 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004017/0.6216, allocations: 168.6 kB / 1.207 GB, free: 78.07 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002236/0.6218, allocations: 137.8 kB / 1.208 GB, free: 77.94 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00289/0.6247, allocations: 1.449 MB / 1.209 GB, free: 76.41 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.068e-05/0.6248, allocations: 9.438 kB / 1.209 GB, free: 76.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001428/0.625, allocations: 49.5 kB / 1.209 GB, free: 76.35 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.101e-05/0.625, allocations: 39.98 kB / 1.209 GB, free: 76.31 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002859/0.6279, allocations: 1.132 MB / 1.21 GB, free: 75.19 MB / 0.6823 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.008882/0.6368, allocations: 7.365 MB / 1.217 GB, free: 67.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002382/0.6392, allocations: 1.363 MB / 1.219 GB, free: 65.84 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001092/0.6403, allocations: 455.4 kB / 1.219 GB, free: 65.41 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004199/0.6445, allocations: 2.583 MB / 1.222 GB, free: 62.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001148/0.6457, allocations: 0.4908 MB / 1.222 GB, free: 62.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004996/0.6462, allocations: 87.25 kB / 1.222 GB, free: 62.02 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=62): time 3.808e-06/0.6462, allocations: 2.438 kB / 1.222 GB, free: 62.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=62): time 0.00354/0.6498, allocations: 1.275 MB / 1.223 GB, free: 60.73 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.6498, allocations: 189.8 kB / 1.224 GB, free: 60.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002259/0.6521, allocations: 1.514 MB / 1.225 GB, free: 58.99 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.621e-05/0.6522, allocations: 46.5 kB / 1.225 GB, free: 58.94 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006881/0.6529, allocations: 0.9076 MB / 1.226 GB, free: 58.02 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000188/0.6531, allocations: 222.2 kB / 1.226 GB, free: 57.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.475e-05/0.6532, allocations: 20 kB / 1.226 GB, free: 57.79 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.041e-05/0.6533, allocations: 342.8 kB / 1.227 GB, free: 57.45 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.6544, allocations: 389.3 kB / 1.227 GB, free: 57.07 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/0.6556, allocations: 0.761 MB / 1.228 GB, free: 56.16 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.6568, allocations: 0.499 MB / 1.228 GB, free: 55.68 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.547e-06/0.6568, allocations: 5.969 kB / 1.228 GB, free: 55.67 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003031/0.6599, allocations: 1.309 MB / 1.229 GB, free: 54.35 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001639/0.6601, allocations: 409.3 kB / 1.23 GB, free: 53.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.466e-05/0.6601, allocations: 11.98 kB / 1.23 GB, free: 53.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.017e-05/0.6601, allocations: 20 kB / 1.23 GB, free: 53.78 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.6613, allocations: 251.6 kB / 1.23 GB, free: 53.53 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-05/0.6613, allocations: 31.91 kB / 1.23 GB, free: 53.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/0.6629, allocations: 137.4 kB / 1.23 GB, free: 53.37 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.6631, allocations: 55.97 kB / 1.23 GB, free: 53.31 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.717e-06/0.6631, allocations: 4 kB / 1.23 GB, free: 53.31 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002614/0.6657, allocations: 1.132 MB / 1.231 GB, free: 52.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-05/0.6658, allocations: 12 kB / 1.231 GB, free: 52.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.6658, allocations: 16 kB / 1.232 GB, free: 52.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.6669, allocations: 256.1 kB / 1.232 GB, free: 51.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.017e-05/0.667, allocations: 19.94 kB / 1.232 GB, free: 51.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/0.6686, allocations: 128.5 kB / 1.232 GB, free: 51.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/0.6687, allocations: 53.3 kB / 1.232 GB, free: 51.7 MB / 0.6823 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.000901/0.6696, allocations: 0.4889 MB / 1.232 GB, free: 51.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002397/0.6699, allocations: 165.9 kB / 1.233 GB, free: 51.03 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002813/0.6727, allocations: 1.107 MB / 1.234 GB, free: 49.93 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/0.6727, allocations: 11.95 kB / 1.234 GB, free: 49.92 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.6727, allocations: 0 / 1.234 GB, free: 49.92 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002048/0.6748, allocations: 0.8076 MB / 1.234 GB, free: 49.1 MB / 0.6823 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.00536/0.6802, allocations: 2.662 MB / 1.237 GB, free: 46.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.88e-06/0.6802, allocations: 8.188 kB / 1.237 GB, free: 46.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.6812, allocations: 161.8 kB / 1.237 GB, free: 46.19 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002053/0.6815, allocations: 32.84 kB / 1.237 GB, free: 46.15 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.179e-05/0.6816, allocations: 27.92 kB / 1.237 GB, free: 46.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/0.6826, allocations: 1.386 MB / 1.239 GB, free: 44.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.175e-06/0.6826, allocations: 4 kB / 1.239 GB, free: 44.61 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003617/0.6863, allocations: 1.614 MB / 1.24 GB, free: 42.95 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007164/0.687, allocations: 366.6 kB / 1.241 GB, free: 42.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003434/0.6874, allocations: 23.94 kB / 1.241 GB, free: 42.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/0.6887, allocations: 117.4 kB / 1.241 GB, free: 42.44 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.6888, allocations: 58.03 kB / 1.241 GB, free: 42.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.769e-05/0.6889, allocations: 35.97 kB / 1.241 GB, free: 42.35 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001726/0.6907, allocations: 1.087 MB / 1.242 GB, free: 41.24 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.29e-07/0.6907, allocations: 0 / 1.242 GB, free: 41.24 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002875/0.6936, allocations: 0.9784 MB / 1.243 GB, free: 40.26 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (73): * Single equations (assignments): 65 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001145/0.6947, allocations: 0.5186 MB / 1.243 GB, free: 39.75 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003778/0.6985, allocations: 1.69 MB / 1.245 GB, free: 38.02 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.671e-06/0.6986, allocations: 4 kB / 1.245 GB, free: 38.02 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001327/0.6999, allocations: 0.5693 MB / 1.246 GB, free: 37.44 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00469/0.7046, allocations: 0.8709 MB / 1.246 GB, free: 36.59 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006384/0.711, allocations: 3.904 MB / 1.25 GB, free: 32.66 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009663/0.712, allocations: 1.452 MB / 1.252 GB, free: 31.17 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002204/0.7142, allocations: 420.7 kB / 1.252 GB, free: 30.78 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004352/0.7147, allocations: 147.3 kB / 1.252 GB, free: 30.64 MB / 0.6823 GB Notification: Performance of SimCode: time 1.473e-06/0.7147, allocations: 0 / 1.252 GB, free: 30.64 MB / 0.6823 GB Notification: Performance of Templates: time 0.5056/1.22, allocations: 33.58 MB / 1.285 GB, free: 167.5 MB / 0.6823 GB