Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Storage.Validation.HeatExchangerLocation.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.HeatExchangerLocation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Storage.Validation.HeatExchangerLocation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.414/4.414, allocations: 0.5623 GB / 0.5769 GB, free: 66.94 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002496/0.002495, allocations: 362.7 kB / 0.644 GB, free: 21.52 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.895/3.895, allocations: 410.7 MB / 1.112 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00177/0.00177, allocations: 178.2 kB / 1.225 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0004796/0.0004798, allocations: 15.88 kB / 1.348 GB, free: 320.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1528, allocations: 115.3 MB / 1.461 GB, free: 220.8 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.HeatExchangerLocation): time 0.09423/0.2471, allocations: 101.1 MB / 1.559 GB, free: 119.6 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.03788/0.285, allocations: 29.1 MB / 1.588 GB, free: 90.46 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004629/0.2897, allocations: 127.1 kB / 1.588 GB, free: 90.33 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.004671/0.2944, allocations: 1.44 MB / 1.589 GB, free: 88.88 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.01356/0.308, allocations: 4.291 MB / 1.594 GB, free: 84.57 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.01055/0.3186, allocations: 3.204 MB / 1.597 GB, free: 81.43 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.04821/0.3668, allocations: 60.53 MB / 1.656 GB, free: 20.73 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02602/0.3928, allocations: 18.84 MB / 1.674 GB, free: 1.793 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 1.157/1.55, allocations: 13.2 MB / 1.687 GB, free: 30.55 MB / 0.8074 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02686/1.577, allocations: 14.11 MB / 1.701 GB, free: 30.55 MB / 0.8074 GB Notification: Performance of NFPackage.collectConstants: time 0.005491/1.582, allocations: 0.9075 MB / 1.702 GB, free: 30.55 MB / 0.8074 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01515/1.598, allocations: 2.244 MB / 1.704 GB, free: 30.55 MB / 0.8074 GB Notification: Performance of NFScalarize.scalarize: time 0.008215/1.606, allocations: 3.973 MB / 1.708 GB, free: 30.55 MB / 0.8074 GB Notification: Performance of NFVerifyModel.verify: time 0.01014/1.616, allocations: 4.309 MB / 1.712 GB, free: 30.52 MB / 0.8074 GB Notification: Performance of NFConvertDAE.convert: time 0.03654/1.652, allocations: 31.44 MB / 1.743 GB, free: 28.1 MB / 0.8074 GB Notification: Performance of FrontEnd - DAE generated: time 6.471e-06/1.653, allocations: 0 / 1.743 GB, free: 28.1 MB / 0.8074 GB Notification: Performance of FrontEnd: time 2.736e-06/1.653, allocations: 6.703 kB / 1.743 GB, free: 28.1 MB / 0.8074 GB Notification: Performance of Transformations before backend: time 0.0008607/1.653, allocations: 1.156 kB / 1.743 GB, free: 28.1 MB / 0.8074 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4015 * Number of variables: 4015 Notification: Performance of Generate backend data structure: time 0.04919/1.703, allocations: 18.5 MB / 1.761 GB, free: 18.22 MB / 0.8074 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/1.703, allocations: 7.844 kB / 1.761 GB, free: 18.22 MB / 0.8074 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01193/1.715, allocations: 2.277 MB / 1.763 GB, free: 17.12 MB / 0.8074 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04852/1.763, allocations: 18.29 MB / 1.781 GB, free: 11.73 MB / 0.8074 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001317/1.765, allocations: 1.177 MB / 1.782 GB, free: 11.7 MB / 0.8074 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005636/1.77, allocations: 1.589 MB / 1.784 GB, free: 11.69 MB / 0.8074 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06233/1.833, allocations: 24 MB / 1.807 GB, free: 4.695 MB / 0.8074 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006912/1.833, allocations: 63.08 kB / 1.807 GB, free: 4.68 MB / 0.8074 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004581/1.838, allocations: 0.6538 MB / 1.808 GB, free: 4.68 MB / 0.8074 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000441/1.838, allocations: 465 kB / 1.808 GB, free: 4.656 MB / 0.8074 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0564/1.895, allocations: 21.1 MB / 1.829 GB, free: 11.86 MB / 0.823 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.1983/2.093, allocations: 99.36 MB / 1.926 GB, free: 12.73 MB / 0.9168 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03314/2.126, allocations: 14.79 MB / 1.94 GB, free: 14.16 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02081/2.147, allocations: 9.466 MB / 1.95 GB, free: 4.676 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07702/2.224, allocations: 28.1 MB / 1.977 GB, free: 7.871 MB / 0.9637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001726/2.224, allocations: 153.3 kB / 1.977 GB, free: 7.715 MB / 0.9637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008849/2.233, allocations: 0.9146 MB / 1.978 GB, free: 6.793 MB / 0.9637 GB Notification: Performance of pre-optimization done (n=893): time 2.657e-05/2.233, allocations: 4 kB / 1.978 GB, free: 6.789 MB / 0.9637 GB Notification: Performance of matching and sorting (n=893): time 0.05287/2.286, allocations: 19.38 MB / 1.997 GB, free: 3.348 MB / 0.9793 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/2.286, allocations: 142.4 kB / 1.997 GB, free: 3.195 MB / 0.9793 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03053/2.317, allocations: 13.78 MB / 2.011 GB, free: 5.461 MB / 0.9949 GB Notification: Performance of collectPreVariables (initialization): time 0.002203/2.319, allocations: 213.7 kB / 2.011 GB, free: 5.246 MB / 0.9949 GB Notification: Performance of collectInitialEqns (initialization): time 0.01054/2.33, allocations: 8.133 MB / 2.019 GB, free: 13.1 MB / 1.011 GB Notification: Performance of collectInitialBindings (initialization): time 0.005431/2.335, allocations: 3.104 MB / 2.022 GB, free: 10.02 MB / 1.011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001426/2.337, allocations: 260 kB / 2.022 GB, free: 9.762 MB / 1.011 GB Notification: Performance of setup shared object (initialization): time 0.001136/2.338, allocations: 0.8356 MB / 2.023 GB, free: 8.918 MB / 1.011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01563/2.353, allocations: 6.716 MB / 2.029 GB, free: 2.191 MB / 1.011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01998/2.373, allocations: 10.74 MB / 2.04 GB, free: 5.746 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01991/2.393, allocations: 8.885 MB / 2.048 GB, free: 12.93 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001165/2.394, allocations: 36 kB / 2.049 GB, free: 12.9 MB / 1.042 GB Notification: Performance of matching and sorting (n=1659) (initialization): time 0.6144/3.008, allocations: 19.75 MB / 2.068 GB, free: 376.5 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.002108/3.01, allocations: 3.805 MB / 2.072 GB, free: 371.9 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002246/3.01, allocations: 124.8 kB / 2.072 GB, free: 371.9 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002795/3.013, allocations: 0.8121 MB / 2.072 GB, free: 371.9 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01686/3.03, allocations: 2.974 MB / 2.075 GB, free: 371.9 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01149/3.042, allocations: 7.851 MB / 2.083 GB, free: 368.2 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01737/3.059, allocations: 1.147 MB / 2.084 GB, free: 368 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002938/3.062, allocations: 0.5922 MB / 2.085 GB, free: 367.9 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/3.062, allocations: 4.594 kB / 2.085 GB, free: 367.9 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04284/3.105, allocations: 18.57 MB / 2.103 GB, free: 361.4 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003134/3.105, allocations: 121.2 kB / 2.103 GB, free: 361.4 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002195/3.107, allocations: 0.7921 MB / 2.104 GB, free: 361.2 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01672/3.124, allocations: 2.975 MB / 2.107 GB, free: 360.9 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01364/3.138, allocations: 8.889 MB / 2.115 GB, free: 354.8 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01708/3.155, allocations: 1.111 MB / 2.116 GB, free: 354.6 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002984/3.158, allocations: 0.5912 MB / 2.117 GB, free: 354.5 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 561 * 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 (1607): * Single equations (assignments): 1604 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 24,(1,100.0%) 24} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.01662/3.175, allocations: 6.914 MB / 2.124 GB, free: 351.6 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004041/3.179, allocations: 1.347 MB / 2.125 GB, free: 351.6 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03275/3.211, allocations: 14.62 MB / 2.139 GB, free: 346 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.646e-05/3.211, allocations: 86.81 kB / 2.139 GB, free: 346 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.104e-05/3.212, allocations: 6.562 kB / 2.139 GB, free: 346 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02474/3.236, allocations: 12.15 MB / 2.151 GB, free: 340.4 MB / 1.042 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.07427/3.311, allocations: 32.38 MB / 2.183 GB, free: 313.1 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.564e-05/3.311, allocations: 4 kB / 2.183 GB, free: 313.1 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01142/3.322, allocations: 1.795 MB / 2.185 GB, free: 311.3 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001836/3.324, allocations: 0.6119 MB / 2.185 GB, free: 310.7 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001531/3.326, allocations: 243.8 kB / 2.186 GB, free: 310.5 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009173/3.335, allocations: 7.61 MB / 2.193 GB, free: 302.7 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.247e-06/3.335, allocations: 0 / 2.193 GB, free: 302.7 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04284/3.378, allocations: 22.12 MB / 2.215 GB, free: 280.5 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01082/3.388, allocations: 3.358 MB / 2.218 GB, free: 277.2 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004515/3.393, allocations: 195.9 kB / 2.218 GB, free: 277 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01484/3.408, allocations: 0.9954 MB / 2.219 GB, free: 276 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002103/3.41, allocations: 0.5062 MB / 2.219 GB, free: 275.5 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0013/3.411, allocations: 367.7 kB / 2.22 GB, free: 275.2 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.02116/3.433, allocations: 10.01 MB / 2.23 GB, free: 265.2 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.595e-06/3.433, allocations: 0 / 2.23 GB, free: 265.2 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0434/3.476, allocations: 9.247 MB / 2.239 GB, free: 256.2 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 48 (tan_aTop.vol[1].dynBal.U,tan_aTop.vol[2].dynBal.U,tan_aTop.vol[3].dynBal.U,tan_aTop.vol[4].dynBal.U,tan_aTop.vol[5].dynBal.U,tan_aTop.vol[6].dynBal.U,tan_aTop.vol[7].dynBal.U,tan_aTop.vol[8].dynBal.U,tan_aTop.vol[9].dynBal.U,tan_aTop.vol[10].dynBal.U,tan_aTop.vol[11].dynBal.U,tan_aTop.vol[12].dynBal.U,tan_aTop.indTanHex.vol[1].dynBal.U,tan_aTop.indTanHex.vol[2].dynBal.U,tan_aTop.indTanHex.vol[3].dynBal.U,tan_aTop.indTanHex.vol[4].dynBal.U,tan_aTop.indTanHex.vol[5].dynBal.U,tan_aTop.indTanHex.vol[6].dynBal.U,tan_aTop.indTanHex.cap[1].T,tan_aTop.indTanHex.cap[2].T,tan_aTop.indTanHex.cap[3].T,tan_aTop.indTanHex.cap[4].T,tan_aTop.indTanHex.cap[5].T,tan_aTop.indTanHex.cap[6].T,tan_bTop.vol[1].dynBal.U,tan_bTop.vol[2].dynBal.U,tan_bTop.vol[3].dynBal.U,tan_bTop.vol[4].dynBal.U,tan_bTop.vol[5].dynBal.U,tan_bTop.vol[6].dynBal.U,tan_bTop.vol[7].dynBal.U,tan_bTop.vol[8].dynBal.U,tan_bTop.vol[9].dynBal.U,tan_bTop.vol[10].dynBal.U,tan_bTop.vol[11].dynBal.U,tan_bTop.vol[12].dynBal.U,tan_bTop.indTanHex.vol[1].dynBal.U,tan_bTop.indTanHex.vol[2].dynBal.U,tan_bTop.indTanHex.vol[3].dynBal.U,tan_bTop.indTanHex.vol[4].dynBal.U,tan_bTop.indTanHex.vol[5].dynBal.U,tan_bTop.indTanHex.vol[6].dynBal.U,tan_bTop.indTanHex.cap[1].T,tan_bTop.indTanHex.cap[2].T,tan_bTop.indTanHex.cap[3].T,tan_bTop.indTanHex.cap[4].T,tan_bTop.indTanHex.cap[5].T,tan_bTop.indTanHex.cap[6].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 (862): * Single equations (assignments): 850 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 24,(1,100.0%) 24} * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003709/3.48, allocations: 0.9885 MB / 2.24 GB, free: 255.4 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.04951/3.529, allocations: 25.38 MB / 2.264 GB, free: 230 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.582e-05/3.529, allocations: 9 kB / 2.264 GB, free: 229.9 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.01306/3.542, allocations: 6.724 MB / 2.271 GB, free: 223.2 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04635/3.589, allocations: 8.718 MB / 2.279 GB, free: 214.7 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07845/3.667, allocations: 45.66 MB / 2.324 GB, free: 168.9 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02/3.687, allocations: 11.83 MB / 2.336 GB, free: 157.1 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.03811/3.725, allocations: 8.925 MB / 2.344 GB, free: 148.2 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005987/3.731, allocations: 1.163 MB / 2.345 GB, free: 147 MB / 1.042 GB Notification: Performance of SimCode: time 1.892e-06/3.732, allocations: 0 / 2.345 GB, free: 147 MB / 1.042 GB Notification: Performance of Templates: time 1.168/4.9, allocations: 295.5 MB / 2.634 GB, free: 252.2 MB / 1.042 GB