Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.715/1.715, allocations: 288.4 MB / 304.3 MB, free: 8.141 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.001167/0.001167, allocations: 176.5 kB / 373 MB, free: 10.17 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.662/1.662, allocations: 205.4 MB / 0.6317 GB, free: 9.824 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.0008327/0.0008329, allocations: 96.72 kB / 0.745 GB, free: 5.723 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003943/0.0003945, allocations: 16.28 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2279, allocations: 115.3 MB / 0.9807 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9372/1.165, allocations: 409.3 MB / 1.38 GB, free: 3.613 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/1.166, allocations: 105.1 kB / 1.381 GB, free: 3.555 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.155/2.32, allocations: 410.7 MB / 1.782 GB, free: 1.555 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.042e-06/2.321, allocations: 0 / 1.782 GB, free: 1.555 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001427/2.321, allocations: 44 kB / 1.782 GB, free: 1.512 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.3952/2.716, allocations: 2.195 MB / 1.784 GB, free: 231.7 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/2.716, allocations: 9.75 kB / 1.784 GB, free: 231.7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/2.717, allocations: 226.5 kB / 1.784 GB, free: 231.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004714/2.722, allocations: 2.041 MB / 1.786 GB, free: 231.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.823e-05/2.722, allocations: 114.3 kB / 1.786 GB, free: 231.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003045/2.722, allocations: 156.9 kB / 1.786 GB, free: 231.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00304/2.725, allocations: 1.894 MB / 1.788 GB, free: 231.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.993e-05/2.725, allocations: 12.84 kB / 1.788 GB, free: 231.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/2.726, allocations: 58.62 kB / 1.788 GB, free: 231.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.212e-05/2.726, allocations: 36.28 kB / 1.788 GB, free: 231.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002754/2.728, allocations: 1.691 MB / 1.79 GB, free: 231.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.01265/2.741, allocations: 7.468 MB / 1.797 GB, free: 228.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002546/2.744, allocations: 1.315 MB / 1.798 GB, free: 228.6 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/2.745, allocations: 0.6339 MB / 1.799 GB, free: 228.6 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007943/2.753, allocations: 3.725 MB / 1.803 GB, free: 226.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.664e-05/2.753, allocations: 50.78 kB / 1.803 GB, free: 226.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=86): time 4.418e-06/2.753, allocations: 0 / 1.803 GB, free: 226.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86): time 0.00336/2.756, allocations: 1.451 MB / 1.804 GB, free: 226.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/2.756, allocations: 60.88 kB / 1.804 GB, free: 226.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002451/2.759, allocations: 1.583 MB / 1.806 GB, free: 226.5 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001296/2.759, allocations: 52.67 kB / 1.806 GB, free: 226.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005819/2.76, allocations: 0.7612 MB / 1.807 GB, free: 226.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002881/2.76, allocations: 304 kB / 1.807 GB, free: 226 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.453e-05/2.76, allocations: 29.06 kB / 1.807 GB, free: 226 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001109/2.76, allocations: 370.3 kB / 1.807 GB, free: 225.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/2.761, allocations: 0.6714 MB / 1.808 GB, free: 225.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/2.762, allocations: 1.018 MB / 1.809 GB, free: 225.4 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/2.764, allocations: 1.594 MB / 1.81 GB, free: 225 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/2.764, allocations: 2.812 kB / 1.81 GB, free: 225 MB / 0.9323 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.002828/2.767, allocations: 1.92 MB / 1.812 GB, free: 224.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001535/2.767, allocations: 352.8 kB / 1.813 GB, free: 224.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/2.767, allocations: 8.531 kB / 1.813 GB, free: 224.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.482e-05/2.767, allocations: 19.94 kB / 1.813 GB, free: 224.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/2.768, allocations: 342.2 kB / 1.813 GB, free: 224.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-05/2.768, allocations: 22.16 kB / 1.813 GB, free: 224.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/2.77, allocations: 228.8 kB / 1.813 GB, free: 224.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/2.77, allocations: 62.02 kB / 1.813 GB, free: 224.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.208e-06/2.77, allocations: 4.406 kB / 1.813 GB, free: 224.4 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002709/2.773, allocations: 1.774 MB / 1.815 GB, free: 224.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/2.773, allocations: 13.3 kB / 1.815 GB, free: 224.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/2.773, allocations: 14.97 kB / 1.815 GB, free: 224.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/2.774, allocations: 348.1 kB / 1.815 GB, free: 224.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.577e-05/2.774, allocations: 18.62 kB / 1.815 GB, free: 224.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/2.776, allocations: 184.7 kB / 1.816 GB, free: 224.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/2.776, allocations: 68.23 kB / 1.816 GB, free: 224.4 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.001234/2.777, allocations: 0.7448 MB / 1.816 GB, free: 224.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003591/2.777, allocations: 143.9 kB / 1.816 GB, free: 224.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00171/2.779, allocations: 1.211 MB / 1.818 GB, free: 224 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/2.779, allocations: 8.547 kB / 1.818 GB, free: 224 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/2.779, allocations: 0 / 1.818 GB, free: 224 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001469/2.78, allocations: 1.259 MB / 1.819 GB, free: 223.6 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005348/2.786, allocations: 2.858 MB / 1.822 GB, free: 223.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/2.786, allocations: 1.094 kB / 1.822 GB, free: 223.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008533/2.787, allocations: 186.8 kB / 1.822 GB, free: 223.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-05/2.787, allocations: 4.625 kB / 1.822 GB, free: 223.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.645e-05/2.787, allocations: 22.41 kB / 1.822 GB, free: 223.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.084e-05/2.787, allocations: 4.734 kB / 1.822 GB, free: 223.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/2.787, allocations: 1 kB / 1.822 GB, free: 223.2 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002917/2.79, allocations: 1.866 MB / 1.824 GB, free: 222.9 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009809/2.791, allocations: 406.6 kB / 1.824 GB, free: 222.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002447/2.791, allocations: 24.08 kB / 1.824 GB, free: 222.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008471/2.792, allocations: 71.75 kB / 1.824 GB, free: 222.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/2.792, allocations: 58.48 kB / 1.824 GB, free: 222.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.953e-05/2.792, allocations: 35.62 kB / 1.824 GB, free: 222.7 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.00177/2.794, allocations: 1.179 MB / 1.825 GB, free: 222.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.2e-07/2.794, allocations: 3 kB / 1.825 GB, free: 222.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00295/2.797, allocations: 0.9464 MB / 1.826 GB, free: 222.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.001031/2.798, allocations: 489.6 kB / 1.827 GB, free: 222.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003544/2.801, allocations: 2.296 MB / 1.829 GB, free: 222.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/2.801, allocations: 0 / 1.829 GB, free: 222.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000682/2.802, allocations: 0.5067 MB / 1.83 GB, free: 222.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004328/2.807, allocations: 0.8501 MB / 1.83 GB, free: 222.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0056/2.812, allocations: 4.306 MB / 1.835 GB, free: 220.9 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00124/2.813, allocations: 1.658 MB / 1.836 GB, free: 220.2 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002828/2.816, allocations: 0.8996 MB / 1.837 GB, free: 220.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003744/2.817, allocations: 127.6 kB / 1.837 GB, free: 220.2 MB / 0.9323 GB Notification: Performance of SimCode: time 1.052e-06/2.817, allocations: 2.875 kB / 1.837 GB, free: 220.2 MB / 0.9323 GB Notification: Performance of Templates: time 0.05019/2.867, allocations: 34.68 MB / 1.871 GB, free: 219.1 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)