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.006458/0.006458, allocations: 234.9 kB / 15.8 MB, free: 6.281 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.001721/0.001721, allocations: 184.2 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.919/3.919, 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 3.899/3.899, allocations: 472.3 MB / 0.9024 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.000641/0.0006412, allocations: 8 kB / 1.008 GB, free: 177 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1658, allocations: 98.72 MB / 1.105 GB, free: 80.6 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.03418/0.2, allocations: 26 MB / 1.13 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01265/0.2127, allocations: 7.182 MB / 1.137 GB, free: 47.44 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001334/0.2141, allocations: 31.75 kB / 1.137 GB, free: 47.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00171/0.2158, allocations: 373 kB / 1.137 GB, free: 47.04 MB / 0.6042 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.004175/0.22, allocations: 1.05 MB / 1.138 GB, free: 46 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004235/0.2243, allocations: 0.9831 MB / 1.139 GB, free: 45.04 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.006692/0.231, allocations: 5.248 MB / 1.145 GB, free: 39.78 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00275/0.2338, allocations: 1.604 MB / 1.146 GB, free: 38.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003025/0.2369, allocations: 1.255 MB / 1.147 GB, free: 37.02 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002546/0.2395, allocations: 1.239 MB / 1.149 GB, free: 35.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0004407/0.2399, allocations: 76 kB / 1.149 GB, free: 35.7 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002966/0.2429, allocations: 0.8109 MB / 1.149 GB, free: 34.89 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0007368/0.2437, allocations: 346 kB / 1.15 GB, free: 34.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0007843/0.2445, allocations: 420.7 kB / 1.15 GB, free: 34.13 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004166/0.2487, allocations: 2.728 MB / 1.153 GB, free: 31.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.2488, allocations: 0 / 1.153 GB, free: 31.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.897e-06/0.2488, allocations: 0 / 1.153 GB, free: 31.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001019/0.2489, allocations: 3.938 kB / 1.153 GB, free: 31.39 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: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.006488/0.2554, allocations: 2.126 MB / 1.155 GB, free: 29.22 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.2554, allocations: 11.38 kB / 1.155 GB, free: 29.21 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/0.2568, allocations: 237.5 kB / 1.155 GB, free: 28.98 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004723/0.2616, allocations: 1.691 MB / 1.157 GB, free: 27.24 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.2617, allocations: 110.7 kB / 1.157 GB, free: 27.13 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004601/0.2622, allocations: 148 kB / 1.157 GB, free: 26.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004848/0.2671, allocations: 1.954 MB / 1.159 GB, free: 24.97 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.962e-05/0.2672, allocations: 3.938 kB / 1.159 GB, free: 24.96 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002065/0.2674, allocations: 60.62 kB / 1.159 GB, free: 24.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-05/0.2675, allocations: 38.5 kB / 1.159 GB, free: 24.87 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004458/0.2719, allocations: 1.79 MB / 1.161 GB, free: 23.07 MB / 0.6042 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.0174/0.2894, allocations: 7.571 MB / 1.168 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002793/0.2922, allocations: 1.346 MB / 1.169 GB, free: 13.89 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001321/0.2936, allocations: 0.6508 MB / 1.17 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009425/0.303, allocations: 3.749 MB / 1.174 GB, free: 9.195 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.706e-05/0.3031, allocations: 45.09 kB / 1.174 GB, free: 9.145 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=87): time 4.859e-06/0.3032, allocations: 0 / 1.174 GB, free: 9.145 MB / 0.6042 GB Notification: Performance of matching and sorting (n=87): time 0.003655/0.3068, allocations: 1.486 MB / 1.175 GB, free: 7.66 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.3069, allocations: 69.98 kB / 1.175 GB, free: 7.582 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002894/0.3098, allocations: 1.578 MB / 1.177 GB, free: 5.992 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.000255/0.3101, allocations: 45.7 kB / 1.177 GB, free: 5.941 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008071/0.3109, allocations: 0.7534 MB / 1.178 GB, free: 5.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004341/0.3114, allocations: 310.8 kB / 1.178 GB, free: 4.875 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.3115, allocations: 28 kB / 1.178 GB, free: 4.848 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.3117, allocations: 369.8 kB / 1.178 GB, free: 4.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001572/0.3132, allocations: 0.6792 MB / 1.179 GB, free: 3.801 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001918/0.3152, allocations: 1.016 MB / 1.18 GB, free: 2.664 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002001/0.3172, allocations: 0.8773 MB / 1.181 GB, free: 1.805 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.308e-05/0.3173, allocations: 0 / 1.181 GB, free: 1.805 MB / 0.6042 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.5567/0.874, allocations: 1.936 MB / 1.183 GB, free: 80.08 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002239/0.8743, allocations: 359.3 kB / 1.183 GB, free: 79.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.221e-05/0.8743, allocations: 9.812 kB / 1.183 GB, free: 79.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.892e-05/0.8744, allocations: 17.89 kB / 1.183 GB, free: 79.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00282/0.8772, allocations: 339.1 kB / 1.183 GB, free: 79.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-05/0.8773, allocations: 20.97 kB / 1.183 GB, free: 79.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002467/0.8797, allocations: 219.6 kB / 1.184 GB, free: 79.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003258/0.8801, allocations: 58.92 kB / 1.184 GB, free: 79.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.8801, allocations: 3.812 kB / 1.184 GB, free: 79.68 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004982/0.8851, allocations: 1.793 MB / 1.185 GB, free: 79.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.531e-05/0.8852, allocations: 9.094 kB / 1.185 GB, free: 79.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.874e-05/0.8852, allocations: 17.22 kB / 1.185 GB, free: 79.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002685/0.8879, allocations: 336.1 kB / 1.186 GB, free: 79.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.045e-05/0.888, allocations: 23.95 kB / 1.186 GB, free: 79.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002193/0.8902, allocations: 186 kB / 1.186 GB, free: 79.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002664/0.8905, allocations: 59.59 kB / 1.186 GB, free: 79.59 MB / 0.6042 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.001642/0.8922, allocations: 0.7491 MB / 1.187 GB, free: 79.19 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005562/0.8927, allocations: 148.2 kB / 1.187 GB, free: 79.19 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00339/0.8961, allocations: 1.273 MB / 1.188 GB, free: 78.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002398/0.8986, allocations: 1.279 MB / 1.189 GB, free: 77.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.8986, allocations: 1.281 kB / 1.189 GB, free: 77.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001225/0.8999, allocations: 400 kB / 1.19 GB, free: 77.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000578/0.9005, allocations: 19.75 kB / 1.19 GB, free: 77.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001873/0.9024, allocations: 67.53 kB / 1.19 GB, free: 77.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003168/0.9027, allocations: 46.58 kB / 1.19 GB, free: 77.67 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004258/0.907, allocations: 1.241 MB / 1.191 GB, free: 77.22 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004955/0.912, allocations: 2.001 MB / 1.193 GB, free: 76.34 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001275/0.9134, allocations: 0.5135 MB / 1.194 GB, free: 76.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002821/0.9162, allocations: 1.113 MB / 1.195 GB, free: 75.74 MB / 0.6042 GB Notification: Performance of Backend: time 1.733e-06/0.9163, allocations: 3.438 kB / 1.195 GB, free: 75.74 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.007346/0.9236, allocations: 2.269 MB / 1.197 GB, free: 75.05 MB / 0.6042 GB Notification: Performance of SimCode: time 0.01348/0.9371, allocations: 5.001 MB / 1.202 GB, free: 72.65 MB / 0.6042 GB Notification: Performance of Templates: time 0.09452/1.032, allocations: 37.83 MB / 1.239 GB, free: 49.61 MB / 0.6042 GB