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.784/1.784, allocations: 288.3 MB / 303.2 MB, free: 8.152 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.00163/0.00163, allocations: 177 kB / 371.8 MB, free: 10.31 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.595/1.595, allocations: 205.4 MB / 0.6306 GB, free: 10.04 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.0008841/0.000884, allocations: 94.02 kB / 0.7439 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005602/0.0005604, allocations: 11.38 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2613, allocations: 115.3 MB / 0.9794 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001495/0.2628, allocations: 1.154 MB / 0.9806 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.2639, allocations: 0.8244 MB / 0.9814 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.289e-05/0.264, allocations: 4 kB / 0.9814 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001951/0.2642, allocations: 51.73 kB / 0.9814 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.476e-05/0.2643, allocations: 15.95 kB / 0.9814 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004836/0.2648, allocations: 159.3 kB / 0.9816 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.514e-05/0.2648, allocations: 43.88 kB / 0.9816 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.699e-05/0.2649, allocations: 3.984 kB / 0.9816 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.86e-05/0.265, allocations: 23.81 kB / 0.9817 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.171e-05/0.265, allocations: 11.94 kB / 0.9817 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.265, allocations: 0 / 0.9817 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002632/0.2653, allocations: 143.8 kB / 0.9818 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.867e-06/0.2653, allocations: 3.938 kB / 0.9818 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.113e-05/0.2653, allocations: 33.7 kB / 0.9818 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.2655, allocations: 84.08 kB / 0.9819 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.2655, allocations: 4 kB / 0.9819 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2655, allocations: 0 / 0.9819 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.757e-06/0.2655, allocations: 0 / 0.9819 GB, free: 25.17 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.0003123/0.2658, allocations: 359.1 kB / 0.9823 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.2659, allocations: 12.03 kB / 0.9823 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/0.2659, allocations: 83.19 kB / 0.9824 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.2661, allocations: 270.1 kB / 0.9826 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.034e-05/0.2661, allocations: 150.6 kB / 0.9828 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.2662, allocations: 162.5 kB / 0.9829 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.761e-05/0.2662, allocations: 101 kB / 0.983 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.2662, allocations: 75.28 kB / 0.9831 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.2663, allocations: 150.6 kB / 0.9832 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-05/0.2663, allocations: 154.6 kB / 0.9834 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.652e-05/0.2664, allocations: 158.5 kB / 0.9835 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000212/0.2666, allocations: 465.9 kB / 0.984 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.02e-05/0.2666, allocations: 169.2 kB / 0.9841 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.2667, allocations: 79.28 kB / 0.9842 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.2667, allocations: 109.8 kB / 0.9843 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.824e-06/0.2667, allocations: 0 / 0.9843 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 8.902e-05/0.2668, allocations: 37.58 kB / 0.9843 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.2668, allocations: 126.7 kB / 0.9845 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.2669, allocations: 136.4 kB / 0.9846 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.405e-06/0.267, allocations: 25.7 kB / 0.9846 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.418e-05/0.267, allocations: 96.12 kB / 0.9847 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.267, allocations: 0 / 0.9847 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-06/0.267, allocations: 4 kB / 0.9847 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.447e-05/0.2671, allocations: 310.8 kB / 0.985 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.329e-05/0.2671, allocations: 8 kB / 0.985 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.296e-05/0.2671, allocations: 7.984 kB / 0.985 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.549e-05/0.2672, allocations: 11.95 kB / 0.985 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2672, allocations: 0 / 0.985 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000109/0.2673, allocations: 45.55 kB / 0.9851 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.2673, allocations: 4 kB / 0.9851 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/0.2673, allocations: 0 / 0.9851 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.2673, allocations: 8.047 kB / 0.9851 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.2674, allocations: 7.938 kB / 0.9851 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2674, allocations: 0 / 0.9851 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.445e-05/0.2674, allocations: 3.938 kB / 0.9851 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.2674, allocations: 0 / 0.9851 GB, free: 21.68 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.592e-05/0.2675, allocations: 193.1 kB / 0.9853 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.2675, allocations: 104.9 kB / 0.9854 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.716e-05/0.2676, allocations: 116.8 kB / 0.9855 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.722e-05/0.2676, allocations: 184.3 kB / 0.9857 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.761e-05/0.2676, allocations: 176.3 kB / 0.9858 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.738e-05/0.2677, allocations: 184.2 kB / 0.986 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.2678, allocations: 405.2 kB / 0.9864 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-05/0.2678, allocations: 116.9 kB / 0.9865 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.663e-05/0.2679, allocations: 109 kB / 0.9866 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.732e-05/0.2679, allocations: 176.3 kB / 0.9868 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.046e-05/0.2679, allocations: 180.2 kB / 0.987 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.833e-05/0.268, allocations: 180.5 kB / 0.9871 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-05/0.268, allocations: 180.2 kB / 0.9873 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.553e-05/0.2681, allocations: 319.8 kB / 0.9876 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.656e-05/0.2681, allocations: 190 kB / 0.9878 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.955e-05/0.2682, allocations: 180.2 kB / 0.988 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.619e-05/0.2682, allocations: 108.9 kB / 0.9881 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.2683, allocations: 188.3 kB / 0.9882 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.2683, allocations: 112.9 kB / 0.9884 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.102e-05/0.2684, allocations: 96.67 kB / 0.9884 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2684, allocations: 0 / 0.9884 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002753/0.2687, allocations: 31.98 kB / 0.9885 GB, free: 18.01 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.0002785/0.269, allocations: 218.4 kB / 0.9887 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001049/0.2691, allocations: 41.69 kB / 0.9887 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.2691, allocations: 0 / 0.9887 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.435e-06/0.2691, allocations: 4.062 kB / 0.9887 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.2694, allocations: 0.5224 MB / 0.9892 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002782/0.2697, allocations: 243.8 kB / 0.9895 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.2699, allocations: 0.6887 MB / 0.9901 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.314e-05/0.2699, allocations: 0 / 0.9901 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.355e-05/0.2699, allocations: 11.44 kB / 0.9902 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2699, allocations: 0 / 0.9902 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of Templates: time 0.003625/0.2736, allocations: 1.461 MB / 0.9916 GB, free: 14.79 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)