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.001128/0.001128, allocations: 105.6 kB / 15.98 MB, free: 6.34 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.001054/0.001054, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.498/1.498, allocations: 205.1 MB / 222.8 MB, free: 4.684 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.715/1.715, allocations: 292.3 MB / 0.5492 GB, free: 13.6 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.001638/0.001638, allocations: 64.78 kB / 0.6716 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2403, allocations: 114.6 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02899/0.2693, allocations: 28.38 MB / 0.8112 GB, free: 1.406 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01065/0.28, allocations: 7.799 MB / 0.8189 GB, free: 9.586 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001475/0.2815, allocations: 31.75 kB / 0.8189 GB, free: 9.555 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.2827, allocations: 346.2 kB / 0.8192 GB, free: 9.215 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002746/0.2855, allocations: 0.9363 MB / 0.8201 GB, free: 8.277 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002705/0.2882, allocations: 0.9628 MB / 0.8211 GB, free: 7.32 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005428/0.2936, allocations: 4.915 MB / 0.8259 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002842/0.2965, allocations: 2.265 MB / 0.8281 GB, free: 92 kB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004171/0.3007, allocations: 1.803 MB / 0.8298 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002505/0.3032, allocations: 1.482 MB / 0.8313 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004805/0.3037, allocations: 228 kB / 0.8315 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002877/0.3066, allocations: 1.311 MB / 0.8328 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000639/0.3073, allocations: 0.5453 MB / 0.8333 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001685/0.309, allocations: 1.159 MB / 0.8344 GB, free: 9.559 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003449/0.3124, allocations: 2.939 MB / 0.8373 GB, free: 6.613 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3125, allocations: 4 kB / 0.8373 GB, free: 6.609 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3125, allocations: 0 / 0.8373 GB, free: 6.609 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.07e-05/0.3125, allocations: 0 / 0.8373 GB, free: 6.609 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.00513/0.3177, allocations: 2.534 MB / 0.8398 GB, free: 4.02 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.3177, allocations: 8.031 kB / 0.8398 GB, free: 4.012 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000856/0.3186, allocations: 234.5 kB / 0.84 GB, free: 3.781 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002783/0.3214, allocations: 1.745 MB / 0.8417 GB, free: 1.98 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.031e-05/0.3215, allocations: 114.7 kB / 0.8418 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002415/0.3217, allocations: 156 kB / 0.842 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003142/0.3249, allocations: 1.994 MB / 0.8439 GB, free: 15.66 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.795e-05/0.325, allocations: 3.906 kB / 0.8439 GB, free: 15.65 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/0.3251, allocations: 67.94 kB / 0.844 GB, free: 15.59 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-05/0.3251, allocations: 36 kB / 0.844 GB, free: 15.55 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002656/0.3278, allocations: 1.794 MB / 0.8458 GB, free: 13.75 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.01125/0.3391, allocations: 7.578 MB / 0.8532 GB, free: 5.859 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/0.3409, allocations: 1.449 MB / 0.8546 GB, free: 4.391 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000829/0.3418, allocations: 0.6639 MB / 0.8553 GB, free: 3.723 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006345/0.3481, allocations: 3.831 MB / 0.859 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.185e-05/0.3482, allocations: 51.5 kB / 0.859 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=88): time 2.485e-06/0.3482, allocations: 0 / 0.859 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of matching and sorting (n=88): time 0.002472/0.3507, allocations: 1.51 MB / 0.8605 GB, free: 14 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.3508, allocations: 60.41 kB / 0.8606 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00216/0.3529, allocations: 1.585 MB / 0.8621 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.353, allocations: 45.7 kB / 0.8622 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006124/0.3537, allocations: 0.7573 MB / 0.8629 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000325/0.354, allocations: 311.6 kB / 0.8632 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003959/0.3544, allocations: 299.3 kB / 0.8635 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3546, allocations: 361.9 kB / 0.8638 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009776/0.3555, allocations: 0.6917 MB / 0.8645 GB, free: 9.855 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/0.3568, allocations: 1.032 MB / 0.8655 GB, free: 8.691 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001979/0.3588, allocations: 1.612 MB / 0.8671 GB, free: 6.953 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.924e-06/0.3588, allocations: 4 kB / 0.8671 GB, free: 6.949 MB / 0.6856 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002977/0.3618, allocations: 1.955 MB / 0.869 GB, free: 4.984 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.3619, allocations: 8 kB / 0.869 GB, free: 4.977 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.3619, allocations: 8 kB / 0.869 GB, free: 4.969 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.826e-05/0.3619, allocations: 16 kB / 0.869 GB, free: 4.953 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.3632, allocations: 335.5 kB / 0.8694 GB, free: 4.625 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.702e-05/0.3632, allocations: 23.92 kB / 0.8694 GB, free: 4.602 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/0.3645, allocations: 218.5 kB / 0.8696 GB, free: 4.387 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.3646, allocations: 63.98 kB / 0.8696 GB, free: 4.324 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001724/0.3664, allocations: 1.28 MB / 0.8709 GB, free: 3.039 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001219/0.3676, allocations: 1.016 MB / 0.8719 GB, free: 1.898 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001928/0.3695, allocations: 1.62 MB / 0.8735 GB, free: 160 kB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.498e-06/0.3695, allocations: 8 kB / 0.8735 GB, free: 152 kB / 0.6856 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003003/0.3726, allocations: 1.939 MB / 0.8754 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.3726, allocations: 18.64 kB / 0.8754 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.3726, allocations: 12.88 kB / 0.8754 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.3726, allocations: 16 kB / 0.8754 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.3738, allocations: 335.5 kB / 0.8757 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-05/0.3738, allocations: 23.92 kB / 0.8758 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/0.375, allocations: 162.9 kB / 0.8759 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.3751, allocations: 59.98 kB / 0.876 GB, free: 13.59 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.0003351/0.3755, allocations: 267.8 kB / 0.8762 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002726/0.3757, allocations: 150.1 kB / 0.8764 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001954/0.3777, allocations: 1.277 MB / 0.8776 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.3777, allocations: 8 kB / 0.8776 GB, free: 11.87 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3777, allocations: 0 / 0.8776 GB, free: 11.87 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001415/0.3792, allocations: 1.296 MB / 0.8789 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00411/0.3833, allocations: 2.927 MB / 0.8818 GB, free: 7.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.3833, allocations: 7.984 kB / 0.8818 GB, free: 7.473 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007894/0.3841, allocations: 183.8 kB / 0.8819 GB, free: 7.293 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/0.3841, allocations: 4 kB / 0.8819 GB, free: 7.289 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.114e-05/0.3842, allocations: 23.98 kB / 0.882 GB, free: 7.266 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/0.3842, allocations: 7.938 kB / 0.882 GB, free: 7.258 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3842, allocations: 4 kB / 0.882 GB, free: 7.254 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002502/0.3867, allocations: 1.913 MB / 0.8838 GB, free: 5.309 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006711/0.3874, allocations: 394.9 kB / 0.8842 GB, free: 4.902 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002892/0.3877, allocations: 27.92 kB / 0.8842 GB, free: 4.875 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008274/0.3885, allocations: 83.69 kB / 0.8843 GB, free: 4.793 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.61e-05/0.3886, allocations: 52.94 kB / 0.8844 GB, free: 4.742 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.779e-05/0.3887, allocations: 35.97 kB / 0.8844 GB, free: 4.707 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001495/0.3902, allocations: 1.19 MB / 0.8856 GB, free: 3.52 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3902, allocations: 0 / 0.8856 GB, free: 3.52 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002155/0.3924, allocations: 0.9124 MB / 0.8865 GB, free: 2.605 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.0007681/0.3932, allocations: 352.9 kB / 0.8868 GB, free: 2.254 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004355/0.3975, allocations: 2.825 MB / 0.8896 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.3975, allocations: 0 / 0.8896 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006782/0.3982, allocations: 0.5289 MB / 0.8901 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003577/0.4018, allocations: 0.9196 MB / 0.891 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005264/0.4071, allocations: 4.234 MB / 0.8951 GB, free: 9.738 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001142/0.4082, allocations: 1.63 MB / 0.8967 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005028/0.4088, allocations: 143.4 kB / 0.8968 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of SimCode: time 1.012e-06/0.4088, allocations: 0 / 0.8968 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of Templates: time 0.4013/0.8101, allocations: 32.13 MB / 0.9282 GB, free: 130.1 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)