Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.675/1.675, allocations: 287.4 MB / 303.2 MB, free: 8.277 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.0009326/0.0009327, allocations: 170 kB / 371.8 MB, free: 10.83 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.345/1.345, allocations: 205.4 MB / 0.6305 GB, free: 10.48 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.000802/0.000802, allocations: 88.19 kB / 0.7438 GB, free: 6.488 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.000362, allocations: 13.17 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1732, allocations: 115.3 MB / 0.9793 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002419/0.1756, allocations: 2.595 MB / 0.9819 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001905/0.1776, allocations: 1.996 MB / 0.9838 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.1777, allocations: 4 kB / 0.9838 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009243/0.1787, allocations: 419.3 kB / 0.9842 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001884/0.1789, allocations: 127.1 kB / 0.9843 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 8.13e-05/0.1789, allocations: 43.95 kB / 0.9844 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003317/0.1793, allocations: 441.8 kB / 0.9848 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.1795, allocations: 127.9 kB / 0.9849 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.1796, allocations: 139.4 kB / 0.985 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.1798, allocations: 159.3 kB / 0.9852 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.179e-05/0.1798, allocations: 20 kB / 0.9852 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.782e-05/0.1799, allocations: 16 kB / 0.9852 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.145e-05/0.18, allocations: 79.67 kB / 0.9853 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.811e-05/0.18, allocations: 109.5 kB / 0.9854 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.1803, allocations: 438.7 kB / 0.9858 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1803, allocations: 0 / 0.9858 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1803, allocations: 0 / 0.9858 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.1803, allocations: 0 / 0.9858 GB, free: 21.45 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.000691/0.181, allocations: 0.6463 MB / 0.9865 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.181, allocations: 8.031 kB / 0.9865 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.687e-05/0.1811, allocations: 44.38 kB / 0.9865 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.1815, allocations: 382.1 kB / 0.9869 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.1815, allocations: 12.81 kB / 0.9869 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.539e-05/0.1815, allocations: 20.38 kB / 0.9869 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000335/0.1819, allocations: 211.5 kB / 0.9871 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.1819, allocations: 0 / 0.9871 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.1819, allocations: 4 kB / 0.9871 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.1819, allocations: 11.94 kB / 0.9871 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000327/0.1823, allocations: 177.6 kB / 0.9873 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000878/0.1832, allocations: 0.8701 MB / 0.9881 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.1834, allocations: 170.5 kB / 0.9883 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.1836, allocations: 116.8 kB / 0.9884 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.1836, allocations: 0 / 0.9884 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.1837, allocations: 38.56 kB / 0.9885 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.263e-06/0.1837, allocations: 4 kB / 0.9885 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.000504/0.1842, allocations: 271.6 kB / 0.9887 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.734e-05/0.1842, allocations: 59.41 kB / 0.9888 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003422/0.1846, allocations: 413.7 kB / 0.9892 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.1846, allocations: 29.7 kB / 0.9892 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.593e-05/0.1847, allocations: 208.2 kB / 0.9894 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.15e-05/0.1847, allocations: 63.09 kB / 0.9895 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.034e-06/0.1847, allocations: 4 kB / 0.9895 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.126e-05/0.1848, allocations: 346.8 kB / 0.9898 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.1849, allocations: 63.97 kB / 0.9898 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.1851, allocations: 59.92 kB / 0.9899 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/0.1853, allocations: 155.1 kB / 0.9901 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1854, allocations: 0 / 0.9901 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003171/0.1857, allocations: 214 kB / 0.9903 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.1857, allocations: 4 kB / 0.9903 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1857, allocations: 0 / 0.9903 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1857, allocations: 3.938 kB / 0.9903 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.186, allocations: 55.97 kB / 0.9903 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.186, allocations: 4 kB / 0.9903 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.1861, allocations: 27.73 kB / 0.9903 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.1861, allocations: 4 kB / 0.9904 GB, free: 16.58 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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.0001137/0.1863, allocations: 169.8 kB / 0.9905 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.59e-05/0.1863, allocations: 35.62 kB / 0.9905 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.113e-05/0.1864, allocations: 39.59 kB / 0.9906 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1864, allocations: 7.922 kB / 0.9906 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1864, allocations: 0 / 0.9906 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.305e-05/0.1865, allocations: 116.6 kB / 0.9907 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/0.1865, allocations: 4 kB / 0.9907 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.1867, allocations: 19.92 kB / 0.9907 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.1867, allocations: 11.98 kB / 0.9907 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005289/0.1873, allocations: 308.7 kB / 0.991 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000506/0.1878, allocations: 476.3 kB / 0.9915 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001379/0.1879, allocations: 79.92 kB / 0.9916 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002416/0.1882, allocations: 303.1 kB / 0.9919 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of Backend: time 4.71e-07/0.1882, allocations: 0 / 0.9919 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004837/0.1887, allocations: 182.4 kB / 0.992 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of SimCode: time 0.001254/0.1899, allocations: 1.382 MB / 0.9934 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of Templates: time 0.006377/0.1963, allocations: 3.846 MB / 0.9971 GB, free: 9.621 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)