Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.124/2.124, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001441/0.001441, allocations: 178.5 kB / 326.2 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.361/2.361, allocations: 205.4 MB / 0.5772 GB, free: 21.19 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009428/0.0009424, allocations: 95.34 kB / 0.6817 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006376/0.0006378, allocations: 15.16 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2155, allocations: 106.3 MB / 0.8995 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.174/1.39, allocations: 401.4 MB / 1.291 GB, free: 3.777 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003293/1.39, allocations: 99.33 kB / 1.292 GB, free: 3.723 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.894/3.284, allocations: 399.8 MB / 1.682 GB, free: 42.46 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.494e-06/3.284, allocations: 0 / 1.682 GB, free: 42.46 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000286/3.284, allocations: 51.92 kB / 1.682 GB, free: 42.41 MB / 0.8698 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.008761/3.293, allocations: 2.222 MB / 1.684 GB, free: 40.12 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/3.293, allocations: 8.031 kB / 1.684 GB, free: 40.12 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001625/3.295, allocations: 222.5 kB / 1.684 GB, free: 39.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006605/3.301, allocations: 1.983 MB / 1.686 GB, free: 37.86 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/3.302, allocations: 115.1 kB / 1.686 GB, free: 37.75 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005807/3.302, allocations: 152.4 kB / 1.687 GB, free: 37.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005271/3.307, allocations: 1.877 MB / 1.688 GB, free: 35.66 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001105/3.308, allocations: 11.88 kB / 1.688 GB, free: 35.64 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002589/3.308, allocations: 56 kB / 1.689 GB, free: 35.59 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.169e-05/3.308, allocations: 39.98 kB / 1.689 GB, free: 35.55 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004853/3.313, allocations: 1.689 MB / 1.69 GB, free: 33.86 MB / 0.8698 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.01857/3.331, allocations: 7.456 MB / 1.697 GB, free: 26.11 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002957/3.334, allocations: 1.41 MB / 1.699 GB, free: 24.67 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001474/3.336, allocations: 0.6522 MB / 1.7 GB, free: 24.02 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01012/3.346, allocations: 3.785 MB / 1.703 GB, free: 19.91 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/3.346, allocations: 39.56 kB / 1.703 GB, free: 19.87 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=88): time 4.208e-06/3.346, allocations: 4 kB / 1.703 GB, free: 19.86 MB / 0.8698 GB Notification: Performance of matching and sorting (n=88): time 0.003884/3.35, allocations: 1.467 MB / 1.705 GB, free: 18.39 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/3.35, allocations: 60.41 kB / 1.705 GB, free: 18.32 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00323/3.353, allocations: 1.569 MB / 1.706 GB, free: 16.74 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003237/3.354, allocations: 49.7 kB / 1.706 GB, free: 16.69 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008175/3.355, allocations: 0.7457 MB / 1.707 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004695/3.355, allocations: 315.4 kB / 1.707 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/3.355, allocations: 32 kB / 1.707 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001305/3.355, allocations: 357.9 kB / 1.708 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001652/3.357, allocations: 0.6674 MB / 1.708 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001938/3.359, allocations: 1.014 MB / 1.709 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002065/3.361, allocations: 0.8611 MB / 1.71 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-05/3.361, allocations: 0 / 1.71 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.005021/3.366, allocations: 1.92 MB / 1.712 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000218/3.366, allocations: 357.3 kB / 1.712 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/3.366, allocations: 12 kB / 1.712 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.14e-05/3.367, allocations: 16 kB / 1.712 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002671/3.369, allocations: 343.4 kB / 1.713 GB, free: 9.785 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.773e-05/3.369, allocations: 23.92 kB / 1.713 GB, free: 9.762 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002507/3.372, allocations: 214.1 kB / 1.713 GB, free: 9.551 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000351/3.372, allocations: 59.98 kB / 1.713 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/3.372, allocations: 4 kB / 1.713 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004422/3.377, allocations: 1.76 MB / 1.715 GB, free: 7.727 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-05/3.377, allocations: 8 kB / 1.715 GB, free: 7.719 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/3.377, allocations: 23.92 kB / 1.715 GB, free: 7.695 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002538/3.379, allocations: 335.5 kB / 1.715 GB, free: 7.367 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-05/3.379, allocations: 19.92 kB / 1.715 GB, free: 7.348 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002334/3.382, allocations: 186.9 kB / 1.715 GB, free: 7.164 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002881/3.382, allocations: 59.98 kB / 1.715 GB, free: 7.105 MB / 0.8698 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.001575/3.384, allocations: 0.7386 MB / 1.716 GB, free: 6.355 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005385/3.384, allocations: 158 kB / 1.716 GB, free: 6.199 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003021/3.387, allocations: 1.263 MB / 1.717 GB, free: 4.914 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/3.387, allocations: 8 kB / 1.717 GB, free: 4.906 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/3.387, allocations: 4 kB / 1.718 GB, free: 4.902 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002174/3.389, allocations: 1.261 MB / 1.719 GB, free: 3.555 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00689/3.396, allocations: 2.864 MB / 1.722 GB, free: 0.6133 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/3.396, allocations: 3.938 kB / 1.722 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001567/3.398, allocations: 187.8 kB / 1.722 GB, free: 436 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.25e-05/3.398, allocations: 8.125 kB / 1.722 GB, free: 428 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/3.398, allocations: 23.98 kB / 1.722 GB, free: 404 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.318e-06/3.398, allocations: 4 kB / 1.722 GB, free: 400 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/3.398, allocations: 4 kB / 1.722 GB, free: 396 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6202/4.018, allocations: 1.873 MB / 1.724 GB, free: 217.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/4.02, allocations: 410.4 kB / 1.724 GB, free: 217.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003688/4.02, allocations: 21.94 kB / 1.724 GB, free: 217.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001499/4.022, allocations: 68.91 kB / 1.724 GB, free: 217.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/4.022, allocations: 57.14 kB / 1.724 GB, free: 217.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/4.022, allocations: 33.09 kB / 1.724 GB, free: 217.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002448/4.024, allocations: 1.171 MB / 1.725 GB, free: 217 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.71e-07/4.024, allocations: 0 / 1.725 GB, free: 217 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003966/4.028, allocations: 0.9429 MB / 1.726 GB, free: 216.9 MB / 0.8698 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.001404/4.03, allocations: 0.4891 MB / 1.727 GB, free: 216.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005995/4.036, allocations: 2.292 MB / 1.729 GB, free: 216.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/4.036, allocations: 1.469 kB / 1.729 GB, free: 216.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001373/4.037, allocations: 0.5138 MB / 1.729 GB, free: 216.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007747/4.045, allocations: 0.8627 MB / 1.73 GB, free: 216.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/4.055, allocations: 4.296 MB / 1.734 GB, free: 215.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002197/4.057, allocations: 1.659 MB / 1.736 GB, free: 214.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.005049/4.062, allocations: 0.9101 MB / 1.737 GB, free: 214.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007216/4.063, allocations: 134.3 kB / 1.737 GB, free: 214.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.082e-06/4.063, allocations: 0 / 1.737 GB, free: 214.6 MB / 0.8698 GB Notification: Performance of Templates: time 0.08394/4.147, allocations: 34 MB / 1.77 GB, free: 213.5 MB / 0.8698 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)