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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 2.039/2.039, allocations: 292.6 MB / 307.5 MB, free: 5.242 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.002678/0.002678, allocations: 184 kB / 377.1 MB, free: 1.527 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.889/1.889, allocations: 205.4 MB / 0.6367 GB, free: 8.645 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.0009179/0.0009176, allocations: 90.59 kB / 0.751 GB, free: 63.11 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003932/0.0003932, allocations: 8 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3102, allocations: 116.3 MB / 0.9884 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.548/1.859, allocations: 410.2 MB / 1.389 GB, free: 278.8 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003781/1.859, allocations: 98.5 kB / 1.389 GB, free: 278.8 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.312/3.171, allocations: 413 MB / 1.792 GB, free: 208.5 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.055e-06/3.171, allocations: 2.875 kB / 1.792 GB, free: 208.5 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001944/3.171, allocations: 44.83 kB / 1.792 GB, free: 208.5 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.00659/3.178, allocations: 2.226 MB / 1.795 GB, free: 207.7 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/3.178, allocations: 9 kB / 1.795 GB, free: 207.7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001705/3.18, allocations: 227.2 kB / 1.795 GB, free: 207.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006742/3.187, allocations: 2.091 MB / 1.797 GB, free: 207.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/3.187, allocations: 113.8 kB / 1.797 GB, free: 207.2 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006089/3.187, allocations: 155.1 kB / 1.797 GB, free: 207.2 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004458/3.192, allocations: 1.882 MB / 1.799 GB, free: 207 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.551e-05/3.192, allocations: 4.062 kB / 1.799 GB, free: 207 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000182/3.192, allocations: 55.94 kB / 1.799 GB, free: 207 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.444e-05/3.192, allocations: 41.12 kB / 1.799 GB, free: 207 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002708/3.195, allocations: 1.692 MB / 1.801 GB, free: 207 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.01186/3.207, allocations: 7.54 MB / 1.808 GB, free: 204.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001626/3.209, allocations: 1.328 MB / 1.809 GB, free: 204.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006322/3.215, allocations: 3.75 MB / 1.813 GB, free: 202.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/3.215, allocations: 42.09 kB / 1.813 GB, free: 202.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=86): time 2.925e-06/3.215, allocations: 2.531 kB / 1.813 GB, free: 202.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86): time 0.002472/3.217, allocations: 1.451 MB / 1.814 GB, free: 202.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/3.218, allocations: 64.16 kB / 1.815 GB, free: 202.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002335/3.22, allocations: 1.507 MB / 1.816 GB, free: 202.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001454/3.22, allocations: 46.64 kB / 1.816 GB, free: 202.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006278/3.221, allocations: 0.7615 MB / 1.817 GB, free: 201.9 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002731/3.221, allocations: 305.6 kB / 1.817 GB, free: 201.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.05e-05/3.221, allocations: 28.94 kB / 1.817 GB, free: 201.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001084/3.221, allocations: 369.9 kB / 1.817 GB, free: 201.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/3.222, allocations: 0.6662 MB / 1.818 GB, free: 201.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/3.224, allocations: 1.014 MB / 1.819 GB, free: 201.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/3.225, allocations: 0.8666 MB / 1.82 GB, free: 201.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/3.225, allocations: 3.281 kB / 1.82 GB, free: 201.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.003448/3.228, allocations: 1.922 MB / 1.822 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009437/3.229, allocations: 3.525 MB / 1.825 GB, free: 197.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/3.229, allocations: 8.688 kB / 1.825 GB, free: 197.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.361e-05/3.229, allocations: 14.53 kB / 1.825 GB, free: 197.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/3.231, allocations: 350.1 kB / 1.826 GB, free: 197.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.717e-05/3.231, allocations: 23.55 kB / 1.826 GB, free: 197.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/3.233, allocations: 231.7 kB / 1.826 GB, free: 197.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/3.233, allocations: 62.66 kB / 1.826 GB, free: 197.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/3.233, allocations: 2.469 kB / 1.826 GB, free: 197.2 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002838/3.236, allocations: 1.764 MB / 1.828 GB, free: 197.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/3.236, allocations: 10.94 kB / 1.828 GB, free: 197.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/3.236, allocations: 15.75 kB / 1.828 GB, free: 197.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/3.237, allocations: 355.8 kB / 1.828 GB, free: 197.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.491e-05/3.237, allocations: 23.59 kB / 1.828 GB, free: 197.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/3.239, allocations: 193 kB / 1.828 GB, free: 197.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/3.239, allocations: 62.89 kB / 1.828 GB, free: 197.1 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.001638/3.24, allocations: 0.7475 MB / 1.829 GB, free: 196.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004313/3.241, allocations: 153.9 kB / 1.829 GB, free: 196.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002071/3.243, allocations: 1.206 MB / 1.83 GB, free: 196.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/3.243, allocations: 11.03 kB / 1.83 GB, free: 196.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/3.243, allocations: 5.422 kB / 1.83 GB, free: 196.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001541/3.245, allocations: 1.255 MB / 1.832 GB, free: 195.6 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005473/3.25, allocations: 2.876 MB / 1.834 GB, free: 194.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/3.25, allocations: 4.125 kB / 1.834 GB, free: 194.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008363/3.251, allocations: 174.6 kB / 1.835 GB, free: 194.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.176e-05/3.251, allocations: 8.422 kB / 1.835 GB, free: 194.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-05/3.251, allocations: 27.48 kB / 1.835 GB, free: 194.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.617e-06/3.251, allocations: 7.594 kB / 1.835 GB, free: 194.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/3.251, allocations: 4.984 kB / 1.835 GB, free: 194.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003058/3.254, allocations: 1.903 MB / 1.836 GB, free: 193.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/3.255, allocations: 427.9 kB / 1.837 GB, free: 193.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002343/3.256, allocations: 20.48 kB / 1.837 GB, free: 193.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000855/3.256, allocations: 82.3 kB / 1.837 GB, free: 193.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/3.257, allocations: 48.78 kB / 1.837 GB, free: 193.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.493e-05/3.257, allocations: 36.25 kB / 1.837 GB, free: 193.1 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002285/3.259, allocations: 1.257 MB / 1.838 GB, free: 192.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.1e-07/3.259, allocations: 0 / 1.838 GB, free: 192.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003427/3.262, allocations: 0.9576 MB / 1.839 GB, free: 192.5 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.001267/3.264, allocations: 0.5033 MB / 1.84 GB, free: 192.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004376/3.268, allocations: 2.295 MB / 1.842 GB, free: 191.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/3.268, allocations: 1.031 kB / 1.842 GB, free: 191.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0008364/3.269, allocations: 0.5053 MB / 1.842 GB, free: 191.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004482/3.273, allocations: 0.8461 MB / 1.843 GB, free: 191.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007861/3.281, allocations: 4.279 MB / 1.847 GB, free: 189.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001654/3.283, allocations: 1.691 MB / 1.849 GB, free: 188.5 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003913/3.287, allocations: 0.9133 MB / 1.85 GB, free: 188.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005206/3.287, allocations: 132.9 kB / 1.85 GB, free: 188.5 MB / 0.9323 GB Notification: Performance of SimCode: time 2.816e-06/3.287, allocations: 0 / 1.85 GB, free: 188.5 MB / 0.9323 GB Notification: Performance of Templates: time 0.0593/3.347, allocations: 34.6 MB / 1.884 GB, free: 186.3 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)