Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.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.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.719/1.719, allocations: 288.4 MB / 303.4 MB, free: 8.148 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.0009861/0.0009861, allocations: 177.5 kB / 372 MB, free: 10.27 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.497/1.497, allocations: 205.4 MB / 0.6307 GB, free: 10.03 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.0007565/0.0007569, allocations: 78.42 kB / 0.7441 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003671/0.0003673, allocations: 15.91 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.186, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002111/0.1882, allocations: 1.948 MB / 0.9815 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.1894, allocations: 0.9837 MB / 0.9825 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.1896, allocations: 7.938 kB / 0.9825 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001692/0.1897, allocations: 43.75 kB / 0.9825 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001514/0.1899, allocations: 67.47 kB / 0.9826 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003671/0.1903, allocations: 123.7 kB / 0.9827 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.1905, allocations: 266.8 kB / 0.9829 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.796e-05/0.1906, allocations: 32.61 kB / 0.983 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.1907, allocations: 99.52 kB / 0.9831 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.1909, allocations: 99.59 kB / 0.9832 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.138e-05/0.1909, allocations: 8 kB / 0.9832 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002334/0.1911, allocations: 103.8 kB / 0.9833 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.189e-05/0.1912, allocations: 39.77 kB / 0.9833 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.907e-05/0.1912, allocations: 69.58 kB / 0.9834 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.1915, allocations: 223.5 kB / 0.9836 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1915, allocations: 4 kB / 0.9836 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1915, allocations: 0 / 0.9836 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.1915, allocations: 0 / 0.9836 GB, free: 23.54 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.0007996/0.1923, allocations: 0.5475 MB / 0.9841 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.1923, allocations: 12.02 kB / 0.9841 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.801e-05/0.1924, allocations: 27.72 kB / 0.9842 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.1927, allocations: 297.6 kB / 0.9845 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.1928, allocations: 16.22 kB / 0.9845 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.985e-05/0.1928, allocations: 20 kB / 0.9845 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003561/0.1932, allocations: 206.1 kB / 0.9847 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.1932, allocations: 4 kB / 0.9847 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.1932, allocations: 7.984 kB / 0.9847 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.1932, allocations: 4 kB / 0.9847 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003482/0.1936, allocations: 127.8 kB / 0.9848 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008047/0.1944, allocations: 0.8682 MB / 0.9857 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00043/0.1949, allocations: 211.9 kB / 0.9859 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.1951, allocations: 98.69 kB / 0.986 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.1951, allocations: 3.984 kB / 0.986 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003768/0.1955, allocations: 205.7 kB / 0.9862 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=23): time 1.893e-06/0.1955, allocations: 0 / 0.9862 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.000798/0.1963, allocations: 377.3 kB / 0.9865 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.1963, allocations: 122.8 kB / 0.9866 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.1965, allocations: 242.5 kB / 0.9869 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.1965, allocations: 41.7 kB / 0.9869 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.261e-05/0.1966, allocations: 140.6 kB / 0.987 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.1967, allocations: 55.27 kB / 0.9871 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.211e-05/0.1967, allocations: 8 kB / 0.9871 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.437e-05/0.1967, allocations: 342.8 kB / 0.9874 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.197, allocations: 84.77 kB / 0.9875 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/0.1972, allocations: 270.9 kB / 0.9878 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/0.1975, allocations: 145.7 kB / 0.9879 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1975, allocations: 3.938 kB / 0.9879 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006407/0.1981, allocations: 415 kB / 0.9883 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.1982, allocations: 45.64 kB / 0.9884 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.1982, allocations: 4 kB / 0.9884 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.1982, allocations: 8 kB / 0.9884 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.1984, allocations: 71.84 kB / 0.9884 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.1984, allocations: 12.36 kB / 0.9884 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/0.1987, allocations: 51.7 kB / 0.9885 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.1987, allocations: 20 kB / 0.9885 GB, free: 18.09 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.000109/0.1988, allocations: 156 kB / 0.9887 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.336e-05/0.1989, allocations: 31.64 kB / 0.9887 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.311e-05/0.1989, allocations: 25.67 kB / 0.9887 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1989, allocations: 4 kB / 0.9887 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.1989, allocations: 0 / 0.9887 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.1989, allocations: 7.984 kB / 0.9887 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.1992, allocations: 269.4 kB / 0.989 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.1992, allocations: 0 / 0.989 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.1993, allocations: 23.92 kB / 0.989 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1993, allocations: 4 kB / 0.989 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.1993, allocations: 11.98 kB / 0.989 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1993, allocations: 3.953 kB / 0.989 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.1993, allocations: 0 / 0.989 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007874/0.2001, allocations: 446.8 kB / 0.9895 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.209e-05/0.2002, allocations: 100.7 kB / 0.9896 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.488e-05/0.2003, allocations: 15.97 kB / 0.9896 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.2004, allocations: 12.23 kB / 0.9896 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.063e-05/0.2005, allocations: 27.92 kB / 0.9896 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.2005, allocations: 23.98 kB / 0.9896 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.971e-05/0.2006, allocations: 166 kB / 0.9898 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2006, allocations: 0 / 0.9898 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003509/0.201, allocations: 87.92 kB / 0.9899 GB, free: 16.6 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.0002797/0.2013, allocations: 166.3 kB / 0.99 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005242/0.2018, allocations: 307.5 kB / 0.9903 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2018, allocations: 0 / 0.9903 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002375/0.2021, allocations: 112.8 kB / 0.9904 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.2024, allocations: 64.64 kB / 0.9905 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.2034, allocations: 0.7022 MB / 0.9912 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.2036, allocations: 0.7371 MB / 0.9919 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001611/0.2038, allocations: 50.95 kB / 0.9919 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.528e-05/0.2038, allocations: 31.36 kB / 0.992 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of SimCode: time 2.61e-07/0.2038, allocations: 0 / 0.992 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of Templates: time 0.006275/0.2101, allocations: 3.599 MB / 0.9955 GB, free: 10.85 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)