Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.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.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.644/1.644, allocations: 287.5 MB / 302.6 MB, free: 8.207 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.0009554/0.0009553, allocations: 182 kB / 371.2 MB, free: 10.75 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.396/1.396, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0008225/0.0008226, allocations: 96.78 kB / 0.7432 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003411/0.0003411, allocations: 11.86 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.167, allocations: 115.3 MB / 0.9787 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.001998/0.169, allocations: 1.956 MB / 0.9806 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.1703, allocations: 0.9722 MB / 0.9816 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.1704, allocations: 7.938 kB / 0.9816 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001757/0.1706, allocations: 47.77 kB / 0.9816 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001471/0.1708, allocations: 67.41 kB / 0.9817 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003476/0.1711, allocations: 129.3 kB / 0.9818 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.1713, allocations: 262.8 kB / 0.982 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.1714, allocations: 32.62 kB / 0.9821 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.1716, allocations: 99.56 kB / 0.9822 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.1717, allocations: 103.5 kB / 0.9823 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.626e-05/0.1717, allocations: 8 kB / 0.9823 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002134/0.1719, allocations: 99.89 kB / 0.9824 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.301e-05/0.172, allocations: 43.78 kB / 0.9824 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.569e-05/0.172, allocations: 65.64 kB / 0.9825 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.1722, allocations: 219.4 kB / 0.9827 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.1722, allocations: 0 / 0.9827 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1723, allocations: 0 / 0.9827 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.1723, allocations: 0 / 0.9827 GB, free: 24.05 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.000682/0.1729, allocations: 0.5515 MB / 0.9832 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.173, allocations: 8.031 kB / 0.9832 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.971e-05/0.173, allocations: 32.64 kB / 0.9833 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/0.1734, allocations: 283 kB / 0.9835 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.1734, allocations: 20.61 kB / 0.9836 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.078e-05/0.1734, allocations: 32.2 kB / 0.9836 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003662/0.1738, allocations: 216.6 kB / 0.9838 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.1738, allocations: 0 / 0.9838 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.1739, allocations: 4 kB / 0.9838 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1739, allocations: 4 kB / 0.9838 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003257/0.1742, allocations: 131.7 kB / 0.9839 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007664/0.175, allocations: 0.8723 MB / 0.9848 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004064/0.1754, allocations: 215.9 kB / 0.985 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/0.1756, allocations: 86.61 kB / 0.9851 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.1756, allocations: 0 / 0.9851 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000364/0.176, allocations: 209.8 kB / 0.9853 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=23): time 1.613e-06/0.176, allocations: 4 kB / 0.9853 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.0007474/0.1768, allocations: 373.1 kB / 0.9856 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.1768, allocations: 118.8 kB / 0.9857 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.177, allocations: 250.4 kB / 0.986 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.177, allocations: 33.7 kB / 0.986 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.829e-05/0.1771, allocations: 140.5 kB / 0.9861 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.735e-05/0.1771, allocations: 67.19 kB / 0.9862 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.14e-05/0.1771, allocations: 8 kB / 0.9862 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.983e-05/0.1772, allocations: 342.8 kB / 0.9865 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.1774, allocations: 84.75 kB / 0.9866 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.1776, allocations: 267.8 kB / 0.9869 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004906/0.1781, allocations: 396.5 kB / 0.9873 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.1781, allocations: 4 kB / 0.9873 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006132/0.1788, allocations: 411.1 kB / 0.9877 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.949e-05/0.1788, allocations: 33.7 kB / 0.9877 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/0.1788, allocations: 4 kB / 0.9877 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.1789, allocations: 11.94 kB / 0.9877 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.1791, allocations: 75.83 kB / 0.9878 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.1791, allocations: 15.88 kB / 0.9878 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/0.1793, allocations: 47.73 kB / 0.9878 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.1793, allocations: 20 kB / 0.9879 GB, free: 18.27 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.TBouSte.QAve_flow,TBouSte.QAve_flow,$PRE.TBouSte.UOld,TBouSte.UOld,$PRE.TBouSte.port.T,TBouSte.port.T,$PRE.TBouSte.iSam,TBouSte.iSam,$whenCondition4,$PRE.TBouCon.QAve_flow,TBouCon.QAve_flow,$PRE.TBouCon.UOld,TBouCon.UOld,$PRE.TBouCon.port.T,TBouCon.port.T,$PRE.TBouCon.iSam,TBouCon.iSam,$whenCondition3,$PRE.TBouPul.QAve_flow,TBouPul.QAve_flow,$PRE.TBouPul.UOld,TBouPul.UOld,$PRE.TBouPul.port.T,TBouPul.port.T,$PRE.TBouPul.iSam,TBouPul.iSam,$whenCondition1,$whenCondition2,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * 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.000105/0.1794, allocations: 163.9 kB / 0.988 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.1795, allocations: 27.72 kB / 0.988 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.298e-05/0.1795, allocations: 21.7 kB / 0.9881 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1795, allocations: 4 kB / 0.9881 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1795, allocations: 3.938 kB / 0.9881 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1796, allocations: 4.375 kB / 0.9881 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.1797, allocations: 277.3 kB / 0.9883 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1798, allocations: 3.984 kB / 0.9883 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.1799, allocations: 20.23 kB / 0.9884 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.1799, allocations: 7.938 kB / 0.9884 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.1799, allocations: 15.98 kB / 0.9884 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1799, allocations: 0 / 0.9884 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1799, allocations: 3.938 kB / 0.9884 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007217/0.1807, allocations: 439.3 kB / 0.9888 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-05/0.1807, allocations: 104.9 kB / 0.9889 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.359e-05/0.1808, allocations: 8 kB / 0.9889 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.1809, allocations: 19.97 kB / 0.9889 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.42e-05/0.181, allocations: 27.91 kB / 0.989 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.181, allocations: 11.98 kB / 0.989 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.887e-05/0.1811, allocations: 169.9 kB / 0.9891 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1811, allocations: 0 / 0.9891 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003338/0.1815, allocations: 87.94 kB / 0.9892 GB, free: 16.78 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (TBouSte.U,TBouCon.U,TBouPul.U) * Number of discrete variables: 18 ($whenCondition4,TBouSte.QAve_flow,TBouSte.port.T,TBouSte.UOld,TBouSte.iSam,$whenCondition3,TBouCon.QAve_flow,TBouCon.port.T,TBouCon.UOld,TBouCon.iSam,$whenCondition2,$whenCondition1,TBouPul.QAve_flow,TBouPul.port.T,TBouPul.UOld,TBouPul.iSam,pulse.T_start,pulse.count) * Number of discrete states: 7 (TBouPul.iSam,TBouPul.UOld,pulse.count,TBouCon.iSam,TBouCon.UOld,TBouSte.iSam,TBouSte.UOld) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0002568/0.1817, allocations: 167.6 kB / 0.9894 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005373/0.1823, allocations: 303.3 kB / 0.9897 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1823, allocations: 0 / 0.9897 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002288/0.1825, allocations: 117.5 kB / 0.9898 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.1829, allocations: 64.58 kB / 0.9898 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009776/0.1839, allocations: 0.7062 MB / 0.9905 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.184, allocations: 0.7371 MB / 0.9912 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001302/0.1841, allocations: 54.94 kB / 0.9913 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.057e-05/0.1842, allocations: 23.44 kB / 0.9913 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.1842, allocations: 0 / 0.9913 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of Templates: time 0.00604/0.1902, allocations: 3.616 MB / 0.9948 GB, free: 11 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)