Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.473/2.473, allocations: 251.3 MB / 266.2 MB, free: 11.51 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001319/0.001319, allocations: 176.8 kB / 325.8 MB, free: 2.77 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.599/2.599, allocations: 205.4 MB / 0.5767 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009399/0.0009395, allocations: 95.97 kB / 0.6812 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004976/0.0004978, allocations: 15.19 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2121, allocations: 106.3 MB / 0.899 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.03402/0.2462, allocations: 26.27 MB / 0.9247 GB, free: 39.02 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01285/0.2591, allocations: 7.318 MB / 0.9318 GB, free: 31.69 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001461/0.2606, allocations: 27.81 kB / 0.9319 GB, free: 31.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001397/0.2621, allocations: 286.1 kB / 0.9321 GB, free: 31.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003352/0.2655, allocations: 0.8043 MB / 0.9329 GB, free: 30.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003493/0.269, allocations: 0.7488 MB / 0.9337 GB, free: 29.83 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.006883/0.2759, allocations: 5.251 MB / 0.9388 GB, free: 24.56 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002989/0.2789, allocations: 1.706 MB / 0.9405 GB, free: 22.82 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003231/0.2822, allocations: 1.307 MB / 0.9417 GB, free: 21.51 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00266/0.2849, allocations: 1.225 MB / 0.9429 GB, free: 20.28 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0004436/0.2854, allocations: 80 kB / 0.943 GB, free: 20.2 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003318/0.2887, allocations: 0.9788 MB / 0.944 GB, free: 19.22 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000699/0.2895, allocations: 350.5 kB / 0.9443 GB, free: 18.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0007888/0.2903, allocations: 420.7 kB / 0.9447 GB, free: 18.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004634/0.295, allocations: 2.79 MB / 0.9474 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.295, allocations: 3.938 kB / 0.9474 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.885e-06/0.295, allocations: 0 / 0.9474 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.605e-05/0.2951, allocations: 0 / 0.9474 GB, free: 15.66 MB / 0.6042 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.006787/0.3019, allocations: 2.133 MB / 0.9495 GB, free: 13.47 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.302, allocations: 12.03 kB / 0.9495 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00141/0.3034, allocations: 230.5 kB / 0.9497 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004594/0.3081, allocations: 1.696 MB / 0.9514 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.3082, allocations: 118.7 kB / 0.9515 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004246/0.3086, allocations: 151.9 kB / 0.9517 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004775/0.3134, allocations: 1.962 MB / 0.9536 GB, free: 9.191 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.836e-05/0.3135, allocations: 11.92 kB / 0.9536 GB, free: 9.18 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002042/0.3138, allocations: 56 kB / 0.9536 GB, free: 9.125 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.2e-05/0.3138, allocations: 40 kB / 0.9537 GB, free: 9.086 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004472/0.3183, allocations: 1.79 MB / 0.9554 GB, free: 7.289 MB / 0.6042 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.01768/0.336, allocations: 7.601 MB / 0.9628 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00355/0.3397, allocations: 1.44 MB / 0.9643 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001749/0.3415, allocations: 0.6639 MB / 0.9649 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01154/0.353, allocations: 3.835 MB / 0.9686 GB, free: 9.098 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.818e-05/0.3532, allocations: 51.55 kB / 0.9687 GB, free: 9.039 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=88): time 4.358e-06/0.3532, allocations: 0 / 0.9687 GB, free: 9.039 MB / 0.6198 GB Notification: Performance of matching and sorting (n=88): time 0.004401/0.3576, allocations: 1.494 MB / 0.9702 GB, free: 7.535 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.3577, allocations: 64.41 kB / 0.9702 GB, free: 7.461 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003629/0.3613, allocations: 1.574 MB / 0.9718 GB, free: 5.875 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0003307/0.3617, allocations: 45.7 kB / 0.9718 GB, free: 5.824 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001047/0.3628, allocations: 0.7495 MB / 0.9725 GB, free: 5.066 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006474/0.3634, allocations: 311.5 kB / 0.9728 GB, free: 4.758 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.3636, allocations: 32 kB / 0.9729 GB, free: 4.727 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002096/0.3638, allocations: 361.9 kB / 0.9732 GB, free: 4.367 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001961/0.3658, allocations: 0.683 MB / 0.9739 GB, free: 3.684 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002397/0.3682, allocations: 1.009 MB / 0.9749 GB, free: 2.543 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002496/0.3708, allocations: 0.8689 MB / 0.9757 GB, free: 1.676 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.846e-05/0.3709, allocations: 7.938 kB / 0.9757 GB, free: 1.668 MB / 0.6198 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.005862/0.3767, allocations: 1.932 MB / 0.9776 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.000311/0.3771, allocations: 364.7 kB / 0.9779 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/0.3771, allocations: 8 kB / 0.978 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.933e-05/0.3772, allocations: 16 kB / 0.978 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002803/0.38, allocations: 331.5 kB / 0.9783 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.716e-05/0.3801, allocations: 19.94 kB / 0.9783 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0025/0.3826, allocations: 222.1 kB / 0.9785 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003477/0.383, allocations: 59.98 kB / 0.9786 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.3831, allocations: 7.938 kB / 0.9786 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005106/0.3882, allocations: 1.787 MB / 0.9803 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.947e-05/0.3883, allocations: 8 kB / 0.9803 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.086e-05/0.3883, allocations: 16 kB / 0.9803 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002697/0.391, allocations: 335.5 kB / 0.9807 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.247e-05/0.3911, allocations: 20.62 kB / 0.9807 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002355/0.3934, allocations: 190.5 kB / 0.9809 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003349/0.3938, allocations: 59.98 kB / 0.9809 GB, free: 12.18 MB / 0.6355 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.001825/0.3956, allocations: 0.7542 MB / 0.9817 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005985/0.3963, allocations: 150.1 kB / 0.9818 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003504/0.3998, allocations: 1.282 MB / 0.9831 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.486e-05/0.3999, allocations: 12 kB / 0.9831 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.3999, allocations: 0 / 0.9831 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002576/0.4025, allocations: 1.284 MB / 0.9843 GB, free: 8.598 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007862/0.4104, allocations: 2.912 MB / 0.9872 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/0.4104, allocations: 0 / 0.9872 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001727/0.4122, allocations: 191.9 kB / 0.9873 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.621e-05/0.4122, allocations: 8 kB / 0.9874 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001113/0.4123, allocations: 23.98 kB / 0.9874 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.424e-05/0.4124, allocations: 7.938 kB / 0.9874 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.4124, allocations: 64 / 0.9874 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00466/0.417, allocations: 1.909 MB / 0.9893 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001426/0.4185, allocations: 418.8 kB / 0.9897 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004876/0.419, allocations: 20 kB / 0.9897 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001854/0.4209, allocations: 78.3 kB / 0.9897 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/0.4211, allocations: 60.8 kB / 0.9898 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001269/0.4213, allocations: 31.98 kB / 0.9898 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002949/0.4242, allocations: 1.178 MB / 0.991 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.41e-07/0.4243, allocations: 3.938 kB / 0.991 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004458/0.4287, allocations: 0.9007 MB / 0.9919 GB, free: 0.7461 MB / 0.6355 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.001326/0.4301, allocations: 344.4 kB / 0.9922 GB, free: 416 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.006324/0.4365, allocations: 2.304 MB / 0.9944 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/0.4365, allocations: 4 kB / 0.9945 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001344/0.4379, allocations: 0.5185 MB / 0.995 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007468/0.4454, allocations: 0.8639 MB / 0.9958 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/0.4557, allocations: 4.341 MB / 1 GB, free: 8.348 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001943/0.4577, allocations: 1.665 MB / 1.002 GB, free: 6.652 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.004839/0.4626, allocations: 0.921 MB / 1.003 GB, free: 5.746 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008922/0.4635, allocations: 135.3 kB / 1.003 GB, free: 5.613 MB / 0.6511 GB Notification: Performance of SimCode: time 1.062e-06/0.4636, allocations: 0 / 1.003 GB, free: 5.613 MB / 0.6511 GB Notification: Performance of Templates: time 0.08873/0.5523, allocations: 32.7 MB / 1.035 GB, free: 5.172 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_7.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)