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.0008573/0.0008572, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007912/0.007912, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.518/1.518, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.821/1.821, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005438/0.0005438, allocations: 15 kB / 0.6743 GB, free: 26.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2609, allocations: 116.3 MB / 0.7879 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02721/0.2882, allocations: 27.74 MB / 0.815 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0117/0.2999, allocations: 7.819 MB / 0.8226 GB, free: 7.914 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001396/0.3014, allocations: 31.75 kB / 0.8226 GB, free: 7.883 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.3025, allocations: 330.1 kB / 0.8229 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002747/0.3052, allocations: 0.9292 MB / 0.8239 GB, free: 6.625 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002747/0.308, allocations: 0.9331 MB / 0.8248 GB, free: 5.699 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006271/0.3143, allocations: 6.053 MB / 0.8307 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003208/0.3175, allocations: 1.79 MB / 0.8324 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004343/0.3219, allocations: 1.322 MB / 0.8337 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003458/0.3254, allocations: 1.299 MB / 0.835 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005029/0.3259, allocations: 79.94 kB / 0.8351 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003534/0.3295, allocations: 1.135 MB / 0.8362 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004652/0.33, allocations: 370.4 kB / 0.8365 GB, free: 9.586 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001723/0.3317, allocations: 0.9811 MB / 0.8375 GB, free: 8.594 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004525/0.3362, allocations: 3.443 MB / 0.8408 GB, free: 5.141 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.3363, allocations: 0 / 0.8408 GB, free: 5.141 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.304e-06/0.3363, allocations: 0 / 0.8408 GB, free: 5.141 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.148e-05/0.3363, allocations: 0 / 0.8408 GB, free: 5.141 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.004422/0.3408, allocations: 2.136 MB / 0.8429 GB, free: 2.949 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.3408, allocations: 8.031 kB / 0.8429 GB, free: 2.941 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007636/0.3416, allocations: 226.5 kB / 0.8431 GB, free: 2.719 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002733/0.3443, allocations: 1.748 MB / 0.8449 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.971e-05/0.3444, allocations: 118.7 kB / 0.845 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000247/0.3447, allocations: 155.8 kB / 0.8451 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00312/0.3478, allocations: 1.99 MB / 0.8471 GB, free: 14.59 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.628e-05/0.3479, allocations: 7.938 kB / 0.8471 GB, free: 14.58 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/0.348, allocations: 56 kB / 0.8471 GB, free: 14.53 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.351e-05/0.3481, allocations: 47.98 kB / 0.8472 GB, free: 14.48 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002711/0.3508, allocations: 1.794 MB / 0.8489 GB, free: 12.68 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.01146/0.3623, allocations: 7.609 MB / 0.8564 GB, free: 4.77 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001828/0.3641, allocations: 1.456 MB / 0.8578 GB, free: 3.289 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008569/0.365, allocations: 0.6679 MB / 0.8584 GB, free: 2.621 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00646/0.3715, allocations: 3.839 MB / 0.8622 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.659e-05/0.3716, allocations: 47.56 kB / 0.8622 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=88): time 3.727e-06/0.3716, allocations: 4 kB / 0.8622 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of matching and sorting (n=88): time 0.002443/0.374, allocations: 1.502 MB / 0.8637 GB, free: 12.9 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.3741, allocations: 64.34 kB / 0.8638 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002196/0.3763, allocations: 1.589 MB / 0.8653 GB, free: 11.22 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001104/0.3764, allocations: 53.64 kB / 0.8654 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006435/0.3771, allocations: 0.7458 MB / 0.8661 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003107/0.3774, allocations: 319.4 kB / 0.8664 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.3776, allocations: 133.6 kB / 0.8665 GB, free: 9.957 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3777, allocations: 369.9 kB / 0.8669 GB, free: 9.59 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009868/0.3787, allocations: 0.6831 MB / 0.8675 GB, free: 8.906 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/0.3799, allocations: 1.024 MB / 0.8685 GB, free: 7.754 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001977/0.3819, allocations: 1.62 MB / 0.8701 GB, free: 6.012 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/0.3819, allocations: 4 kB / 0.8701 GB, free: 6.008 MB / 0.6856 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002966/0.3849, allocations: 1.944 MB / 0.872 GB, free: 4.055 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002371/0.3851, allocations: 360.6 kB / 0.8724 GB, free: 3.578 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.3852, allocations: 8 kB / 0.8724 GB, free: 3.57 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.34e-05/0.3852, allocations: 16 kB / 0.8724 GB, free: 3.555 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.3864, allocations: 335.5 kB / 0.8727 GB, free: 3.227 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.436e-05/0.3864, allocations: 19.94 kB / 0.8727 GB, free: 3.207 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.3879, allocations: 222 kB / 0.8729 GB, free: 2.988 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/0.388, allocations: 63.98 kB / 0.873 GB, free: 2.926 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.388, allocations: 4 kB / 0.873 GB, free: 2.922 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002524/0.3905, allocations: 1.791 MB / 0.8747 GB, free: 1.129 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.3906, allocations: 8 kB / 0.8748 GB, free: 1.121 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.3906, allocations: 16 kB / 0.8748 GB, free: 1.105 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.3917, allocations: 336.3 kB / 0.8751 GB, free: 0.7773 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.13e-05/0.3918, allocations: 23.92 kB / 0.8751 GB, free: 0.7539 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.3931, allocations: 182.6 kB / 0.8753 GB, free: 0.5742 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.3932, allocations: 59.98 kB / 0.8753 GB, free: 0.5156 MB / 0.6856 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.001192/0.3944, allocations: 0.7587 MB / 0.8761 GB, free: 15.74 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003738/0.3948, allocations: 150.1 kB / 0.8762 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002062/0.3969, allocations: 1.281 MB / 0.8775 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/0.3969, allocations: 8 kB / 0.8775 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.3969, allocations: 0 / 0.8775 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001444/0.3984, allocations: 1.292 MB / 0.8788 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0043/0.4027, allocations: 2.931 MB / 0.8816 GB, free: 9.906 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.4027, allocations: 4.125 kB / 0.8816 GB, free: 9.902 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00078/0.4035, allocations: 183.8 kB / 0.8818 GB, free: 9.723 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/0.4035, allocations: 11.94 kB / 0.8818 GB, free: 9.711 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.456e-05/0.4036, allocations: 27.98 kB / 0.8818 GB, free: 9.684 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.633e-06/0.4036, allocations: 4 kB / 0.8818 GB, free: 9.68 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.4036, allocations: 3.938 kB / 0.8818 GB, free: 9.676 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002488/0.4061, allocations: 1.913 MB / 0.8837 GB, free: 7.73 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007575/0.4069, allocations: 422.8 kB / 0.8841 GB, free: 7.297 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000221/0.4071, allocations: 20 kB / 0.8841 GB, free: 7.277 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008637/0.408, allocations: 78.78 kB / 0.8842 GB, free: 7.203 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.4081, allocations: 56.86 kB / 0.8843 GB, free: 7.148 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.891e-05/0.4082, allocations: 35.92 kB / 0.8843 GB, free: 7.113 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001645/0.4098, allocations: 1.194 MB / 0.8855 GB, free: 5.922 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4098, allocations: 4 kB / 0.8855 GB, free: 5.918 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002594/0.4124, allocations: 0.9084 MB / 0.8863 GB, free: 5.008 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.0008662/0.4133, allocations: 356.3 kB / 0.8867 GB, free: 4.656 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00356/0.4169, allocations: 2.321 MB / 0.889 GB, free: 2.34 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.555e-06/0.4169, allocations: 4 kB / 0.889 GB, free: 2.336 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0006853/0.4176, allocations: 0.5175 MB / 0.8895 GB, free: 1.816 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004414/0.422, allocations: 0.8732 MB / 0.8903 GB, free: 0.9609 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006239/0.4283, allocations: 4.386 MB / 0.8946 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/0.4295, allocations: 1.661 MB / 0.8962 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002781/0.4323, allocations: 0.9166 MB / 0.8971 GB, free: 9.938 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000379/0.4326, allocations: 131.4 kB / 0.8972 GB, free: 9.809 MB / 0.7169 GB Notification: Performance of SimCode: time 8.02e-07/0.4327, allocations: 4 kB / 0.8972 GB, free: 9.805 MB / 0.7169 GB Notification: Performance of Templates: time 0.5025/0.9351, allocations: 33.9 MB / 0.9303 GB, free: 118.6 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: