Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.716/1.716, allocations: 288.3 MB / 303.2 MB, free: 8.238 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.00115/0.00115, allocations: 185 kB / 371.9 MB, free: 10.26 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.762/1.762, allocations: 205.4 MB / 0.6306 GB, free: 9.957 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.0009568/0.0009565, allocations: 90.92 kB / 0.7439 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00041/0.0004103, allocations: 11.97 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2678, allocations: 115.3 MB / 0.9795 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002719/0.2705, allocations: 2.422 MB / 0.9818 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002004/0.2726, allocations: 1.946 MB / 0.9837 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.2727, allocations: 4 kB / 0.9837 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.2737, allocations: 454.4 kB / 0.9842 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001803/0.2739, allocations: 151.5 kB / 0.9843 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 8.114e-05/0.274, allocations: 35.97 kB / 0.9843 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003301/0.2743, allocations: 322.1 kB / 0.9846 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001948/0.2745, allocations: 122.9 kB / 0.9848 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.2747, allocations: 135.4 kB / 0.9849 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.2749, allocations: 147.3 kB / 0.985 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.55e-05/0.2749, allocations: 20 kB / 0.985 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.308e-05/0.275, allocations: 16 kB / 0.9851 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.732e-05/0.275, allocations: 79.67 kB / 0.9851 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.722e-05/0.2751, allocations: 105.5 kB / 0.9852 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002769/0.2754, allocations: 434.7 kB / 0.9857 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.2754, allocations: 0 / 0.9857 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2754, allocations: 0 / 0.9857 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.2754, allocations: 8 kB / 0.9857 GB, free: 21.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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008338/0.2763, allocations: 0.6423 MB / 0.9863 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.2763, allocations: 8.031 kB / 0.9863 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.448e-05/0.2764, allocations: 51.44 kB / 0.9863 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004161/0.2768, allocations: 365 kB / 0.9867 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.2768, allocations: 16.44 kB / 0.9867 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.606e-05/0.2769, allocations: 23.91 kB / 0.9867 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004064/0.2773, allocations: 203.3 kB / 0.9869 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.2773, allocations: 0 / 0.9869 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.2774, allocations: 11.98 kB / 0.9869 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.2774, allocations: 12 kB / 0.987 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003486/0.2777, allocations: 165.7 kB / 0.9871 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009834/0.2787, allocations: 0.8702 MB / 0.988 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002715/0.279, allocations: 166.5 kB / 0.9881 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.279, allocations: 0 / 0.9881 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.2791, allocations: 46.5 kB / 0.9882 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.162e-06/0.2791, allocations: 0 / 0.9882 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0005347/0.2796, allocations: 267.5 kB / 0.9884 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.2796, allocations: 51.41 kB / 0.9885 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003523/0.28, allocations: 417.7 kB / 0.9889 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.28, allocations: 33.7 kB / 0.9889 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.2801, allocations: 204.2 kB / 0.9891 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.966e-05/0.2802, allocations: 67 kB / 0.9892 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.844e-06/0.2802, allocations: 4 kB / 0.9892 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.063e-05/0.2803, allocations: 346.8 kB / 0.9895 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.2804, allocations: 55.97 kB / 0.9895 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.2806, allocations: 73.23 kB / 0.9896 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.2807, allocations: 69.7 kB / 0.9897 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2807, allocations: 0 / 0.9897 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003304/0.2811, allocations: 217.2 kB / 0.9899 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.2811, allocations: 4 kB / 0.9899 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.2811, allocations: 3.984 kB / 0.9899 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.2811, allocations: 4 kB / 0.9899 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.2814, allocations: 51.91 kB / 0.9899 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.2814, allocations: 7.984 kB / 0.99 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.2815, allocations: 31.75 kB / 0.99 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.2816, allocations: 3.938 kB / 0.99 GB, free: 16.59 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.0001267/0.2817, allocations: 169.8 kB / 0.9902 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.788e-05/0.2818, allocations: 31.62 kB / 0.9902 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.954e-05/0.2818, allocations: 43.58 kB / 0.9902 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.2818, allocations: 0 / 0.9902 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2818, allocations: 0 / 0.9902 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2819, allocations: 4 kB / 0.9902 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003042/0.2822, allocations: 385.2 kB / 0.9906 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2822, allocations: 0 / 0.9906 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/0.2824, allocations: 59.89 kB / 0.9907 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2824, allocations: 0 / 0.9907 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.2825, allocations: 4 kB / 0.9907 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.2825, allocations: 4 kB / 0.9907 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2825, allocations: 0 / 0.9907 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005254/0.283, allocations: 398.7 kB / 0.991 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.748e-05/0.2831, allocations: 116.6 kB / 0.9911 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.678e-05/0.2831, allocations: 12.05 kB / 0.9912 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.2833, allocations: 11.94 kB / 0.9912 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/0.2834, allocations: 11.98 kB / 0.9912 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.2834, allocations: 7.984 kB / 0.9912 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002562/0.2836, allocations: 295.2 kB / 0.9915 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2836, allocations: 0 / 0.9915 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002743/0.2839, allocations: 75.84 kB / 0.9915 GB, free: 14.9 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.000128/0.2841, allocations: 111.2 kB / 0.9917 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003317/0.2844, allocations: 147.9 kB / 0.9918 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2844, allocations: 0 / 0.9918 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.2846, allocations: 89 kB / 0.9919 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004736/0.285, allocations: 93.39 kB / 0.992 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.2861, allocations: 0.8878 MB / 0.9928 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.2864, allocations: 0.8109 MB / 0.9936 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001072/0.2865, allocations: 30.97 kB / 0.9937 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.892e-05/0.2866, allocations: 23.44 kB / 0.9937 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2866, allocations: 0 / 0.9937 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of Templates: time 0.006311/0.2929, allocations: 3.574 MB / 0.9972 GB, free: 9.184 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)