Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001489/0.001489, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002119/0.002119, allocations: 196.6 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.1 MB / 222 MB, free: 4.996 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.831/1.831, allocations: 292.3 MB / 0.5484 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 69.61 kB / 0.6708 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.284, allocations: 114.5 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02764/0.3116, allocations: 28.45 MB / 0.8105 GB, free: 1.445 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01131/0.323, allocations: 7.916 MB / 0.8182 GB, free: 9.508 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001777/0.3248, allocations: 35.81 kB / 0.8182 GB, free: 9.473 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001322/0.3262, allocations: 326.1 kB / 0.8185 GB, free: 9.152 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003071/0.3293, allocations: 0.9214 MB / 0.8194 GB, free: 8.227 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002832/0.3321, allocations: 0.9328 MB / 0.8203 GB, free: 7.301 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005906/0.3381, allocations: 6.05 MB / 0.8263 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002708/0.3408, allocations: 1.854 MB / 0.8281 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00342/0.3442, allocations: 1.393 MB / 0.8294 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002747/0.347, allocations: 1.369 MB / 0.8308 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003424/0.3474, allocations: 115.9 kB / 0.8309 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003017/0.3504, allocations: 1.154 MB / 0.832 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005368/0.351, allocations: 418.3 kB / 0.8324 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001664/0.3526, allocations: 1.003 MB / 0.8334 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004541/0.3572, allocations: 3.525 MB / 0.8368 GB, free: 6.344 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.3572, allocations: 0 / 0.8368 GB, free: 6.344 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3572, allocations: 0 / 0.8368 GB, free: 6.344 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.304e-05/0.3573, allocations: 0 / 0.8368 GB, free: 6.344 MB / 0.6544 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.005576/0.3629, allocations: 2.553 MB / 0.8393 GB, free: 3.734 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.363, allocations: 8.031 kB / 0.8393 GB, free: 3.727 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008397/0.3638, allocations: 230.5 kB / 0.8395 GB, free: 3.5 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00297/0.3668, allocations: 1.748 MB / 0.8412 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.81e-05/0.3669, allocations: 114.7 kB / 0.8414 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002606/0.3672, allocations: 148 kB / 0.8415 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00331/0.3705, allocations: 1.994 MB / 0.8434 GB, free: 15.38 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.641e-05/0.3705, allocations: 3.906 kB / 0.8434 GB, free: 15.38 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/0.3707, allocations: 63.91 kB / 0.8435 GB, free: 15.32 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.143e-05/0.3707, allocations: 36 kB / 0.8435 GB, free: 15.28 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002598/0.3734, allocations: 1.806 MB / 0.8453 GB, free: 13.47 MB / 0.67 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.01087/0.3842, allocations: 7.574 MB / 0.8527 GB, free: 5.582 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001786/0.3861, allocations: 1.452 MB / 0.8541 GB, free: 4.109 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008216/0.3869, allocations: 0.664 MB / 0.8548 GB, free: 3.441 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006361/0.3933, allocations: 3.847 MB / 0.8585 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/0.3933, allocations: 43.55 kB / 0.8586 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=88): time 2.795e-06/0.3933, allocations: 0 / 0.8586 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of matching and sorting (n=88): time 0.002419/0.3958, allocations: 1.514 MB / 0.86 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.3958, allocations: 64.41 kB / 0.8601 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002467/0.3983, allocations: 1.582 MB / 0.8617 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.3984, allocations: 45.7 kB / 0.8617 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006504/0.3991, allocations: 0.7457 MB / 0.8624 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003046/0.3994, allocations: 319.4 kB / 0.8627 GB, free: 10.92 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004229/0.3998, allocations: 291.4 kB / 0.863 GB, free: 10.63 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.4, allocations: 365.9 kB / 0.8634 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.401, allocations: 0.6917 MB / 0.864 GB, free: 9.57 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001315/0.4023, allocations: 1.028 MB / 0.865 GB, free: 8.41 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002105/0.4044, allocations: 1.624 MB / 0.8666 GB, free: 6.664 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.4045, allocations: 4 kB / 0.8666 GB, free: 6.66 MB / 0.6856 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003461/0.4079, allocations: 1.944 MB / 0.8685 GB, free: 4.707 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.779e-05/0.408, allocations: 12.06 kB / 0.8685 GB, free: 4.695 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.729e-05/0.408, allocations: 8 kB / 0.8685 GB, free: 4.688 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.506e-05/0.4081, allocations: 16 kB / 0.8686 GB, free: 4.672 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.4094, allocations: 331.5 kB / 0.8689 GB, free: 4.348 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-05/0.4095, allocations: 23.92 kB / 0.8689 GB, free: 4.324 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/0.411, allocations: 222 kB / 0.8691 GB, free: 4.105 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/0.4112, allocations: 63.98 kB / 0.8692 GB, free: 4.043 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001983/0.4132, allocations: 1.273 MB / 0.8704 GB, free: 2.766 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00139/0.4146, allocations: 1.02 MB / 0.8714 GB, free: 1.621 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00214/0.4167, allocations: 1.628 MB / 0.873 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.316e-05/0.4167, allocations: 3.984 kB / 0.873 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.00352/0.4203, allocations: 1.944 MB / 0.8749 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.4203, allocations: 12 kB / 0.8749 GB, free: 13.9 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.4203, allocations: 8 kB / 0.8749 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/0.4204, allocations: 16 kB / 0.8749 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.4216, allocations: 343.4 kB / 0.8753 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.534e-05/0.4217, allocations: 19.94 kB / 0.8753 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/0.4233, allocations: 167.3 kB / 0.8754 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/0.4234, allocations: 63.98 kB / 0.8755 GB, free: 13.3 MB / 0.7012 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.0003771/0.4238, allocations: 255.8 kB / 0.8757 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005115/0.4243, allocations: 150.2 kB / 0.8759 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/0.4265, allocations: 1.273 MB / 0.8771 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.4265, allocations: 12 kB / 0.8771 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.4265, allocations: 0 / 0.8771 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001553/0.4281, allocations: 1.292 MB / 0.8784 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004963/0.433, allocations: 2.935 MB / 0.8813 GB, free: 7.199 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.076e-06/0.4331, allocations: 4 kB / 0.8813 GB, free: 7.195 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008002/0.4339, allocations: 187.9 kB / 0.8815 GB, free: 7.012 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.738e-05/0.4339, allocations: 4 kB / 0.8815 GB, free: 7.008 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.826e-05/0.434, allocations: 23.98 kB / 0.8815 GB, free: 6.984 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.616e-06/0.434, allocations: 11.94 kB / 0.8815 GB, free: 6.973 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.434, allocations: 3.938 kB / 0.8815 GB, free: 6.969 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002675/0.4367, allocations: 1.909 MB / 0.8834 GB, free: 5.027 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009104/0.4376, allocations: 394.9 kB / 0.8837 GB, free: 4.621 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003875/0.438, allocations: 24 kB / 0.8838 GB, free: 4.598 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.4391, allocations: 79.7 kB / 0.8838 GB, free: 4.52 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.4392, allocations: 56.86 kB / 0.8839 GB, free: 4.465 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-05/0.4393, allocations: 31.98 kB / 0.8839 GB, free: 4.434 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002042/0.4413, allocations: 1.194 MB / 0.8851 GB, free: 3.242 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.31e-07/0.4414, allocations: 0 / 0.8851 GB, free: 3.242 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003089/0.4444, allocations: 0.9007 MB / 0.886 GB, free: 2.34 MB / 0.7012 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.001124/0.4456, allocations: 365.1 kB / 0.8863 GB, free: 1.98 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003915/0.4495, allocations: 2.324 MB / 0.8886 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.4495, allocations: 0 / 0.8886 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007764/0.4503, allocations: 0.5226 MB / 0.8891 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005106/0.4554, allocations: 0.8641 MB / 0.8899 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006791/0.4622, allocations: 4.277 MB / 0.8941 GB, free: 9.969 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001713/0.464, allocations: 1.665 MB / 0.8957 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002934/0.4669, allocations: 0.9226 MB / 0.8966 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005324/0.4675, allocations: 131.4 kB / 0.8968 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of SimCode: time 2.415e-06/0.4675, allocations: 0 / 0.8968 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of Templates: time 0.5148/0.9823, allocations: 34.08 MB / 0.93 GB, free: 122.9 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)