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.52/2.52, allocations: 287.5 MB / 303.2 MB, free: 8.254 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.001365/0.001365, allocations: 178.5 kB / 371.8 MB, free: 10.8 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.074/2.074, allocations: 205.4 MB / 0.6305 GB, free: 10.44 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.0009588/0.000958, allocations: 92.55 kB / 0.7438 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004755/0.0004757, allocations: 11.34 kB / 0.8667 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2137, allocations: 115.3 MB / 0.9793 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.25/1.464, allocations: 409.1 MB / 1.379 GB, free: 4.996 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003349/1.464, allocations: 102 kB / 1.379 GB, free: 4.941 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.912/3.376, allocations: 410.7 MB / 1.78 GB, free: 3.711 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.134e-06/3.376, allocations: 0 / 1.78 GB, free: 3.711 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002284/3.376, allocations: 44 kB / 1.78 GB, free: 3.668 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.007876/3.384, allocations: 2.203 MB / 1.782 GB, free: 1.402 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/3.384, allocations: 12.03 kB / 1.782 GB, free: 1.391 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/3.386, allocations: 222.5 kB / 1.782 GB, free: 1.172 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8093/4.195, allocations: 2.03 MB / 1.784 GB, free: 232.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001568/4.195, allocations: 112.5 kB / 1.784 GB, free: 232.2 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005977/4.196, allocations: 159.4 kB / 1.785 GB, free: 232.2 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005694/4.202, allocations: 1.89 MB / 1.786 GB, free: 232 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.178e-05/4.202, allocations: 10.84 kB / 1.786 GB, free: 232 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002419/4.202, allocations: 59.75 kB / 1.787 GB, free: 232 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.557e-05/4.202, allocations: 42.23 kB / 1.787 GB, free: 232 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005797/4.208, allocations: 1.686 MB / 1.788 GB, free: 232 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.02072/4.229, allocations: 7.464 MB / 1.796 GB, free: 229.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00342/4.232, allocations: 1.413 MB / 1.797 GB, free: 229.5 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001779/4.234, allocations: 0.6486 MB / 1.798 GB, free: 229.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01123/4.245, allocations: 3.792 MB / 1.801 GB, free: 227.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/4.245, allocations: 46.16 kB / 1.801 GB, free: 227.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=88): time 3.737e-06/4.245, allocations: 0 / 1.801 GB, free: 227.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=88): time 0.004083/4.249, allocations: 1.476 MB / 1.803 GB, free: 227.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/4.249, allocations: 69.34 kB / 1.803 GB, free: 227.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003654/4.253, allocations: 1.558 MB / 1.804 GB, free: 227.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003585/4.254, allocations: 47.55 kB / 1.804 GB, free: 227.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008524/4.254, allocations: 0.7523 MB / 1.805 GB, free: 227 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004677/4.255, allocations: 315.1 kB / 1.805 GB, free: 226.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/4.255, allocations: 27.12 kB / 1.805 GB, free: 226.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001284/4.255, allocations: 366.1 kB / 1.806 GB, free: 226.6 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001689/4.257, allocations: 0.665 MB / 1.806 GB, free: 226.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002006/4.259, allocations: 1.018 MB / 1.807 GB, free: 226.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003467/4.262, allocations: 1.594 MB / 1.809 GB, free: 225.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.066e-05/4.262, allocations: 5.094 kB / 1.809 GB, free: 225.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.005542/4.268, allocations: 1.912 MB / 1.811 GB, free: 225.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002153/4.268, allocations: 360.3 kB / 1.811 GB, free: 225.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/4.268, allocations: 10.72 kB / 1.811 GB, free: 225.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.503e-05/4.268, allocations: 15.31 kB / 1.811 GB, free: 225.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00259/4.271, allocations: 337.4 kB / 1.812 GB, free: 225.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.045e-05/4.271, allocations: 19.25 kB / 1.812 GB, free: 225.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002468/4.273, allocations: 216.5 kB / 1.812 GB, free: 225.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002246/4.274, allocations: 61.72 kB / 1.812 GB, free: 225.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/4.274, allocations: 7.578 kB / 1.812 GB, free: 225.3 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004328/4.278, allocations: 1.762 MB / 1.814 GB, free: 225.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.62e-05/4.278, allocations: 12.45 kB / 1.814 GB, free: 225.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/4.278, allocations: 15.25 kB / 1.814 GB, free: 225.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002444/4.281, allocations: 337.3 kB / 1.814 GB, free: 225.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.393e-05/4.281, allocations: 23.67 kB / 1.814 GB, free: 225.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0023/4.283, allocations: 192.3 kB / 1.814 GB, free: 225.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003275/4.283, allocations: 64.44 kB / 1.814 GB, free: 225.2 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 (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.001845/4.285, allocations: 0.7453 MB / 1.815 GB, free: 225 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006231/4.286, allocations: 145.8 kB / 1.815 GB, free: 224.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003402/4.289, allocations: 1.25 MB / 1.816 GB, free: 224.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.396e-05/4.289, allocations: 19.48 kB / 1.816 GB, free: 224.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.948e-06/4.289, allocations: 0.6562 kB / 1.816 GB, free: 224.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002543/4.292, allocations: 1.259 MB / 1.817 GB, free: 224.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008246/4.3, allocations: 2.878 MB / 1.82 GB, free: 224 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/4.3, allocations: 1.125 kB / 1.82 GB, free: 224 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001648/4.302, allocations: 185.8 kB / 1.82 GB, free: 224 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.761e-05/4.302, allocations: 4.312 kB / 1.82 GB, free: 224 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000155/4.302, allocations: 27.48 kB / 1.821 GB, free: 224 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.128e-05/4.302, allocations: 4.703 kB / 1.821 GB, free: 224 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/4.302, allocations: 4.094 kB / 1.821 GB, free: 224 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004571/4.307, allocations: 1.882 MB / 1.822 GB, free: 223.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00156/4.308, allocations: 410.9 kB / 1.823 GB, free: 223.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006308/4.309, allocations: 18.09 kB / 1.823 GB, free: 223.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001642/4.311, allocations: 74.62 kB / 1.823 GB, free: 223.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/4.311, allocations: 55.2 kB / 1.823 GB, free: 223.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/4.311, allocations: 36.38 kB / 1.823 GB, free: 223.5 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002728/4.314, allocations: 1.17 MB / 1.824 GB, free: 223.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.11e-07/4.314, allocations: 0 / 1.824 GB, free: 223.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004969/4.319, allocations: 0.9437 MB / 1.825 GB, free: 223.4 MB / 0.9323 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.001551/4.32, allocations: 497.2 kB / 1.825 GB, free: 223.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006141/4.327, allocations: 2.297 MB / 1.828 GB, free: 223.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/4.327, allocations: 1.281 kB / 1.828 GB, free: 223.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001268/4.328, allocations: 0.5132 MB / 1.828 GB, free: 223.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007872/4.336, allocations: 0.8556 MB / 1.829 GB, free: 223.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009692/4.345, allocations: 4.296 MB / 1.833 GB, free: 221.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002065/4.348, allocations: 1.659 MB / 1.835 GB, free: 221 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.004747/4.352, allocations: 0.9051 MB / 1.836 GB, free: 221 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007956/4.353, allocations: 133.6 kB / 1.836 GB, free: 221 MB / 0.9323 GB Notification: Performance of SimCode: time 9.72e-07/4.353, allocations: 0 / 1.836 GB, free: 221 MB / 0.9323 GB Notification: Performance of Templates: time 0.08138/4.435, allocations: 34.35 MB / 1.869 GB, free: 219.9 MB / 0.9323 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)