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.648/1.648, allocations: 285.6 MB / 293.1 MB, free: 10.16 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.00142/0.00142, allocations: 176.9 kB / 361.4 MB, free: 6.824 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.627/1.627, allocations: 205.2 MB / 0.62 GB, free: 11.67 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.0009062/0.0009056, allocations: 87.75 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.094e-05/2.093e-05, allocations: 4 kB / 0.8517 GB, free: 2.754 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6952/0.6952, allocations: 115.3 MB / 0.9644 GB, free: 78.9 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.05/1.745, allocations: 408.5 MB / 1.363 GB, free: 158.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/1.746, allocations: 97.62 kB / 1.363 GB, free: 158.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.424/3.17, allocations: 409.7 MB / 1.763 GB, free: 210 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.543e-06/3.17, allocations: 0 / 1.763 GB, free: 210 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001809/3.17, allocations: 48.14 kB / 1.764 GB, free: 210 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.00436/3.174, allocations: 1.917 MB / 1.765 GB, free: 208.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/3.175, allocations: 8.031 kB / 1.765 GB, free: 208.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008568/3.175, allocations: 221.5 kB / 1.766 GB, free: 208.1 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003783/3.179, allocations: 2.083 MB / 1.768 GB, free: 206 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.482e-05/3.179, allocations: 44 kB / 1.768 GB, free: 205.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001982/3.179, allocations: 88 kB / 1.768 GB, free: 205.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002279/3.182, allocations: 1.575 MB / 1.769 GB, free: 204.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002295/3.184, allocations: 1.65 MB / 1.771 GB, free: 202.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.909e-05/3.184, allocations: 0 / 1.771 GB, free: 202.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/3.184, allocations: 4 kB / 1.771 GB, free: 202.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.275e-05/3.184, allocations: 44.5 kB / 1.771 GB, free: 202.5 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or 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.01006/3.194, allocations: 7.238 MB / 1.778 GB, free: 195.1 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/3.196, allocations: 1.256 MB / 1.779 GB, free: 193.8 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006149/3.196, allocations: 0.6025 MB / 1.78 GB, free: 193.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005507/3.202, allocations: 3.741 MB / 1.784 GB, free: 189.2 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/3.202, allocations: 43.34 kB / 1.784 GB, free: 189.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=86): time 3.146e-06/3.202, allocations: 0 / 1.784 GB, free: 189.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86): time 0.002167/3.204, allocations: 1.111 MB / 1.785 GB, free: 188 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/3.204, allocations: 64.19 kB / 1.785 GB, free: 187.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/3.206, allocations: 1.226 MB / 1.786 GB, free: 186.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.561e-05/3.206, allocations: 25.7 kB / 1.786 GB, free: 186.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004169/3.206, allocations: 0.7638 MB / 1.787 GB, free: 185.9 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001967/3.206, allocations: 291.7 kB / 1.787 GB, free: 185.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.902e-05/3.206, allocations: 0 / 1.787 GB, free: 185.6 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000118/3.207, allocations: 369.9 kB / 1.787 GB, free: 185.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007277/3.207, allocations: 0.6324 MB / 1.788 GB, free: 184.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008649/3.208, allocations: 0.9712 MB / 1.789 GB, free: 183.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002311/3.21, allocations: 1.177 MB / 1.79 GB, free: 182.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/3.21, allocations: 0 / 1.79 GB, free: 182.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.00371/3.214, allocations: 2.127 MB / 1.792 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007385/3.215, allocations: 3.49 MB / 1.795 GB, free: 176.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/3.215, allocations: 12 kB / 1.796 GB, free: 176.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.883e-05/3.215, allocations: 20 kB / 1.796 GB, free: 176.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/3.216, allocations: 347.5 kB / 1.796 GB, free: 176 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.82e-05/3.216, allocations: 23.92 kB / 1.796 GB, free: 176 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/3.218, allocations: 170.3 kB / 1.796 GB, free: 175.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/3.218, allocations: 63.98 kB / 1.796 GB, free: 175.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/3.218, allocations: 7.938 kB / 1.796 GB, free: 175.8 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003305/3.221, allocations: 1.955 MB / 1.798 GB, free: 173.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/3.221, allocations: 8 kB / 1.798 GB, free: 173.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/3.221, allocations: 20.84 kB / 1.798 GB, free: 173.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/3.222, allocations: 355.4 kB / 1.798 GB, free: 173.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/3.222, allocations: 19.94 kB / 1.798 GB, free: 173.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/3.223, allocations: 146.7 kB / 1.799 GB, free: 173.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/3.224, allocations: 63.98 kB / 1.799 GB, free: 173.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 () * 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.0002874/3.224, allocations: 137.2 kB / 1.799 GB, free: 173.1 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002522/3.224, allocations: 126.4 kB / 1.799 GB, free: 173 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002206/3.226, allocations: 1.232 MB / 1.8 GB, free: 171.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/3.226, allocations: 11.98 kB / 1.8 GB, free: 171.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/3.226, allocations: 0 / 1.8 GB, free: 171.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001538/3.228, allocations: 1.322 MB / 1.801 GB, free: 170.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003985/3.232, allocations: 2.719 MB / 1.804 GB, free: 167.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/3.232, allocations: 7.938 kB / 1.804 GB, free: 167.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006891/3.233, allocations: 175.8 kB / 1.804 GB, free: 167.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.979e-06/3.233, allocations: 4 kB / 1.804 GB, free: 167.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.383e-05/3.233, allocations: 15.98 kB / 1.804 GB, free: 167.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/3.233, allocations: 11.89 kB / 1.804 GB, free: 167.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/3.233, allocations: 0 / 1.804 GB, free: 167.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002368/3.235, allocations: 1.904 MB / 1.806 GB, free: 165.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006662/3.236, allocations: 403.1 kB / 1.806 GB, free: 165 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/3.236, allocations: 4 kB / 1.806 GB, free: 165 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006703/3.237, allocations: 43.88 kB / 1.807 GB, free: 164.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.507e-05/3.237, allocations: 48.66 kB / 1.807 GB, free: 164.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.617e-05/3.237, allocations: 43.97 kB / 1.807 GB, free: 164.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.00111/3.238, allocations: 0.9373 MB / 1.808 GB, free: 163.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.232e-06/3.238, allocations: 0 / 1.808 GB, free: 163.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00282/3.241, allocations: 0.9504 MB / 1.808 GB, free: 163 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 () * 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.0008901/3.242, allocations: 498.7 kB / 1.809 GB, free: 162.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002624/3.244, allocations: 2.204 MB / 1.811 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/3.244, allocations: 4 kB / 1.811 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004741/3.245, allocations: 490.6 kB / 1.812 GB, free: 159.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002661/3.247, allocations: 0.633 MB / 1.812 GB, free: 159.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004078/3.252, allocations: 2.942 MB / 1.815 GB, free: 156.2 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00092/3.252, allocations: 1.689 MB / 1.817 GB, free: 154.5 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00277/3.255, allocations: 1.158 MB / 1.818 GB, free: 153.4 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/3.256, allocations: 107.4 kB / 1.818 GB, free: 153.2 MB / 0.9323 GB Notification: Performance of SimCode: time 5.51e-07/3.256, allocations: 0 / 1.818 GB, free: 153.2 MB / 0.9323 GB Notification: Performance of Templates: time 0.0393/3.295, allocations: 27.93 MB / 1.845 GB, free: 125.5 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)