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/Buildings 8.1.1-maint.8.1.x/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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.726/1.726, allocations: 293 MB / 309 MB, free: 4.805 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.001134/0.001135, allocations: 167.3 kB / 378.7 MB, free: 1.031 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.846/1.846, allocations: 205.4 MB / 0.6383 GB, free: 8.191 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007852/0.0007857, allocations: 95.06 kB / 0.7527 GB, free: 62.75 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004181/0.0004182, allocations: 15.98 kB / 0.8768 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2766, allocations: 116.4 MB / 0.9904 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.43/1.707, allocations: 410.3 MB / 1.391 GB, free: 278.5 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/1.707, allocations: 102.7 kB / 1.391 GB, free: 278.5 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.27/2.977, allocations: 410.7 MB / 1.792 GB, free: 208.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.443e-06/2.977, allocations: 0 / 1.792 GB, free: 208.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001747/2.977, allocations: 49.38 kB / 1.792 GB, free: 208.6 MB / 0.9323 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.004494/2.982, allocations: 2.205 MB / 1.794 GB, free: 207.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/2.982, allocations: 12.19 kB / 1.794 GB, free: 207.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000643/2.982, allocations: 220 kB / 1.795 GB, free: 207.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003297/2.986, allocations: 2.04 MB / 1.797 GB, free: 207.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.68e-05/2.986, allocations: 110.7 kB / 1.797 GB, free: 207.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000212/2.986, allocations: 159.9 kB / 1.797 GB, free: 207.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002619/2.989, allocations: 1.889 MB / 1.799 GB, free: 207.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.573e-05/2.989, allocations: 10.53 kB / 1.799 GB, free: 207.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/2.989, allocations: 59.69 kB / 1.799 GB, free: 207.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.971e-05/2.989, allocations: 43.97 kB / 1.799 GB, free: 207.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002194/2.991, allocations: 1.688 MB / 1.801 GB, free: 207.1 MB / 0.9323 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.009655/3.001, allocations: 7.462 MB / 1.808 GB, free: 204.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/3.002, allocations: 1.324 MB / 1.809 GB, free: 204.5 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007118/3.003, allocations: 0.6375 MB / 1.81 GB, free: 204.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005456/3.008, allocations: 3.718 MB / 1.813 GB, free: 202.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.23e-05/3.009, allocations: 50.77 kB / 1.813 GB, free: 202.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=86): time 2.935e-06/3.009, allocations: 0 / 1.813 GB, free: 202.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86): time 0.002291/3.011, allocations: 1.451 MB / 1.815 GB, free: 202.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/3.011, allocations: 58.5 kB / 1.815 GB, free: 202.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002137/3.013, allocations: 1.586 MB / 1.816 GB, free: 202.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.794e-05/3.013, allocations: 49.23 kB / 1.817 GB, free: 202.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005007/3.014, allocations: 0.7701 MB / 1.817 GB, free: 202 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002368/3.014, allocations: 304.3 kB / 1.818 GB, free: 201.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.715e-05/3.014, allocations: 27.03 kB / 1.818 GB, free: 201.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001209/3.014, allocations: 370.8 kB / 1.818 GB, free: 201.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009047/3.015, allocations: 0.6692 MB / 1.819 GB, free: 201.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009965/3.016, allocations: 1.025 MB / 1.82 GB, free: 201.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001906/3.018, allocations: 1.588 MB / 1.821 GB, free: 200.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/3.018, allocations: 3.156 kB / 1.821 GB, free: 200.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.003073/3.021, allocations: 1.92 MB / 1.823 GB, free: 200.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001815/3.021, allocations: 362.7 kB / 1.823 GB, free: 200.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/3.021, allocations: 9.344 kB / 1.823 GB, free: 200.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.002e-05/3.021, allocations: 15.66 kB / 1.823 GB, free: 200.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/3.022, allocations: 340.4 kB / 1.824 GB, free: 200.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.489e-05/3.023, allocations: 22.97 kB / 1.824 GB, free: 200.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/3.024, allocations: 230.5 kB / 1.824 GB, free: 200.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/3.024, allocations: 66.97 kB / 1.824 GB, free: 200.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.737e-06/3.024, allocations: 3.469 kB / 1.824 GB, free: 200.1 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002646/3.027, allocations: 1.768 MB / 1.826 GB, free: 200 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/3.027, allocations: 8.875 kB / 1.826 GB, free: 200 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/3.027, allocations: 13.62 kB / 1.826 GB, free: 200 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/3.028, allocations: 337.1 kB / 1.826 GB, free: 200 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.52e-05/3.028, allocations: 22.47 kB / 1.826 GB, free: 200 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/3.03, allocations: 187.5 kB / 1.826 GB, free: 199.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/3.03, allocations: 65.31 kB / 1.826 GB, free: 199.9 MB / 0.9323 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 (176): * Single equations (assignments): 176 * 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.001584/3.031, allocations: 0.7459 MB / 1.827 GB, free: 199.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003814/3.032, allocations: 147.9 kB / 1.827 GB, free: 199.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002326/3.034, allocations: 1.21 MB / 1.828 GB, free: 199 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/3.034, allocations: 11.75 kB / 1.828 GB, free: 199 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/3.034, allocations: 1.094 kB / 1.828 GB, free: 199 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001566/3.036, allocations: 1.254 MB / 1.83 GB, free: 198.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004968/3.041, allocations: 2.861 MB / 1.832 GB, free: 197 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/3.041, allocations: 1.281 kB / 1.832 GB, free: 197 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007864/3.041, allocations: 181.3 kB / 1.833 GB, free: 197 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.347e-06/3.041, allocations: 7.125 kB / 1.833 GB, free: 197 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.025e-05/3.041, allocations: 24.53 kB / 1.833 GB, free: 197 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/3.041, allocations: 6.406 kB / 1.833 GB, free: 197 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/3.041, allocations: 2.266 kB / 1.833 GB, free: 197 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002719/3.044, allocations: 1.874 MB / 1.834 GB, free: 196.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007919/3.045, allocations: 408.2 kB / 1.835 GB, free: 195.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001965/3.045, allocations: 19.81 kB / 1.835 GB, free: 195.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007624/3.046, allocations: 71.41 kB / 1.835 GB, free: 195.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/3.046, allocations: 52.97 kB / 1.835 GB, free: 195.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.778e-05/3.046, allocations: 39.27 kB / 1.835 GB, free: 195.9 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001802/3.048, allocations: 1.176 MB / 1.836 GB, free: 195.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.31e-07/3.048, allocations: 0 / 1.836 GB, free: 195.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002475/3.051, allocations: 0.9488 MB / 1.837 GB, free: 195.2 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (88): * Single equations (assignments): 86 * 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.0009114/3.051, allocations: 0.4926 MB / 1.838 GB, free: 195.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003608/3.055, allocations: 2.294 MB / 1.84 GB, free: 194.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/3.055, allocations: 1.375 kB / 1.84 GB, free: 194.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006776/3.056, allocations: 0.5086 MB / 1.84 GB, free: 194.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003884/3.06, allocations: 0.8431 MB / 1.841 GB, free: 194.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006026/3.066, allocations: 4.291 MB / 1.845 GB, free: 192.1 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001386/3.067, allocations: 1.663 MB / 1.847 GB, free: 191.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003189/3.07, allocations: 0.9047 MB / 1.848 GB, free: 191.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003833/3.071, allocations: 134.6 kB / 1.848 GB, free: 191.2 MB / 0.9323 GB Notification: Performance of SimCode: time 7.02e-07/3.071, allocations: 0 / 1.848 GB, free: 191.2 MB / 0.9323 GB Notification: Performance of Templates: time 0.05293/3.124, allocations: 34.67 MB / 1.882 GB, free: 189.1 MB / 0.9323 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)