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.001263/0.001264, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 199.5 kB / 16.54 MB, free: 6.672 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.466/1.466, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.671/1.671, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.002611/0.002612, allocations: 75.3 kB / 0.6715 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.3002, allocations: 114.5 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02892/0.3292, allocations: 28.58 MB / 0.8113 GB, free: 0.7812 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01254/0.3418, allocations: 7.845 MB / 0.8189 GB, free: 8.914 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001909/0.3438, allocations: 35.75 kB / 0.819 GB, free: 8.879 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002204/0.346, allocations: 413.2 kB / 0.8194 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004557/0.3506, allocations: 1.002 MB / 0.8203 GB, free: 7.469 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003842/0.3545, allocations: 1.058 MB / 0.8214 GB, free: 6.418 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006737/0.3612, allocations: 4.891 MB / 0.8261 GB, free: 1.516 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003399/0.3647, allocations: 2.281 MB / 0.8284 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004789/0.3695, allocations: 1.788 MB / 0.8301 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00248/0.372, allocations: 1.463 MB / 0.8316 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004571/0.3725, allocations: 228 kB / 0.8318 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003077/0.3756, allocations: 1.314 MB / 0.8331 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005908/0.3762, allocations: 0.5492 MB / 0.8336 GB, free: 9.859 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001684/0.3779, allocations: 1.147 MB / 0.8347 GB, free: 8.707 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005373/0.3832, allocations: 3.631 MB / 0.8383 GB, free: 5.066 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.3833, allocations: 0 / 0.8383 GB, free: 5.066 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.405e-06/0.3833, allocations: 0 / 0.8383 GB, free: 5.066 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.018e-05/0.3833, allocations: 0 / 0.8383 GB, free: 5.066 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.00509/0.3884, allocations: 2.553 MB / 0.8407 GB, free: 2.457 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.3885, allocations: 12.03 kB / 0.8408 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000793/0.3893, allocations: 230.4 kB / 0.841 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002705/0.392, allocations: 1.702 MB / 0.8426 GB, free: 472 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.006e-05/0.3921, allocations: 118.7 kB / 0.8428 GB, free: 352 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002304/0.3923, allocations: 148 kB / 0.8429 GB, free: 204 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003095/0.3954, allocations: 1.997 MB / 0.8448 GB, free: 14.14 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.494e-05/0.3955, allocations: 0 / 0.8448 GB, free: 14.14 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/0.3956, allocations: 60 kB / 0.8449 GB, free: 14.08 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-05/0.3957, allocations: 39.98 kB / 0.8449 GB, free: 14.04 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002786/0.3985, allocations: 1.794 MB / 0.8467 GB, free: 12.24 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.01208/0.4106, allocations: 7.644 MB / 0.8542 GB, free: 4.281 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001845/0.4125, allocations: 1.44 MB / 0.8556 GB, free: 2.82 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008438/0.4134, allocations: 0.667 MB / 0.8562 GB, free: 2.152 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006898/0.4203, allocations: 3.851 MB / 0.86 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.723e-05/0.4204, allocations: 47.56 kB / 0.86 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=88): time 3.466e-06/0.4204, allocations: 3.938 kB / 0.86 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of matching and sorting (n=88): time 0.002498/0.4229, allocations: 1.51 MB / 0.8615 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.4229, allocations: 60.41 kB / 0.8616 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002172/0.4251, allocations: 1.621 MB / 0.8631 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.868e-05/0.4252, allocations: 53.69 kB / 0.8632 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007174/0.4259, allocations: 0.7535 MB / 0.8639 GB, free: 9.883 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000338/0.4263, allocations: 307.6 kB / 0.8642 GB, free: 9.578 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004387/0.4267, allocations: 295.3 kB / 0.8645 GB, free: 9.285 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.4269, allocations: 365.9 kB / 0.8649 GB, free: 8.922 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.4279, allocations: 0.6917 MB / 0.8655 GB, free: 8.227 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001362/0.4293, allocations: 1.02 MB / 0.8665 GB, free: 7.074 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002153/0.4315, allocations: 1.628 MB / 0.8681 GB, free: 5.324 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.4315, allocations: 4 kB / 0.8681 GB, free: 5.32 MB / 0.6856 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002991/0.4345, allocations: 1.943 MB / 0.87 GB, free: 3.367 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.4345, allocations: 12 kB / 0.87 GB, free: 3.355 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.4345, allocations: 8 kB / 0.87 GB, free: 3.348 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.438e-05/0.4346, allocations: 19.98 kB / 0.8701 GB, free: 3.328 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.4358, allocations: 336.1 kB / 0.8704 GB, free: 3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-05/0.4359, allocations: 19.94 kB / 0.8704 GB, free: 2.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.4371, allocations: 202.1 kB / 0.8706 GB, free: 2.781 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.4373, allocations: 59.98 kB / 0.8706 GB, free: 2.723 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001847/0.4391, allocations: 1.28 MB / 0.8719 GB, free: 1.438 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001193/0.4403, allocations: 1.02 MB / 0.8729 GB, free: 300 kB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001982/0.4423, allocations: 1.616 MB / 0.8745 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.3e-06/0.4423, allocations: 7.938 kB / 0.8745 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.002897/0.4452, allocations: 1.952 MB / 0.8764 GB, free: 12.58 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.4453, allocations: 12 kB / 0.8764 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.4453, allocations: 12 kB / 0.8764 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.4453, allocations: 16 kB / 0.8764 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.4465, allocations: 335.5 kB / 0.8767 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.051e-05/0.4465, allocations: 19.94 kB / 0.8768 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.4476, allocations: 142.9 kB / 0.8769 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.4477, allocations: 63.98 kB / 0.877 GB, free: 11.99 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.0003663/0.4481, allocations: 266.7 kB / 0.8772 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002827/0.4484, allocations: 150.1 kB / 0.8774 GB, free: 11.58 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002/0.4504, allocations: 1.277 MB / 0.8786 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/0.4504, allocations: 15.88 kB / 0.8786 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.4505, allocations: 7.938 kB / 0.8786 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001421/0.4519, allocations: 1.284 MB / 0.8799 GB, free: 8.895 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004219/0.4561, allocations: 2.943 MB / 0.8828 GB, free: 5.875 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.4561, allocations: 4 kB / 0.8828 GB, free: 5.871 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007794/0.4569, allocations: 187.9 kB / 0.8829 GB, free: 5.688 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/0.4569, allocations: 4 kB / 0.8829 GB, free: 5.684 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-05/0.457, allocations: 23.98 kB / 0.883 GB, free: 5.66 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.958e-06/0.457, allocations: 11.88 kB / 0.883 GB, free: 5.648 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.457, allocations: 4 kB / 0.883 GB, free: 5.645 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002576/0.4596, allocations: 1.917 MB / 0.8848 GB, free: 3.695 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007182/0.4603, allocations: 398.9 kB / 0.8852 GB, free: 3.285 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002054/0.4606, allocations: 20 kB / 0.8852 GB, free: 3.266 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007519/0.4613, allocations: 51.88 kB / 0.8853 GB, free: 3.215 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.4614, allocations: 52.92 kB / 0.8853 GB, free: 3.164 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.901e-05/0.4615, allocations: 35.98 kB / 0.8854 GB, free: 3.129 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001697/0.4632, allocations: 1.226 MB / 0.8866 GB, free: 1.906 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4632, allocations: 0 / 0.8866 GB, free: 1.906 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002386/0.4656, allocations: 0.9124 MB / 0.8875 GB, free: 0.9922 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.000835/0.4665, allocations: 364.1 kB / 0.8878 GB, free: 0.6328 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004446/0.4709, allocations: 2.829 MB / 0.8906 GB, free: 13.81 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.4709, allocations: 4.062 kB / 0.8906 GB, free: 13.81 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006718/0.4716, allocations: 0.5209 MB / 0.8911 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003809/0.4754, allocations: 0.9337 MB / 0.892 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005192/0.4806, allocations: 3.682 MB / 0.8956 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/0.4818, allocations: 1.661 MB / 0.8972 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002655/0.4845, allocations: 0.9168 MB / 0.8981 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003445/0.4848, allocations: 135.4 kB / 0.8982 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of SimCode: time 1.422e-06/0.4848, allocations: 0 / 0.8982 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of Templates: time 0.5008/0.9857, allocations: 35.7 MB / 0.9331 GB, free: 124.3 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)