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.SingleUTubeResistances.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.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.669/1.669, allocations: 288.4 MB / 303.4 MB, free: 8.047 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.000936/0.000936, allocations: 172.4 kB / 372 MB, free: 10.25 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.351/1.351, allocations: 205.4 MB / 0.6307 GB, free: 9.992 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.0007651/0.0007651, allocations: 94.3 kB / 0.7441 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003757/0.0003759, allocations: 11.38 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1795, allocations: 115.3 MB / 0.9796 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001309/0.1809, allocations: 1.173 MB / 0.9807 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.1819, allocations: 0.8825 MB / 0.9816 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.189e-05/0.182, allocations: 0 / 0.9816 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001654/0.1822, allocations: 39.83 kB / 0.9816 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.239e-05/0.1823, allocations: 19.84 kB / 0.9817 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004771/0.1827, allocations: 162.9 kB / 0.9818 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.456e-05/0.1828, allocations: 47.73 kB / 0.9819 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.654e-05/0.1829, allocations: 4 kB / 0.9819 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.885e-05/0.1829, allocations: 19.86 kB / 0.9819 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.012e-05/0.183, allocations: 15.94 kB / 0.9819 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.183, allocations: 0 / 0.9819 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002621/0.1833, allocations: 147.8 kB / 0.982 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.307e-06/0.1833, allocations: 7.938 kB / 0.982 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.036e-05/0.1833, allocations: 33.64 kB / 0.9821 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.1834, allocations: 80.09 kB / 0.9822 GB, free: 25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1834, allocations: 0 / 0.9822 GB, free: 25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.823e-06/0.1834, allocations: 4 kB / 0.9822 GB, free: 25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.1835, allocations: 0 / 0.9822 GB, free: 25 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002484/0.1837, allocations: 363.1 kB / 0.9825 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.1837, allocations: 8.031 kB / 0.9825 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.422e-05/0.1838, allocations: 83.19 kB / 0.9826 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.1839, allocations: 263.4 kB / 0.9828 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.184, allocations: 154.6 kB / 0.983 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.184, allocations: 154.6 kB / 0.9831 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.425e-05/0.1841, allocations: 105 kB / 0.9832 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1841, allocations: 79.28 kB / 0.9833 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.1841, allocations: 150.6 kB / 0.9835 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.1841, allocations: 154.5 kB / 0.9836 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.161e-05/0.1842, allocations: 154.6 kB / 0.9838 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001843/0.1844, allocations: 465.9 kB / 0.9842 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.849e-05/0.1844, allocations: 165.1 kB / 0.9844 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.547e-05/0.1844, allocations: 80.14 kB / 0.9844 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.889e-06/0.1844, allocations: 79.22 kB / 0.9845 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.1845, allocations: 121.8 kB / 0.9846 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.1845, allocations: 0 / 0.9846 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.28e-05/0.1845, allocations: 25.7 kB / 0.9846 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.1846, allocations: 126.7 kB / 0.9848 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.1847, allocations: 139.2 kB / 0.9849 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.281e-06/0.1847, allocations: 25.7 kB / 0.9849 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.831e-05/0.1847, allocations: 92.12 kB / 0.985 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.1847, allocations: 4 kB / 0.985 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-06/0.1847, allocations: 0 / 0.985 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.164e-05/0.1848, allocations: 318.8 kB / 0.9853 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.771e-05/0.1848, allocations: 4 kB / 0.9853 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.631e-05/0.1848, allocations: 7.984 kB / 0.9853 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.158e-05/0.1849, allocations: 7.938 kB / 0.9853 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1849, allocations: 0 / 0.9853 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001022/0.185, allocations: 49.61 kB / 0.9854 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.185, allocations: 8 kB / 0.9854 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.185, allocations: 4.062 kB / 0.9854 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.185, allocations: 0 / 0.9854 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.643e-06/0.185, allocations: 3.984 kB / 0.9854 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.185, allocations: 0 / 0.9854 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.359e-05/0.1851, allocations: 7.938 kB / 0.9854 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.1851, allocations: 3.938 kB / 0.9854 GB, free: 21.43 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 5.535e-05/0.1851, allocations: 186.6 kB / 0.9856 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.763e-05/0.1852, allocations: 116.8 kB / 0.9857 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.295e-05/0.1852, allocations: 116.9 kB / 0.9858 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-05/0.1852, allocations: 180.2 kB / 0.986 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.356e-05/0.1853, allocations: 180.2 kB / 0.9862 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-05/0.1853, allocations: 176.3 kB / 0.9863 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.1854, allocations: 425.1 kB / 0.9867 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/0.1855, allocations: 105 kB / 0.9868 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.268e-05/0.1855, allocations: 109 kB / 0.9869 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.065e-05/0.1855, allocations: 180.2 kB / 0.9871 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.1855, allocations: 176.3 kB / 0.9873 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.099e-05/0.1855, allocations: 184.4 kB / 0.9874 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.055e-05/0.1856, allocations: 184.3 kB / 0.9876 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.729e-05/0.1856, allocations: 311.7 kB / 0.9879 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.002e-05/0.1857, allocations: 190 kB / 0.9881 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.223e-05/0.1857, allocations: 184.2 kB / 0.9883 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.445e-05/0.1858, allocations: 105 kB / 0.9884 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.957e-05/0.1858, allocations: 188.2 kB / 0.9886 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.1858, allocations: 105 kB / 0.9887 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.748e-05/0.1859, allocations: 100.7 kB / 0.9888 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1859, allocations: 0 / 0.9888 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002463/0.1861, allocations: 31.98 kB / 0.9888 GB, free: 17.76 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0002075/0.1863, allocations: 214.4 kB / 0.989 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.29e-05/0.1864, allocations: 45.69 kB / 0.989 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1864, allocations: 0 / 0.989 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.324e-06/0.1864, allocations: 3.938 kB / 0.989 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.1868, allocations: 0.5224 MB / 0.9895 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002083/0.187, allocations: 235.9 kB / 0.9898 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.573e-05/0.1871, allocations: 0.6848 MB / 0.9904 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.857e-05/0.1871, allocations: 7.984 kB / 0.9904 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.606e-06/0.1871, allocations: 7.438 kB / 0.9905 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.1871, allocations: 4 kB / 0.9905 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of Templates: time 0.002933/0.1901, allocations: 1.47 MB / 0.9919 GB, free: 14.54 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)