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.835/1.835, allocations: 288.4 MB / 303.4 MB, free: 8.062 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.001019/0.001019, allocations: 176.5 kB / 372 MB, free: 10.27 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.635/1.635, allocations: 205.4 MB / 0.6307 GB, free: 9.988 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.0007676/0.0007674, allocations: 90.3 kB / 0.7441 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003923/0.0003925, allocations: 12.16 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.266, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02145/0.2875, allocations: 26.28 MB / 1.005 GB, free: 1.312 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01217/0.2997, allocations: 7.33 MB / 1.012 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001814/0.3016, allocations: 35.75 kB / 1.012 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.3028, allocations: 286.1 kB / 1.013 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002807/0.3056, allocations: 0.8005 MB / 1.013 GB, free: 8.852 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002705/0.3083, allocations: 0.7762 MB / 1.014 GB, free: 8.082 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005757/0.3141, allocations: 5.222 MB / 1.019 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002913/0.317, allocations: 1.613 MB / 1.021 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003334/0.3204, allocations: 1.311 MB / 1.022 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002388/0.3228, allocations: 1.225 MB / 1.023 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002632/0.3231, allocations: 80 kB / 1.023 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002734/0.3258, allocations: 0.9788 MB / 1.024 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0004294/0.3263, allocations: 358.5 kB / 1.025 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0007392/0.327, allocations: 420.7 kB / 1.025 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003375/0.3304, allocations: 2.813 MB / 1.028 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.3304, allocations: 0 / 1.028 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.445e-06/0.3305, allocations: 0 / 1.028 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.464e-05/0.3305, allocations: 0 / 1.028 GB, free: 10.01 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.005294/0.3358, allocations: 2.148 MB / 1.03 GB, free: 7.809 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.3359, allocations: 8.031 kB / 1.03 GB, free: 7.801 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.3369, allocations: 233.5 kB / 1.03 GB, free: 7.57 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003375/0.3403, allocations: 1.701 MB / 1.032 GB, free: 5.816 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.377e-05/0.3404, allocations: 114.7 kB / 1.032 GB, free: 5.703 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002559/0.3407, allocations: 152 kB / 1.032 GB, free: 5.555 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003561/0.3443, allocations: 1.982 MB / 1.034 GB, free: 3.508 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.02e-05/0.3443, allocations: 4 kB / 1.034 GB, free: 3.504 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/0.3445, allocations: 56 kB / 1.034 GB, free: 3.449 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-05/0.3445, allocations: 39.98 kB / 1.034 GB, free: 3.41 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002824/0.3474, allocations: 1.786 MB / 1.036 GB, free: 1.617 MB / 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.01218/0.3596, allocations: 7.625 MB / 1.043 GB, free: 9.68 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001965/0.3616, allocations: 1.44 MB / 1.045 GB, free: 8.215 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009329/0.3625, allocations: 0.664 MB / 1.045 GB, free: 7.547 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006893/0.3695, allocations: 3.834 MB / 1.049 GB, free: 3.395 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.3695, allocations: 47.56 kB / 1.049 GB, free: 3.34 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=88): time 3.096e-06/0.3695, allocations: 5.203 kB / 1.049 GB, free: 3.336 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88): time 0.002646/0.3722, allocations: 1.506 MB / 1.051 GB, free: 1.824 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.3723, allocations: 60.41 kB / 1.051 GB, free: 1.754 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002092/0.3744, allocations: 1.574 MB / 1.052 GB, free: 172 kB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.846e-05/0.3745, allocations: 49.7 kB / 1.052 GB, free: 116 kB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006096/0.3751, allocations: 0.7535 MB / 1.053 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002882/0.3754, allocations: 315.5 kB / 1.053 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.606e-05/0.3755, allocations: 28 kB / 1.053 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.3756, allocations: 369.9 kB / 1.054 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/0.3766, allocations: 0.6753 MB / 1.054 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.3779, allocations: 1.012 MB / 1.055 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.3791, allocations: 0.8767 MB / 1.056 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.3791, allocations: 4 kB / 1.056 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003362/0.3825, allocations: 1.936 MB / 1.058 GB, free: 10 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003084/0.3828, allocations: 357.2 kB / 1.059 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.3829, allocations: 15.94 kB / 1.059 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.613e-05/0.3829, allocations: 20 kB / 1.059 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/0.3842, allocations: 331.5 kB / 1.059 GB, free: 9.172 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.891e-05/0.3843, allocations: 23.92 kB / 1.059 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.3858, allocations: 218 kB / 1.059 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/0.3859, allocations: 59.98 kB / 1.059 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.3859, allocations: 7.953 kB / 1.059 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002753/0.3887, allocations: 1.788 MB / 1.061 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-05/0.3887, allocations: 8 kB / 1.061 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.3887, allocations: 16 kB / 1.061 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/0.39, allocations: 331.5 kB / 1.061 GB, free: 6.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.089e-05/0.39, allocations: 19.94 kB / 1.061 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.3914, allocations: 190.6 kB / 1.061 GB, free: 6.523 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/0.3916, allocations: 59.98 kB / 1.061 GB, free: 6.465 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.001413/0.393, allocations: 0.7425 MB / 1.062 GB, free: 5.711 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005044/0.3935, allocations: 150.2 kB / 1.062 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002321/0.3959, allocations: 1.284 MB / 1.064 GB, free: 4.262 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/0.3959, allocations: 8 kB / 1.064 GB, free: 4.254 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.3959, allocations: 4 kB / 1.064 GB, free: 4.25 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001573/0.3975, allocations: 1.273 MB / 1.065 GB, free: 2.895 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5797/0.9772, allocations: 2.927 MB / 1.068 GB, free: 86.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/0.9773, allocations: 1.938 kB / 1.068 GB, free: 86.65 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/0.9784, allocations: 189 kB / 1.068 GB, free: 86.65 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.475e-05/0.9784, allocations: 5.125 kB / 1.068 GB, free: 86.65 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-05/0.9785, allocations: 24 kB / 1.068 GB, free: 86.65 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.134e-05/0.9786, allocations: 4.781 kB / 1.068 GB, free: 86.65 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.9786, allocations: 1.812 kB / 1.068 GB, free: 86.65 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003631/0.9822, allocations: 1.915 MB / 1.07 GB, free: 86.46 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009989/0.9832, allocations: 420.2 kB / 1.07 GB, free: 86.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002055/0.9834, allocations: 23.81 kB / 1.07 GB, free: 86.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009539/0.9844, allocations: 75.83 kB / 1.07 GB, free: 86.28 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.9845, allocations: 52.5 kB / 1.07 GB, free: 86.28 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.279e-05/0.9846, allocations: 40.62 kB / 1.07 GB, free: 86.27 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002073/0.9867, allocations: 1.177 MB / 1.072 GB, free: 85.84 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9867, allocations: 0 / 1.072 GB, free: 85.84 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003295/0.99, allocations: 0.9021 MB / 1.072 GB, free: 85.73 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.001076/0.9911, allocations: 348.1 kB / 1.073 GB, free: 85.63 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004965/0.9961, allocations: 2.305 MB / 1.075 GB, free: 84.93 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.9961, allocations: 1.062 kB / 1.075 GB, free: 84.93 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.9971, allocations: 0.5187 MB / 1.076 GB, free: 84.77 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005008/1.002, allocations: 0.8777 MB / 1.076 GB, free: 84.61 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008815/1.011, allocations: 4.345 MB / 1.081 GB, free: 82.43 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001752/1.013, allocations: 1.662 MB / 1.082 GB, free: 81.52 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003783/1.017, allocations: 0.9084 MB / 1.083 GB, free: 81.44 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004546/1.017, allocations: 136.7 kB / 1.083 GB, free: 81.42 MB / 0.6823 GB Notification: Performance of SimCode: time 1.333e-06/1.017, allocations: 0 / 1.083 GB, free: 81.42 MB / 0.6823 GB Notification: Performance of Templates: time 0.06985/1.087, allocations: 32.92 MB / 1.115 GB, free: 67.68 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)