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.Functions.Validation.InternalResistancesTwoUTube.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.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.735/2.735, allocations: 287.5 MB / 302.4 MB, free: 8.266 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.001874/0.001874, allocations: 181.7 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.052/2.052, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0009672/0.0009672, allocations: 93.5 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006526/0.0006529, allocations: 20.84 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2539, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001684/0.2556, allocations: 1.15 MB / 0.9795 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005006/0.2607, allocations: 2.771 MB / 0.9822 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.1e-05/0.2608, allocations: 0 / 0.9822 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.984e-05/0.2608, allocations: 3.938 kB / 0.9822 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.673e-05/0.2609, allocations: 23.84 kB / 0.9823 GB, free: 24.32 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesTwoUTube.mo:2:1-162:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesTwoUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.004964/0.2659, allocations: 1.315 MB / 0.9836 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.906e-05/0.266, allocations: 39.73 kB / 0.9836 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.64e-05/0.2661, allocations: 4.281 kB / 0.9836 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.112e-05/0.2661, allocations: 15.92 kB / 0.9836 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.31e-05/0.2662, allocations: 19.94 kB / 0.9836 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.2662, allocations: 0 / 0.9836 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002798/0.269, allocations: 1.264 MB / 0.9849 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.621e-05/0.2691, allocations: 7.875 kB / 0.9849 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.663e-05/0.2691, allocations: 29.7 kB / 0.9849 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001546/0.2707, allocations: 0.7251 MB / 0.9856 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.2707, allocations: 0 / 0.9856 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.635e-06/0.2707, allocations: 0 / 0.9856 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.2707, allocations: 0 / 0.9856 GB, free: 20.91 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.0007243/0.2715, allocations: 0.5184 MB / 0.9861 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.2715, allocations: 8.031 kB / 0.9861 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.308e-05/0.2716, allocations: 87.14 kB / 0.9862 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.2717, allocations: 248.7 kB / 0.9864 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.411e-05/0.2717, allocations: 150.6 kB / 0.9866 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.2718, allocations: 150.6 kB / 0.9867 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.142e-05/0.2718, allocations: 105 kB / 0.9868 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.2719, allocations: 79.28 kB / 0.9869 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.986e-05/0.2719, allocations: 154.6 kB / 0.987 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.644e-05/0.272, allocations: 154.5 kB / 0.9872 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3e-05/0.272, allocations: 154.5 kB / 0.9873 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002372/0.2722, allocations: 469.8 kB / 0.9878 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.612e-05/0.2723, allocations: 165.1 kB / 0.9879 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.296e-05/0.2723, allocations: 80.14 kB / 0.988 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.2724, allocations: 75.28 kB / 0.9881 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.2724, allocations: 117.8 kB / 0.9882 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.342e-06/0.2724, allocations: 0 / 0.9882 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 8.058e-05/0.2725, allocations: 29.69 kB / 0.9882 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.2726, allocations: 138.6 kB / 0.9884 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.2727, allocations: 137.8 kB / 0.9885 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.2727, allocations: 25.7 kB / 0.9885 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.044e-05/0.2728, allocations: 92.14 kB / 0.9886 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.796e-06/0.2728, allocations: 0 / 0.9886 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.2728, allocations: 0 / 0.9886 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.915e-05/0.2729, allocations: 322.8 kB / 0.9889 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.112e-05/0.2729, allocations: 4 kB / 0.9889 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.489e-05/0.2729, allocations: 4 kB / 0.9889 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.7e-05/0.273, allocations: 11.94 kB / 0.9889 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.273, allocations: 0 / 0.9889 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001465/0.2732, allocations: 57.58 kB / 0.989 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.2732, allocations: 5.719 kB / 0.989 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.536e-05/0.2732, allocations: 4 kB / 0.989 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.2732, allocations: 0 / 0.989 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.343e-06/0.2733, allocations: 4.062 kB / 0.989 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.2733, allocations: 3.984 kB / 0.989 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.534e-05/0.2733, allocations: 0 / 0.989 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.2733, allocations: 11.89 kB / 0.989 GB, free: 17.18 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 7.396e-05/0.2734, allocations: 185.1 kB / 0.9892 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.107e-05/0.2735, allocations: 116.8 kB / 0.9893 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.495e-05/0.2735, allocations: 112.9 kB / 0.9894 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-05/0.2736, allocations: 184.3 kB / 0.9896 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.591e-05/0.2736, allocations: 180.2 kB / 0.9898 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.194e-05/0.2737, allocations: 176.3 kB / 0.9899 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.2738, allocations: 429.2 kB / 0.9903 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.895e-05/0.2739, allocations: 101 kB / 0.9904 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.178e-05/0.2739, allocations: 105 kB / 0.9905 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-05/0.2739, allocations: 180.2 kB / 0.9907 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.802e-05/0.274, allocations: 180.3 kB / 0.9909 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.642e-05/0.274, allocations: 188.2 kB / 0.9911 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.544e-05/0.2741, allocations: 176.3 kB / 0.9912 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.262e-05/0.2742, allocations: 312 kB / 0.9915 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.136e-05/0.2742, allocations: 194 kB / 0.9917 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.849e-05/0.2743, allocations: 180.2 kB / 0.9919 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.763e-05/0.2744, allocations: 105 kB / 0.992 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.2744, allocations: 188.1 kB / 0.9922 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.2745, allocations: 105 kB / 0.9923 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.654e-05/0.2745, allocations: 103.2 kB / 0.9924 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2746, allocations: 0 / 0.9924 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001022/0.2756, allocations: 279.8 kB / 0.9926 GB, free: 13.26 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.001387/0.277, allocations: 0.5058 MB / 0.9931 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001374/0.2771, allocations: 37.7 kB / 0.9932 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.2772, allocations: 8.062 kB / 0.9932 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.441e-06/0.2772, allocations: 7.875 kB / 0.9932 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.2776, allocations: 0.5301 MB / 0.9937 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003273/0.2779, allocations: 262.1 kB / 0.9939 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.2781, allocations: 0.6887 MB / 0.9946 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.811e-05/0.2781, allocations: 0 / 0.9946 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.317e-05/0.2782, allocations: 7.438 kB / 0.9946 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of SimCode: time 1.793e-06/0.2782, allocations: 0 / 0.9946 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of Templates: time 0.01298/0.2912, allocations: 5.701 MB / 1 GB, free: 5.5 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)