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.Functions.Validation.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.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.801/1.801, allocations: 288.4 MB / 303.4 MB, free: 8.184 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.001047/0.001047, allocations: 187 kB / 372 MB, free: 10.29 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.723/1.723, allocations: 205.4 MB / 0.6307 GB, free: 10.02 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.0007585/0.0007585, allocations: 94.3 kB / 0.7441 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003997/0.0003997, allocations: 12.12 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.249, allocations: 115.3 MB / 0.9796 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001525/0.2505, allocations: 1.134 MB / 0.9807 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003686/0.2543, allocations: 2.704 MB / 0.9834 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.352e-05/0.2543, allocations: 8 kB / 0.9834 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.794e-05/0.2544, allocations: 11.86 kB / 0.9834 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.628e-05/0.2544, allocations: 7.922 kB / 0.9834 GB, free: 23.75 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesOneUTube.mo:2:1-155:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesOneUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.003268/0.2577, allocations: 1.289 MB / 0.9847 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.466e-05/0.2578, allocations: 43.72 kB / 0.9847 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.529e-05/0.2578, allocations: 4 kB / 0.9847 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.079e-05/0.2579, allocations: 11.94 kB / 0.9847 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.581e-05/0.2579, allocations: 23.86 kB / 0.9848 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.839e-06/0.2579, allocations: 0 / 0.9848 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00166/0.2596, allocations: 1.225 MB / 0.986 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.2596, allocations: 7.984 kB / 0.986 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.792e-05/0.2596, allocations: 29.7 kB / 0.986 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007642/0.2604, allocations: 0.702 MB / 0.9867 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.2604, allocations: 0 / 0.9867 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2604, allocations: 4 kB / 0.9867 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.2604, allocations: 0 / 0.9867 GB, free: 20.42 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.0005115/0.261, allocations: 0.5106 MB / 0.9872 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.261, allocations: 12.02 kB / 0.9872 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.981e-05/0.2611, allocations: 83.19 kB / 0.9873 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.2612, allocations: 247.7 kB / 0.9875 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.357e-05/0.2612, allocations: 150.6 kB / 0.9876 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.458e-05/0.2613, allocations: 154.6 kB / 0.9878 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.928e-05/0.2613, allocations: 105 kB / 0.9879 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.2613, allocations: 75.28 kB / 0.988 GB, free: 19 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.2614, allocations: 150.6 kB / 0.9881 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.527e-05/0.2614, allocations: 158.5 kB / 0.9883 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.656e-05/0.2614, allocations: 150.6 kB / 0.9884 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002207/0.2617, allocations: 473.8 kB / 0.9889 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.618e-05/0.2617, allocations: 165.1 kB / 0.989 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.748e-05/0.2618, allocations: 84.08 kB / 0.9891 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.2618, allocations: 83.2 kB / 0.9892 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.2618, allocations: 113.8 kB / 0.9893 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 7.01e-07/0.2618, allocations: 0 / 0.9893 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.15e-05/0.2619, allocations: 25.7 kB / 0.9893 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.2619, allocations: 126.7 kB / 0.9894 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.839e-05/0.262, allocations: 135.2 kB / 0.9896 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.825e-06/0.262, allocations: 29.7 kB / 0.9896 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.353e-05/0.2621, allocations: 88.14 kB / 0.9897 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-06/0.2621, allocations: 4 kB / 0.9897 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.2621, allocations: 0 / 0.9897 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.633e-05/0.2621, allocations: 322.8 kB / 0.99 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.966e-05/0.2622, allocations: 4 kB / 0.99 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.345e-05/0.2622, allocations: 7.938 kB / 0.99 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.311e-05/0.2622, allocations: 11.97 kB / 0.99 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2622, allocations: 0 / 0.99 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.547e-05/0.2623, allocations: 49.69 kB / 0.99 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.2623, allocations: 4 kB / 0.9901 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.2624, allocations: 12.06 kB / 0.9901 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.2624, allocations: 0 / 0.9901 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.21e-07/0.2624, allocations: 0 / 0.9901 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.2624, allocations: 0 / 0.9901 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.921e-05/0.2624, allocations: 3.906 kB / 0.9901 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.2624, allocations: 3.984 kB / 0.9901 GB, free: 16.71 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 6.501e-05/0.2625, allocations: 193.1 kB / 0.9903 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.2625, allocations: 108.9 kB / 0.9904 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.503e-05/0.2626, allocations: 112.9 kB / 0.9905 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-05/0.2626, allocations: 176.3 kB / 0.9906 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.874e-05/0.2626, allocations: 184.2 kB / 0.9908 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.643e-05/0.2627, allocations: 184.3 kB / 0.991 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.2628, allocations: 421.1 kB / 0.9914 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/0.2628, allocations: 101 kB / 0.9915 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.338e-05/0.2629, allocations: 105 kB / 0.9916 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.38e-05/0.2629, allocations: 180.2 kB / 0.9918 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/0.2629, allocations: 180.2 kB / 0.9919 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.386e-05/0.2629, allocations: 184.2 kB / 0.9921 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-05/0.263, allocations: 176.3 kB / 0.9923 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.674e-05/0.263, allocations: 319.8 kB / 0.9926 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.406e-05/0.2631, allocations: 186 kB / 0.9928 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.639e-05/0.2631, allocations: 184.2 kB / 0.9929 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.404e-05/0.2632, allocations: 105 kB / 0.993 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.069e-05/0.2632, allocations: 188.2 kB / 0.9932 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.2632, allocations: 108.9 kB / 0.9933 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.635e-05/0.2633, allocations: 96.83 kB / 0.9934 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2633, allocations: 0 / 0.9934 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000534/0.2638, allocations: 275.8 kB / 0.9937 GB, free: 12.8 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.0008386/0.2647, allocations: 0.5083 MB / 0.9942 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.932e-05/0.2648, allocations: 37.7 kB / 0.9942 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2648, allocations: 4 kB / 0.9942 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.174e-06/0.2648, allocations: 3.938 kB / 0.9942 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.2651, allocations: 0.5341 MB / 0.9947 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002726/0.2654, allocations: 257.4 kB / 0.995 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.2655, allocations: 0.6848 MB / 0.9956 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.151e-05/0.2655, allocations: 3.938 kB / 0.9956 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.685e-06/0.2655, allocations: 11.44 kB / 0.9957 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.2655, allocations: 4 kB / 0.9957 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of Templates: time 0.007294/0.2728, allocations: 5.514 MB / 1.001 GB, free: 5.23 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)