Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.677/2.677, allocations: 287.9 MB / 302.9 MB, free: 8.309 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001415/0.001416, allocations: 179.9 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.924/1.924, allocations: 205.4 MB / 0.6301 GB, free: 10.38 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001061/0.00106, allocations: 84.08 kB / 0.7434 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004672/0.0004673, allocations: 11.5 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1613, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002379/0.1637, allocations: 1.866 MB / 0.9806 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001519/0.1652, allocations: 0.9724 MB / 0.9815 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.1654, allocations: 7.938 kB / 0.9815 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001746/0.1656, allocations: 39.77 kB / 0.9816 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.1658, allocations: 79.7 kB / 0.9816 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004258/0.1662, allocations: 141.2 kB / 0.9818 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.1664, allocations: 187.6 kB / 0.982 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.1666, allocations: 36.61 kB / 0.982 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.1667, allocations: 103.6 kB / 0.9821 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.1669, allocations: 99.53 kB / 0.9822 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.353e-05/0.1669, allocations: 12 kB / 0.9822 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002561/0.1672, allocations: 87.91 kB / 0.9823 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.034e-05/0.1672, allocations: 39.83 kB / 0.9823 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.503e-05/0.1673, allocations: 73.58 kB / 0.9824 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002815/0.1676, allocations: 219.4 kB / 0.9826 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.738e-06/0.1676, allocations: 4 kB / 0.9826 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.938e-06/0.1676, allocations: 0 / 0.9826 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.154e-06/0.1677, allocations: 0 / 0.9826 GB, free: 24.21 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.0008293/0.1685, allocations: 0.5514 MB / 0.9831 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.1686, allocations: 12.02 kB / 0.9832 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.997e-05/0.1686, allocations: 35.66 kB / 0.9832 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004288/0.1691, allocations: 285.7 kB / 0.9835 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.1691, allocations: 16.23 kB / 0.9835 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.672e-05/0.1692, allocations: 23.98 kB / 0.9835 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004361/0.1696, allocations: 212.2 kB / 0.9837 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.1697, allocations: 0 / 0.9837 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.1697, allocations: 0 / 0.9837 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.05e-06/0.1697, allocations: 4 kB / 0.9837 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004252/0.1701, allocations: 131.8 kB / 0.9838 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.1712, allocations: 0.8683 MB / 0.9847 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005449/0.1717, allocations: 219.9 kB / 0.9849 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.1718, allocations: 4.031 kB / 0.9849 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000475/0.1722, allocations: 215.9 kB / 0.9851 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=23): time 3.406e-06/0.1723, allocations: 0 / 0.9851 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.001034/0.1733, allocations: 381 kB / 0.9855 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.1734, allocations: 114.8 kB / 0.9856 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.1736, allocations: 242.5 kB / 0.9858 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.1737, allocations: 45.62 kB / 0.9859 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.298e-05/0.1738, allocations: 140.6 kB / 0.986 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.491e-05/0.1738, allocations: 59.25 kB / 0.986 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.828e-05/0.1738, allocations: 8 kB / 0.986 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.994e-05/0.1739, allocations: 342.8 kB / 0.9864 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002733/0.1742, allocations: 88.75 kB / 0.9865 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003236/0.1746, allocations: 255.2 kB / 0.9867 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003346/0.1749, allocations: 145.5 kB / 0.9868 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.042e-06/0.1749, allocations: 0 / 0.9868 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008719/0.1758, allocations: 422.5 kB / 0.9872 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.843e-05/0.1759, allocations: 39.66 kB / 0.9873 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.1759, allocations: 7.938 kB / 0.9873 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.1759, allocations: 16 kB / 0.9873 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/0.1762, allocations: 71.83 kB / 0.9874 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.1762, allocations: 8 kB / 0.9874 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003162/0.1765, allocations: 43.67 kB / 0.9874 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.1766, allocations: 20 kB / 0.9874 GB, free: 18.86 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.0001597/0.1768, allocations: 167.9 kB / 0.9876 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.789e-05/0.1768, allocations: 23.72 kB / 0.9876 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.841e-05/0.1769, allocations: 29.66 kB / 0.9877 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.1769, allocations: 4 kB / 0.9877 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.1769, allocations: 256 / 0.9877 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.041e-06/0.1769, allocations: 4 kB / 0.9877 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.1772, allocations: 269.7 kB / 0.9879 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.233e-06/0.1772, allocations: 0 / 0.9879 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.1774, allocations: 27.92 kB / 0.9879 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.4e-06/0.1774, allocations: 4 kB / 0.9879 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.1775, allocations: 15.92 kB / 0.988 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.534e-06/0.1775, allocations: 3.953 kB / 0.988 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.125e-06/0.1775, allocations: 0 / 0.988 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.1785, allocations: 456.2 kB / 0.9884 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.87e-05/0.1786, allocations: 108.7 kB / 0.9885 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.913e-05/0.1787, allocations: 8 kB / 0.9885 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.1789, allocations: 19.97 kB / 0.9885 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.147e-05/0.179, allocations: 23.91 kB / 0.9886 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.688e-05/0.179, allocations: 19.92 kB / 0.9886 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001553/0.1792, allocations: 170 kB / 0.9887 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.03e-07/0.1792, allocations: 0 / 0.9887 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005117/0.1797, allocations: 79.94 kB / 0.9888 GB, free: 17.34 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.0003357/0.1801, allocations: 159.6 kB / 0.989 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007027/0.1808, allocations: 315.7 kB / 0.9893 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.989e-06/0.1808, allocations: 0 / 0.9893 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003188/0.1811, allocations: 107.9 kB / 0.9894 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.1815, allocations: 65.44 kB / 0.9894 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.1828, allocations: 0.6949 MB / 0.9901 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.183, allocations: 0.741 MB / 0.9908 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001842/0.1832, allocations: 46.95 kB / 0.9909 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.824e-05/0.1832, allocations: 31.42 kB / 0.9909 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of SimCode: time 1.519e-06/0.1832, allocations: 0 / 0.9909 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of Templates: time 0.009409/0.1927, allocations: 3.599 MB / 0.9944 GB, free: 11.61 MB / 0.6198 GB