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.602/2.602, allocations: 287.5 MB / 302.4 MB, free: 8.305 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.001987/0.001986, allocations: 182.2 kB / 371 MB, free: 10.87 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.031/2.031, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0009168/0.0009168, allocations: 95.94 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004897/0.0004899, allocations: 16.77 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.203, allocations: 115.3 MB / 0.9784 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002836/0.2059, allocations: 1.963 MB / 0.9803 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.2077, allocations: 0.9762 MB / 0.9812 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001451/0.2078, allocations: 7.938 kB / 0.9812 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000198/0.208, allocations: 47.75 kB / 0.9813 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.2082, allocations: 63.47 kB / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004807/0.2087, allocations: 129 kB / 0.9815 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002713/0.209, allocations: 262.8 kB / 0.9817 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.2092, allocations: 32.61 kB / 0.9818 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.2093, allocations: 103.5 kB / 0.9819 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.2095, allocations: 99.59 kB / 0.9819 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.046e-05/0.2095, allocations: 12 kB / 0.982 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000324/0.2099, allocations: 99.84 kB / 0.9821 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.701e-05/0.2099, allocations: 39.83 kB / 0.9821 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.417e-05/0.21, allocations: 69.58 kB / 0.9822 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003112/0.2103, allocations: 219.4 kB / 0.9824 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2103, allocations: 0 / 0.9824 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2104, allocations: 0 / 0.9824 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2104, allocations: 0 / 0.9824 GB, free: 24.24 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.001078/0.2115, allocations: 0.5475 MB / 0.9829 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.2115, allocations: 16.02 kB / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.646e-05/0.2116, allocations: 27.67 kB / 0.9829 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005211/0.2121, allocations: 289.8 kB / 0.9832 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.2122, allocations: 16.23 kB / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.762e-05/0.2122, allocations: 31.91 kB / 0.9833 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005387/0.2128, allocations: 200.3 kB / 0.9835 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.2128, allocations: 8 kB / 0.9835 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.012e-05/0.2129, allocations: 7.984 kB / 0.9835 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.2129, allocations: 4 kB / 0.9835 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005467/0.2134, allocations: 115.8 kB / 0.9836 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.2145, allocations: 0.8762 MB / 0.9844 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006867/0.2152, allocations: 219.8 kB / 0.9847 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003165/0.2156, allocations: 82.61 kB / 0.9847 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.2156, allocations: 15.89 kB / 0.9847 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005899/0.2162, allocations: 205.8 kB / 0.9849 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=23): time 2.535e-06/0.2162, allocations: 0 / 0.9849 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.001277/0.2175, allocations: 373.1 kB / 0.9853 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.2176, allocations: 126.7 kB / 0.9854 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/0.2178, allocations: 238.5 kB / 0.9856 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.2179, allocations: 37.69 kB / 0.9857 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.724e-05/0.218, allocations: 136.6 kB / 0.9858 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.969e-05/0.2181, allocations: 67.23 kB / 0.9859 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.995e-05/0.2181, allocations: 12 kB / 0.9859 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.607e-05/0.2182, allocations: 334.8 kB / 0.9862 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/0.2185, allocations: 88.75 kB / 0.9863 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004158/0.219, allocations: 260.1 kB / 0.9865 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.2194, allocations: 145.9 kB / 0.9867 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.2194, allocations: 0 / 0.9867 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00104/0.2204, allocations: 422.6 kB / 0.9871 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.656e-05/0.2205, allocations: 33.7 kB / 0.9871 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.2205, allocations: 8 kB / 0.9871 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/0.2206, allocations: 11.94 kB / 0.9871 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003742/0.2209, allocations: 80.3 kB / 0.9872 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.607e-05/0.221, allocations: 11.94 kB / 0.9872 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003688/0.2213, allocations: 43.67 kB / 0.9873 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/0.2214, allocations: 20 kB / 0.9873 GB, free: 18.8 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.0001626/0.2216, allocations: 160 kB / 0.9874 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.001e-05/0.2216, allocations: 27.92 kB / 0.9875 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.101e-05/0.2217, allocations: 29.7 kB / 0.9875 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.2217, allocations: 4 kB / 0.9875 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.2217, allocations: 4 kB / 0.9875 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.2217, allocations: 3.984 kB / 0.9875 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.2221, allocations: 269.3 kB / 0.9878 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2221, allocations: 4 kB / 0.9878 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/0.2223, allocations: 23.98 kB / 0.9878 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.2223, allocations: 384 / 0.9878 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.159e-05/0.2224, allocations: 15.94 kB / 0.9878 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.2224, allocations: 4 kB / 0.9878 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2224, allocations: 0 / 0.9878 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.2236, allocations: 443.3 kB / 0.9882 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.566e-05/0.2237, allocations: 104.8 kB / 0.9883 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.671e-05/0.2238, allocations: 8 kB / 0.9883 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002747/0.2241, allocations: 23.94 kB / 0.9884 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.676e-05/0.2242, allocations: 27.95 kB / 0.9884 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.93e-05/0.2243, allocations: 11.98 kB / 0.9884 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001685/0.2244, allocations: 169.9 kB / 0.9886 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2245, allocations: 0 / 0.9886 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004971/0.225, allocations: 83.94 kB / 0.9886 GB, free: 17.31 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.0004096/0.2254, allocations: 170.4 kB / 0.9888 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008505/0.2262, allocations: 304 kB / 0.9891 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2263, allocations: 4.5 kB / 0.9891 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003941/0.2267, allocations: 115.9 kB / 0.9892 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005315/0.2272, allocations: 56.64 kB / 0.9893 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.2287, allocations: 0.6983 MB / 0.9899 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.229, allocations: 0.741 MB / 0.9907 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002449/0.2292, allocations: 46.94 kB / 0.9907 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.771e-05/0.2293, allocations: 27.44 kB / 0.9907 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of SimCode: time 1.402e-06/0.2293, allocations: 0 / 0.9907 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of Templates: time 0.0102/0.2396, allocations: 3.619 MB / 0.9943 GB, free: 11.54 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)