Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.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.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01024/0.01024, allocations: 222.3 kB / 15.17 MB, free: 5.926 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.001049/0.001049, allocations: 176 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.482/3.482, allocations: 389.1 MB / 405.9 MB, free: 14.22 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.807/3.807, allocations: 472.3 MB / 0.9018 GB, free: 96 kB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005021/0.0005023, allocations: 16 kB / 1.008 GB, free: 4.215 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5312/0.5317, allocations: 98.71 MB / 1.104 GB, free: 206.5 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02903/0.5608, allocations: 26 MB / 1.129 GB, free: 188.2 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01157/0.5724, allocations: 7.18 MB / 1.136 GB, free: 183.1 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001432/0.5739, allocations: 32 kB / 1.136 GB, free: 183.1 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001374/0.5753, allocations: 364.9 kB / 1.137 GB, free: 182.9 MB / 0.7136 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Storage/BaseClasses/IndirectTankHeatExchanger.mo:96:13-96:26:writable] Warning: 'each' used when modifying non-array element T. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Storage/BaseClasses/IndirectTankHeatExchanger.mo:97:13-97:86:writable] Warning: 'each' used when modifying non-array element T. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Storage/BaseClasses/IndirectTankHeatExchanger.mo:99:13-99:92:writable] Warning: 'each' used when modifying non-array element der_T. [/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. [/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.003993/0.5793, allocations: 1.058 MB / 1.138 GB, free: 182.2 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003868/0.5832, allocations: 0.9781 MB / 1.139 GB, free: 181.6 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.006013/0.5892, allocations: 5.249 MB / 1.144 GB, free: 178.5 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002179/0.5915, allocations: 1.608 MB / 1.146 GB, free: 177.1 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002289/0.5938, allocations: 1.256 MB / 1.147 GB, free: 175.8 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001479/0.5953, allocations: 1.229 MB / 1.148 GB, free: 174.6 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001949/0.5955, allocations: 76 kB / 1.148 GB, free: 174.5 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002077/0.5976, allocations: 0.8218 MB / 1.149 GB, free: 173.7 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0003281/0.5979, allocations: 338.6 kB / 1.149 GB, free: 173.4 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0004329/0.5984, allocations: 420.7 kB / 1.15 GB, free: 172.9 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002707/0.6011, allocations: 2.733 MB / 1.152 GB, free: 170.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.204e-06/0.6011, allocations: 0 / 1.152 GB, free: 170.2 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.272e-06/0.6011, allocations: 0 / 1.152 GB, free: 170.2 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.85e-05/0.6012, allocations: 0 / 1.152 GB, free: 170.2 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.004161/0.6053, allocations: 2.133 MB / 1.154 GB, free: 168 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.6054, allocations: 8.031 kB / 1.154 GB, free: 168 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000853/0.6063, allocations: 233.5 kB / 1.155 GB, free: 167.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003124/0.6094, allocations: 1.69 MB / 1.156 GB, free: 166 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.348e-05/0.6095, allocations: 113.9 kB / 1.156 GB, free: 165.9 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002655/0.6098, allocations: 156 kB / 1.156 GB, free: 165.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003522/0.6133, allocations: 1.953 MB / 1.158 GB, free: 163.8 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.957e-05/0.6134, allocations: 7.938 kB / 1.158 GB, free: 163.8 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001627/0.6136, allocations: 56 kB / 1.158 GB, free: 163.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-05/0.6136, allocations: 40 kB / 1.158 GB, free: 163.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003138/0.6168, allocations: 1.782 MB / 1.16 GB, free: 161.9 MB / 0.7136 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.01225/0.6291, allocations: 7.573 MB / 1.168 GB, free: 154 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002019/0.6311, allocations: 1.354 MB / 1.169 GB, free: 152.7 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009844/0.6321, allocations: 0.6502 MB / 1.17 GB, free: 152.1 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006464/0.6386, allocations: 3.749 MB / 1.173 GB, free: 148 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.6387, allocations: 47.56 kB / 1.173 GB, free: 148 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=87): time 3.881e-06/0.6387, allocations: 0 / 1.173 GB, free: 148 MB / 0.7136 GB Notification: Performance of matching and sorting (n=87): time 0.002737/0.6414, allocations: 1.49 MB / 1.175 GB, free: 146.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.6415, allocations: 60.41 kB / 1.175 GB, free: 146.4 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002228/0.6437, allocations: 1.581 MB / 1.176 GB, free: 144.8 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001067/0.6438, allocations: 49.7 kB / 1.176 GB, free: 144.8 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005765/0.6444, allocations: 0.7573 MB / 1.177 GB, free: 144 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002601/0.6447, allocations: 315.5 kB / 1.177 GB, free: 143.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.793e-05/0.6448, allocations: 28 kB / 1.177 GB, free: 143.7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.6449, allocations: 365.9 kB / 1.178 GB, free: 143.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.6461, allocations: 0.6826 MB / 1.178 GB, free: 142.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/0.6474, allocations: 1.01 MB / 1.179 GB, free: 141.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/0.6488, allocations: 0.8726 MB / 1.18 GB, free: 140.6 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.683e-06/0.6489, allocations: 4 kB / 1.18 GB, free: 140.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.003437/0.6523, allocations: 1.94 MB / 1.182 GB, free: 138.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001478/0.6525, allocations: 355.6 kB / 1.182 GB, free: 138.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.6525, allocations: 8 kB / 1.182 GB, free: 138.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.924e-05/0.6525, allocations: 16 kB / 1.183 GB, free: 138.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/0.654, allocations: 339.4 kB / 1.183 GB, free: 137.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-05/0.6541, allocations: 23.92 kB / 1.183 GB, free: 137.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.6555, allocations: 222.5 kB / 1.183 GB, free: 137.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/0.6557, allocations: 60.59 kB / 1.183 GB, free: 137.6 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.129e-06/0.6557, allocations: 7.953 kB / 1.183 GB, free: 137.6 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002981/0.6587, allocations: 1.782 MB / 1.185 GB, free: 135.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.006e-05/0.6588, allocations: 9.656 kB / 1.185 GB, free: 135.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.6588, allocations: 20 kB / 1.185 GB, free: 135.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/0.6602, allocations: 331.5 kB / 1.185 GB, free: 135.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.286e-05/0.6602, allocations: 23.92 kB / 1.185 GB, free: 135.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/0.6616, allocations: 186.1 kB / 1.185 GB, free: 135.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/0.6618, allocations: 60.78 kB / 1.185 GB, free: 135.2 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (176): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001074/0.6629, allocations: 0.7495 MB / 1.186 GB, free: 134.4 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003044/0.6632, allocations: 154.1 kB / 1.186 GB, free: 134.3 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002223/0.6654, allocations: 1.272 MB / 1.188 GB, free: 133 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.6655, allocations: 9.062 kB / 1.188 GB, free: 133 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.6655, allocations: 4 kB / 1.188 GB, free: 133 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001627/0.6671, allocations: 1.265 MB / 1.189 GB, free: 131.6 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004599/0.6717, allocations: 2.878 MB / 1.192 GB, free: 128.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.862e-06/0.6718, allocations: 1.188 kB / 1.192 GB, free: 128.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009657/0.6727, allocations: 183.8 kB / 1.192 GB, free: 128.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/0.6728, allocations: 5.438 kB / 1.192 GB, free: 128.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.278e-05/0.6728, allocations: 27.17 kB / 1.192 GB, free: 128.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.09e-06/0.6729, allocations: 4 kB / 1.192 GB, free: 128.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.535e-06/0.6729, allocations: 7.125 kB / 1.192 GB, free: 128.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002856/0.6757, allocations: 1.889 MB / 1.194 GB, free: 126.6 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000802/0.6766, allocations: 414.8 kB / 1.194 GB, free: 126.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002662/0.6768, allocations: 20.56 kB / 1.194 GB, free: 126.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.6779, allocations: 75.77 kB / 1.194 GB, free: 126 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.678, allocations: 53.83 kB / 1.194 GB, free: 126 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.513e-05/0.6781, allocations: 35.92 kB / 1.194 GB, free: 126 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001786/0.6799, allocations: 1.183 MB / 1.195 GB, free: 124.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.54e-07/0.6799, allocations: 0 / 1.195 GB, free: 124.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002543/0.6825, allocations: 0.8967 MB / 1.196 GB, free: 123.9 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (indTanHex.vol[1].dynBal.U,indTanHex.vol[2].dynBal.U,indTanHex.vol[3].dynBal.U,indTanHex.cap[1].T,indTanHex.cap[2].T,indTanHex.cap[3].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.0007651/0.6833, allocations: 350.3 kB / 1.197 GB, free: 123.6 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003772/0.687, allocations: 2.304 MB / 1.199 GB, free: 121.3 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.005e-06/0.6871, allocations: 0 / 1.199 GB, free: 121.3 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008115/0.6879, allocations: 0.5197 MB / 1.199 GB, free: 120.7 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004246/0.6922, allocations: 0.871 MB / 1.2 GB, free: 120 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005912/0.6981, allocations: 4.337 MB / 1.204 GB, free: 115.8 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/0.6993, allocations: 1.696 MB / 1.206 GB, free: 114 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003045/0.7024, allocations: 0.9052 MB / 1.207 GB, free: 113.2 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004371/0.7028, allocations: 127.4 kB / 1.207 GB, free: 113.1 MB / 0.7136 GB Notification: Performance of SimCode: time 1.549e-06/0.7029, allocations: 0 / 1.207 GB, free: 113.1 MB / 0.7136 GB Notification: Performance of Templates: time 0.06167/0.7645, allocations: 32.57 MB / 1.239 GB, free: 81.62 MB / 0.7136 GB