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 2.507/2.507, allocations: 287.3 MB / 302.3 MB, free: 8.316 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.001578/0.001578, allocations: 181 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.091/2.091, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001132/0.001132, allocations: 94.8 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004624/0.0004626, allocations: 12.78 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2615, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002833/0.2644, allocations: 1.862 MB / 0.98 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001873/0.2664, allocations: 0.9684 MB / 0.981 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.2666, allocations: 7.938 kB / 0.981 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002166/0.2668, allocations: 47.69 kB / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002172/0.267, allocations: 75.78 kB / 0.9811 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005237/0.2675, allocations: 131.7 kB / 0.9812 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000242/0.2678, allocations: 187.6 kB / 0.9814 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.2679, allocations: 32.61 kB / 0.9814 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001877/0.2681, allocations: 111.5 kB / 0.9815 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.2683, allocations: 99.59 kB / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.696e-05/0.2684, allocations: 8 kB / 0.9816 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003049/0.2687, allocations: 91.91 kB / 0.9817 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.809e-05/0.2687, allocations: 35.84 kB / 0.9818 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.108e-05/0.2688, allocations: 73.52 kB / 0.9818 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003368/0.2692, allocations: 219.5 kB / 0.982 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.2692, allocations: 0 / 0.982 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2692, allocations: 0 / 0.982 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.75e-06/0.2692, allocations: 4 kB / 0.982 GB, free: 24.43 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.001124/0.2703, allocations: 0.5513 MB / 0.9826 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.2704, allocations: 16.02 kB / 0.9826 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.69e-05/0.2705, allocations: 27.67 kB / 0.9826 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005315/0.271, allocations: 293.7 kB / 0.9829 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/0.2711, allocations: 20.2 kB / 0.9829 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.983e-05/0.2711, allocations: 20 kB / 0.9829 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005466/0.2717, allocations: 208.3 kB / 0.9831 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.2717, allocations: 0 / 0.9831 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.911e-05/0.2718, allocations: 4 kB / 0.9831 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.2718, allocations: 4 kB / 0.9831 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005621/0.2723, allocations: 127.8 kB / 0.9833 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.2736, allocations: 0.8685 MB / 0.9841 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007117/0.2743, allocations: 219.8 kB / 0.9843 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.2743, allocations: 0 / 0.9843 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005875/0.2749, allocations: 212.2 kB / 0.9845 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=23): time 2.445e-06/0.2749, allocations: 4 kB / 0.9845 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.00132/0.2763, allocations: 385.1 kB / 0.9849 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.2763, allocations: 118.8 kB / 0.985 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.2766, allocations: 238.5 kB / 0.9852 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.868e-05/0.2767, allocations: 37.7 kB / 0.9853 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.373e-05/0.2768, allocations: 140.6 kB / 0.9854 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.051e-05/0.2768, allocations: 59.25 kB / 0.9855 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.087e-05/0.2769, allocations: 12 kB / 0.9855 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.103e-05/0.277, allocations: 350.8 kB / 0.9858 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003431/0.2773, allocations: 80.77 kB / 0.9859 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004364/0.2778, allocations: 260.1 kB / 0.9861 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000412/0.2782, allocations: 145.6 kB / 0.9863 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.2782, allocations: 4 kB / 0.9863 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001064/0.2793, allocations: 411 kB / 0.9867 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.077e-05/0.2793, allocations: 41.59 kB / 0.9867 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.2794, allocations: 11.98 kB / 0.9867 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.943e-05/0.2794, allocations: 8 kB / 0.9867 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003748/0.2798, allocations: 63.84 kB / 0.9868 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.702e-05/0.2798, allocations: 12.09 kB / 0.9868 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003796/0.2802, allocations: 55.67 kB / 0.9869 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/0.2803, allocations: 23.98 kB / 0.9869 GB, free: 19.08 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.0001898/0.2805, allocations: 155.9 kB / 0.987 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.252e-05/0.2805, allocations: 23.72 kB / 0.9871 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.707e-05/0.2806, allocations: 37.66 kB / 0.9871 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.2806, allocations: 0 / 0.9871 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.026e-06/0.2806, allocations: 4 kB / 0.9871 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.2807, allocations: 7.969 kB / 0.9871 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003117/0.281, allocations: 265.4 kB / 0.9874 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.281, allocations: 0 / 0.9874 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.2812, allocations: 27.97 kB / 0.9874 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.2812, allocations: 0 / 0.9874 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.958e-05/0.2813, allocations: 4 kB / 0.9874 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.2813, allocations: 15.94 kB / 0.9874 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.2813, allocations: 0 / 0.9874 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/0.2826, allocations: 447.3 kB / 0.9878 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.512e-05/0.2827, allocations: 112.7 kB / 0.9879 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.694e-05/0.2828, allocations: 12.25 kB / 0.9879 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000276/0.2831, allocations: 19.97 kB / 0.988 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.955e-05/0.2832, allocations: 35.84 kB / 0.988 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.2833, allocations: 15.98 kB / 0.988 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001717/0.2834, allocations: 162 kB / 0.9882 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2835, allocations: 0 / 0.9882 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005575/0.284, allocations: 87.92 kB / 0.9883 GB, free: 17.56 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.0004028/0.2844, allocations: 163.1 kB / 0.9884 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008932/0.2853, allocations: 316 kB / 0.9887 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2854, allocations: 448 / 0.9887 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004278/0.2858, allocations: 107.9 kB / 0.9888 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004635/0.2863, allocations: 64.8 kB / 0.9889 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.2878, allocations: 0.6864 MB / 0.9895 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.288, allocations: 0.7449 MB / 0.9903 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000224/0.2882, allocations: 50.94 kB / 0.9903 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.373e-05/0.2883, allocations: 27.44 kB / 0.9903 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of SimCode: time 1.873e-06/0.2883, allocations: 0 / 0.9903 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of Templates: time 0.01065/0.299, allocations: 3.607 MB / 0.9939 GB, free: 11.8 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)