Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001633/0.001634, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002071/0.002071, allocations: 192.2 kB / 16.13 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.932/2.932, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 67.03 kB / 0.9114 GB, free: 33.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4281/0.4294, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02916/0.4586, allocations: 28.46 MB / 1.095 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01231/0.471, allocations: 7.985 MB / 1.103 GB, free: 6.363 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001753/0.4728, allocations: 35.75 kB / 1.103 GB, free: 6.328 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001272/0.4741, allocations: 334.1 kB / 1.103 GB, free: 6 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003069/0.4772, allocations: 0.9247 MB / 1.104 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002934/0.4801, allocations: 0.9299 MB / 1.105 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.006246/0.4864, allocations: 6.095 MB / 1.111 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002618/0.489, allocations: 1.854 MB / 1.113 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003313/0.4924, allocations: 1.393 MB / 1.114 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002669/0.4951, allocations: 1.377 MB / 1.116 GB, free: 9.359 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002901/0.4954, allocations: 104 kB / 1.116 GB, free: 9.258 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002858/0.4982, allocations: 1.162 MB / 1.117 GB, free: 8.094 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004832/0.4988, allocations: 414.3 kB / 1.117 GB, free: 7.688 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001647/0.5004, allocations: 1.011 MB / 1.118 GB, free: 6.672 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004274/0.5047, allocations: 3.541 MB / 1.122 GB, free: 3.121 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.5047, allocations: 0 / 1.122 GB, free: 3.121 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.814e-06/0.5047, allocations: 0 / 1.122 GB, free: 3.121 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.758e-05/0.5048, allocations: 0 / 1.122 GB, free: 3.121 MB / 0.8731 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.005158/0.51, allocations: 2.553 MB / 1.124 GB, free: 0.5117 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.51, allocations: 15.95 kB / 1.124 GB, free: 0.4961 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008091/0.5108, allocations: 234.5 kB / 1.125 GB, free: 272 kB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00279/0.5136, allocations: 1.765 MB / 1.126 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.83e-05/0.5137, allocations: 114.7 kB / 1.126 GB, free: 14.33 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002295/0.514, allocations: 155.9 kB / 1.127 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003513/0.5175, allocations: 1.994 MB / 1.128 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.145e-05/0.5176, allocations: 7.938 kB / 1.128 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001524/0.5177, allocations: 56 kB / 1.129 GB, free: 12.06 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.684e-05/0.5178, allocations: 47.92 kB / 1.129 GB, free: 12.01 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003007/0.5208, allocations: 1.798 MB / 1.13 GB, free: 10.21 MB / 0.8887 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.01234/0.5332, allocations: 7.586 MB / 1.138 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001882/0.5351, allocations: 1.448 MB / 1.139 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008596/0.536, allocations: 0.6631 MB / 1.14 GB, free: 172 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006641/0.5426, allocations: 3.831 MB / 1.144 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/0.5427, allocations: 43.56 kB / 1.144 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=88): time 3.827e-06/0.5427, allocations: 3.938 kB / 1.144 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of matching and sorting (n=88): time 0.002655/0.5454, allocations: 1.51 MB / 1.145 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.5454, allocations: 60.41 kB / 1.145 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002625/0.5481, allocations: 1.606 MB / 1.147 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001496/0.5482, allocations: 49.7 kB / 1.147 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007046/0.5489, allocations: 0.7615 MB / 1.147 GB, free: 7.938 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.000336/0.5493, allocations: 323.4 kB / 1.148 GB, free: 7.617 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004911/0.5498, allocations: 295.3 kB / 1.148 GB, free: 7.324 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.5499, allocations: 361.9 kB / 1.148 GB, free: 6.965 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/0.551, allocations: 0.6917 MB / 1.149 GB, free: 6.27 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/0.5524, allocations: 1.02 MB / 1.15 GB, free: 5.117 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002194/0.5546, allocations: 1.62 MB / 1.152 GB, free: 3.375 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.707e-05/0.5546, allocations: 7.938 kB / 1.152 GB, free: 3.367 MB / 0.9044 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003494/0.5581, allocations: 1.951 MB / 1.154 GB, free: 1.406 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.5581, allocations: 8 kB / 1.154 GB, free: 1.398 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/0.5582, allocations: 11.98 kB / 1.154 GB, free: 1.387 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.842e-05/0.5582, allocations: 16.75 kB / 1.154 GB, free: 1.371 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/0.5595, allocations: 335.5 kB / 1.154 GB, free: 1.043 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.02e-05/0.5596, allocations: 27.92 kB / 1.154 GB, free: 1.016 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/0.5612, allocations: 214.1 kB / 1.154 GB, free: 0.8047 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/0.5613, allocations: 59.98 kB / 1.154 GB, free: 0.7461 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002152/0.5635, allocations: 1.284 MB / 1.155 GB, free: 15.45 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001349/0.5649, allocations: 1.02 MB / 1.156 GB, free: 14.31 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002194/0.5671, allocations: 1.62 MB / 1.158 GB, free: 12.57 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.048e-05/0.5671, allocations: 4 kB / 1.158 GB, free: 12.56 MB / 0.92 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003359/0.5704, allocations: 1.94 MB / 1.16 GB, free: 10.61 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.5705, allocations: 8.188 kB / 1.16 GB, free: 10.61 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.5705, allocations: 16 kB / 1.16 GB, free: 10.59 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.5705, allocations: 12 kB / 1.16 GB, free: 10.58 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.5718, allocations: 335.5 kB / 1.16 GB, free: 10.25 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.478e-05/0.5718, allocations: 23.92 kB / 1.16 GB, free: 10.23 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/0.5735, allocations: 171 kB / 1.16 GB, free: 10.06 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001483/0.5736, allocations: 60 kB / 1.161 GB, free: 10 MB / 0.92 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 (175): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003921/0.574, allocations: 263.8 kB / 1.161 GB, free: 9.734 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005917/0.5746, allocations: 154.1 kB / 1.161 GB, free: 9.582 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002297/0.5769, allocations: 1.28 MB / 1.162 GB, free: 8.289 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/0.5769, allocations: 12 kB / 1.162 GB, free: 8.277 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/0.577, allocations: 0 / 1.162 GB, free: 8.277 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001496/0.5785, allocations: 1.284 MB / 1.163 GB, free: 6.902 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005355/0.5838, allocations: 2.939 MB / 1.166 GB, free: 3.891 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/0.5839, allocations: 11.97 kB / 1.166 GB, free: 3.879 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008052/0.5847, allocations: 179.8 kB / 1.167 GB, free: 3.703 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.718e-05/0.5847, allocations: 7.938 kB / 1.167 GB, free: 3.695 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.707e-05/0.5848, allocations: 23.98 kB / 1.167 GB, free: 3.672 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.071e-05/0.5848, allocations: 7.984 kB / 1.167 GB, free: 3.664 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.5848, allocations: 8.062 kB / 1.167 GB, free: 3.656 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002817/0.5876, allocations: 1.913 MB / 1.168 GB, free: 1.711 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009228/0.5886, allocations: 398.8 kB / 1.169 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004441/0.589, allocations: 23.98 kB / 1.169 GB, free: 1.277 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/0.5902, allocations: 79.7 kB / 1.169 GB, free: 1.199 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.5903, allocations: 60.88 kB / 1.169 GB, free: 1.141 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.104e-05/0.5904, allocations: 31.97 kB / 1.169 GB, free: 1.109 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002195/0.5926, allocations: 1.207 MB / 1.17 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of sort global known variables: time 6.51e-07/0.5926, allocations: 3.938 kB / 1.17 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003453/0.5961, allocations: 0.9124 MB / 1.171 GB, free: 14.98 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (89): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001045/0.5971, allocations: 361.8 kB / 1.171 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004107/0.6013, allocations: 2.317 MB / 1.174 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.6013, allocations: 4 kB / 1.174 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000791/0.6021, allocations: 0.5209 MB / 1.174 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004633/0.6067, allocations: 0.8647 MB / 1.175 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007095/0.6138, allocations: 4.293 MB / 1.179 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001761/0.6156, allocations: 1.678 MB / 1.181 GB, free: 4.902 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.003226/0.6189, allocations: 0.9197 MB / 1.182 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000597/0.6195, allocations: 135.4 kB / 1.182 GB, free: 3.863 MB / 0.9356 GB Notification: Performance of SimCode: time 1.353e-06/0.6195, allocations: 0 / 1.182 GB, free: 3.863 MB / 0.9356 GB Notification: Performance of Templates: time 0.05911/0.6786, allocations: 34.13 MB / 1.215 GB, free: 2.07 MB / 0.9669 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f Buildings_1.6_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_1.6_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)