Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.605/1.605, allocations: 288.4 MB / 303.7 MB, free: 8.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009595/0.0009597, allocations: 187.8 kB / 372.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.609/1.609, allocations: 205.4 MB / 0.631 GB, free: 9.891 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009235/0.0009234, allocations: 94.91 kB / 0.7444 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004257/0.0004257, allocations: 12.16 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2721, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02052/0.2927, allocations: 26.28 MB / 1.006 GB, free: 0.9883 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01144/0.3042, allocations: 7.331 MB / 1.013 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001459/0.3058, allocations: 35.75 kB / 1.013 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.3069, allocations: 286.1 kB / 1.013 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002902/0.3098, allocations: 0.8505 MB / 1.014 GB, free: 8.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002799/0.3126, allocations: 0.7937 MB / 1.015 GB, free: 7.691 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005515/0.3181, allocations: 5.244 MB / 1.02 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002536/0.3207, allocations: 1.798 MB / 1.022 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002885/0.3236, allocations: 1.319 MB / 1.023 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001984/0.3256, allocations: 1.225 MB / 1.024 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001921/0.3258, allocations: 83.94 kB / 1.024 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002473/0.3283, allocations: 1.096 MB / 1.025 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0004172/0.3287, allocations: 354.5 kB / 1.026 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001384/0.3301, allocations: 0.931 MB / 1.027 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003504/0.3336, allocations: 2.837 MB / 1.029 GB, free: 8.734 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.3336, allocations: 0 / 1.029 GB, free: 8.734 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.865e-06/0.3336, allocations: 0 / 1.029 GB, free: 8.734 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.803e-05/0.3337, allocations: 0 / 1.029 GB, free: 8.734 MB / 0.6511 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.004699/0.3384, allocations: 2.129 MB / 1.031 GB, free: 6.551 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/0.3385, allocations: 8.031 kB / 1.031 GB, free: 6.543 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007105/0.3392, allocations: 230.5 kB / 1.032 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002819/0.342, allocations: 1.744 MB / 1.033 GB, free: 4.52 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.193e-05/0.3421, allocations: 118.7 kB / 1.034 GB, free: 4.402 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002272/0.3424, allocations: 151.9 kB / 1.034 GB, free: 4.254 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002982/0.3453, allocations: 1.982 MB / 1.036 GB, free: 2.207 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.468e-05/0.3454, allocations: 4 kB / 1.036 GB, free: 2.203 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.3455, allocations: 56 kB / 1.036 GB, free: 2.148 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.817e-05/0.3456, allocations: 43.98 kB / 1.036 GB, free: 2.105 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002672/0.3483, allocations: 1.786 MB / 1.037 GB, free: 320 kB / 0.6511 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.01188/0.3602, allocations: 7.617 MB / 1.045 GB, free: 8.387 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001855/0.362, allocations: 1.436 MB / 1.046 GB, free: 6.926 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008652/0.3629, allocations: 0.6601 MB / 1.047 GB, free: 6.266 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006577/0.3695, allocations: 3.851 MB / 1.051 GB, free: 2.094 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.729e-05/0.3696, allocations: 39.56 kB / 1.051 GB, free: 2.047 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=88): time 2.986e-06/0.3696, allocations: 4 kB / 1.051 GB, free: 2.043 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88): time 0.002434/0.3721, allocations: 1.506 MB / 1.052 GB, free: 0.5352 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.3721, allocations: 60.41 kB / 1.052 GB, free: 476 kB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002162/0.3743, allocations: 1.574 MB / 1.054 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.929e-05/0.3744, allocations: 49.7 kB / 1.054 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006409/0.3751, allocations: 0.7496 MB / 1.055 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002906/0.3754, allocations: 315.4 kB / 1.055 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.35e-05/0.3754, allocations: 24 kB / 1.055 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3756, allocations: 377.8 kB / 1.055 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009641/0.3766, allocations: 0.6791 MB / 1.056 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/0.3778, allocations: 1.02 MB / 1.057 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001982/0.3798, allocations: 1.612 MB / 1.058 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/0.3798, allocations: 4 kB / 1.058 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003119/0.3829, allocations: 1.928 MB / 1.06 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002614/0.3832, allocations: 364.5 kB / 1.061 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.3832, allocations: 8 kB / 1.061 GB, free: 7.355 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.484e-05/0.3832, allocations: 16 kB / 1.061 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.3845, allocations: 335.5 kB / 1.061 GB, free: 7.012 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-05/0.3845, allocations: 19.94 kB / 1.061 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/0.386, allocations: 222 kB / 1.061 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.3861, allocations: 59.98 kB / 1.061 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.337e-06/0.3861, allocations: 4 kB / 1.061 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002733/0.3889, allocations: 1.791 MB / 1.063 GB, free: 4.918 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.3889, allocations: 8 kB / 1.063 GB, free: 4.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.3889, allocations: 16 kB / 1.063 GB, free: 4.895 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.3901, allocations: 336.3 kB / 1.063 GB, free: 4.566 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.163e-05/0.3901, allocations: 19.94 kB / 1.063 GB, free: 4.547 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.3914, allocations: 182.5 kB / 1.064 GB, free: 4.367 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.3916, allocations: 63.98 kB / 1.064 GB, free: 4.305 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001289/0.3929, allocations: 0.7502 MB / 1.064 GB, free: 3.543 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003555/0.3932, allocations: 146.1 kB / 1.065 GB, free: 3.398 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001915/0.3951, allocations: 1.287 MB / 1.066 GB, free: 2.098 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.3952, allocations: 8 kB / 1.066 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3952, allocations: 0 / 1.066 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00137/0.3966, allocations: 1.281 MB / 1.067 GB, free: 0.7227 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5368/0.9334, allocations: 2.918 MB / 1.07 GB, free: 86.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/0.9334, allocations: 4.516 kB / 1.07 GB, free: 86.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008399/0.9343, allocations: 187.9 kB / 1.07 GB, free: 86.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/0.9343, allocations: 4.219 kB / 1.07 GB, free: 86.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.258e-05/0.9344, allocations: 23.25 kB / 1.07 GB, free: 86.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.9344, allocations: 4.406 kB / 1.07 GB, free: 86.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/0.9344, allocations: 14 kB / 1.07 GB, free: 86.68 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003038/0.9374, allocations: 1.903 MB / 1.072 GB, free: 85.95 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009862/0.9384, allocations: 422.4 kB / 1.072 GB, free: 85.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000212/0.9387, allocations: 21.33 kB / 1.072 GB, free: 85.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000828/0.9395, allocations: 83.45 kB / 1.073 GB, free: 85.75 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.9396, allocations: 55.02 kB / 1.073 GB, free: 85.74 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.88e-05/0.9397, allocations: 37.14 kB / 1.073 GB, free: 85.73 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002339/0.9421, allocations: 1.176 MB / 1.074 GB, free: 85.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.31e-07/0.9421, allocations: 0.75 kB / 1.074 GB, free: 85.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003062/0.9452, allocations: 0.9075 MB / 1.075 GB, free: 85.21 MB / 0.6823 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 (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.0008862/0.9461, allocations: 360.5 kB / 1.075 GB, free: 85.11 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004448/0.9505, allocations: 2.308 MB / 1.077 GB, free: 84.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.9505, allocations: 1.219 kB / 1.077 GB, free: 84.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009914/0.9515, allocations: 0.5181 MB / 1.078 GB, free: 84.23 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00507/0.9566, allocations: 0.8583 MB / 1.079 GB, free: 84.09 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008182/0.9648, allocations: 4.345 MB / 1.083 GB, free: 81.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001894/0.9667, allocations: 1.662 MB / 1.084 GB, free: 81 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003837/0.9706, allocations: 0.9118 MB / 1.085 GB, free: 80.91 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000456/0.9711, allocations: 134.3 kB / 1.085 GB, free: 80.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.352e-06/0.9711, allocations: 0 / 1.085 GB, free: 80.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.0661/1.037, allocations: 33.53 MB / 1.118 GB, free: 65.06 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)