Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.68/2.68, allocations: 287.5 MB / 302.4 MB, free: 8.34 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.001376/0.001376, allocations: 179 kB / 371 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.063/2.063, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0009897/0.0009896, allocations: 97.33 kB / 0.743 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004997/0.0004999, allocations: 13.22 kB / 0.8658 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2085, allocations: 115.3 MB / 0.9784 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.03044/0.239, allocations: 26.28 MB / 1.004 GB, free: 2.027 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01525/0.2542, allocations: 7.331 MB / 1.011 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001347/0.2556, allocations: 27.81 kB / 1.011 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001433/0.2571, allocations: 290.1 kB / 1.011 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003494/0.2606, allocations: 0.81 MB / 1.012 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003712/0.2644, allocations: 0.7603 MB / 1.013 GB, free: 8.809 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008889/0.2733, allocations: 5.232 MB / 1.018 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003364/0.2767, allocations: 1.605 MB / 1.02 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003644/0.2804, allocations: 1.319 MB / 1.021 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003132/0.2835, allocations: 1.217 MB / 1.022 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0004724/0.2841, allocations: 80 kB / 1.022 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003766/0.2878, allocations: 0.9827 MB / 1.023 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0008142/0.2887, allocations: 358.5 kB / 1.024 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0008909/0.2896, allocations: 416.8 kB / 1.024 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.005336/0.2949, allocations: 2.813 MB / 1.027 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.295, allocations: 0 / 1.027 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.346e-06/0.295, allocations: 0 / 1.027 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.853e-05/0.2951, allocations: 4 kB / 1.027 GB, free: 10.73 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.007259/0.3024, allocations: 2.148 MB / 1.029 GB, free: 8.531 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.3024, allocations: 8.031 kB / 1.029 GB, free: 8.523 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001507/0.304, allocations: 233.5 kB / 1.029 GB, free: 8.293 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005223/0.3092, allocations: 1.7 MB / 1.031 GB, free: 6.539 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/0.3094, allocations: 110.7 kB / 1.031 GB, free: 6.43 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004454/0.3099, allocations: 155.9 kB / 1.031 GB, free: 6.277 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005291/0.3152, allocations: 1.982 MB / 1.033 GB, free: 4.23 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.17e-05/0.3153, allocations: 8 kB / 1.033 GB, free: 4.223 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002274/0.3156, allocations: 56 kB / 1.033 GB, free: 4.168 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.675e-05/0.3156, allocations: 47.98 kB / 1.033 GB, free: 4.121 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004897/0.3206, allocations: 1.79 MB / 1.035 GB, free: 2.324 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.01959/0.3402, allocations: 7.609 MB / 1.042 GB, free: 10.4 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003292/0.3435, allocations: 1.44 MB / 1.044 GB, free: 8.945 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001601/0.3452, allocations: 0.6642 MB / 1.044 GB, free: 8.273 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01072/0.3559, allocations: 3.834 MB / 1.048 GB, free: 4.121 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.019e-05/0.356, allocations: 47.56 kB / 1.048 GB, free: 4.066 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=88): time 4.78e-06/0.3561, allocations: 4 kB / 1.048 GB, free: 4.062 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88): time 0.004222/0.3603, allocations: 1.502 MB / 1.049 GB, free: 2.555 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.71e-05/0.3604, allocations: 60.41 kB / 1.05 GB, free: 2.484 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003381/0.3638, allocations: 1.579 MB / 1.051 GB, free: 0.8945 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002823/0.3641, allocations: 49.7 kB / 1.051 GB, free: 0.8398 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009504/0.3651, allocations: 0.7457 MB / 1.052 GB, free: 88 kB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005024/0.3656, allocations: 315.5 kB / 1.052 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.3657, allocations: 28 kB / 1.052 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002093/0.3659, allocations: 365.9 kB / 1.053 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001992/0.3679, allocations: 0.6792 MB / 1.053 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002701/0.3707, allocations: 1.012 MB / 1.054 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002635/0.3734, allocations: 0.8728 MB / 1.055 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.141e-05/0.3735, allocations: 4 kB / 1.055 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.00634/0.3798, allocations: 1.936 MB / 1.057 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004258/0.3803, allocations: 360.5 kB / 1.057 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.549e-05/0.3804, allocations: 8 kB / 1.057 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.847e-05/0.3804, allocations: 20 kB / 1.057 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002815/0.3833, allocations: 335.5 kB / 1.058 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.822e-05/0.3834, allocations: 19.94 kB / 1.058 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002461/0.3858, allocations: 228.1 kB / 1.058 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003759/0.3863, allocations: 59.98 kB / 1.058 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3863, allocations: 4 kB / 1.058 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005045/0.3913, allocations: 1.783 MB / 1.06 GB, free: 7.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.98e-05/0.3914, allocations: 8 kB / 1.06 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.96e-05/0.3915, allocations: 16 kB / 1.06 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002629/0.3941, allocations: 335.5 kB / 1.06 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-05/0.3942, allocations: 19.94 kB / 1.06 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002189/0.3964, allocations: 187.1 kB / 1.06 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002774/0.3967, allocations: 63.92 kB / 1.06 GB, free: 7.203 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.001846/0.3986, allocations: 0.7464 MB / 1.061 GB, free: 6.445 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006309/0.3992, allocations: 154.2 kB / 1.061 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00353/0.4028, allocations: 1.272 MB / 1.062 GB, free: 5.008 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.256e-05/0.4028, allocations: 16 kB / 1.062 GB, free: 4.992 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.4028, allocations: 0 / 1.062 GB, free: 4.992 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002553/0.4054, allocations: 1.284 MB / 1.064 GB, free: 3.621 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007846/0.4133, allocations: 2.927 MB / 1.066 GB, free: 0.6172 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/0.4134, allocations: 4 kB / 1.067 GB, free: 0.6133 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001639/0.415, allocations: 187.9 kB / 1.067 GB, free: 440 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.598e-05/0.415, allocations: 4 kB / 1.067 GB, free: 436 kB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-05/0.4152, allocations: 28.05 kB / 1.067 GB, free: 408 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.83e-05/0.4152, allocations: 8 kB / 1.067 GB, free: 400 kB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.979e-06/0.4152, allocations: 4 kB / 1.067 GB, free: 396 kB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6574/1.073, allocations: 1.904 MB / 1.069 GB, free: 86.91 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/1.074, allocations: 422.8 kB / 1.069 GB, free: 86.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004143/1.074, allocations: 23.61 kB / 1.069 GB, free: 86.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0016/1.076, allocations: 74.8 kB / 1.069 GB, free: 86.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/1.076, allocations: 52.39 kB / 1.069 GB, free: 86.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001347/1.076, allocations: 35.92 kB / 1.069 GB, free: 86.79 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002819/1.079, allocations: 1.181 MB / 1.07 GB, free: 86.36 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.844e-06/1.079, allocations: 0 / 1.07 GB, free: 86.36 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004034/1.083, allocations: 0.906 MB / 1.071 GB, free: 86.25 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.001198/1.085, allocations: 343.5 kB / 1.072 GB, free: 86.15 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006731/1.091, allocations: 2.308 MB / 1.074 GB, free: 85.46 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/1.091, allocations: 0.9375 kB / 1.074 GB, free: 85.46 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001427/1.093, allocations: 0.5217 MB / 1.074 GB, free: 85.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01055/1.103, allocations: 0.8584 MB / 1.075 GB, free: 85.14 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01643/1.12, allocations: 4.35 MB / 1.079 GB, free: 82.98 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003544/1.123, allocations: 1.662 MB / 1.081 GB, free: 82.08 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00776/1.131, allocations: 0.9157 MB / 1.082 GB, free: 81.99 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001283/1.133, allocations: 129.2 kB / 1.082 GB, free: 81.98 MB / 0.6823 GB Notification: Performance of SimCode: time 1.984e-06/1.133, allocations: 0 / 1.082 GB, free: 81.98 MB / 0.6823 GB Notification: Performance of Templates: time 0.1015/1.234, allocations: 32.94 MB / 1.114 GB, free: 69.12 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)