Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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_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_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.73/1.73, allocations: 292.3 MB / 308.1 MB, free: 4.25 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.001562/0.001562, allocations: 188.4 kB / 376.9 MB, free: 1.789 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.828/1.828, allocations: 205 MB / 0.6354 GB, free: 9.766 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00115/0.00115, allocations: 101.7 kB / 0.748 GB, free: 61.36 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 47.92 kB / 0.8704 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.314, allocations: 114.5 MB / 0.9823 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.004165/0.3182, allocations: 1.502 MB / 0.9837 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.005965/0.3242, allocations: 3.114 MB / 0.9868 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.155e-05/0.3243, allocations: 0 / 0.9868 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.178e-05/0.3244, allocations: 7.938 kB / 0.9868 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.34e-05/0.3245, allocations: 11.91 kB / 0.9868 GB, free: 5.66 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.005139/0.3297, allocations: 1.47 MB / 0.9882 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000111/0.3298, allocations: 47.67 kB / 0.9883 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.671e-05/0.3299, allocations: 4.281 kB / 0.9883 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.006e-05/0.3299, allocations: 11.94 kB / 0.9883 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.344e-05/0.33, allocations: 15.88 kB / 0.9883 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.33, allocations: 0 / 0.9883 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003268/0.3332, allocations: 1.482 MB / 0.9898 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.182e-05/0.3333, allocations: 11.98 kB / 0.9898 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.299e-05/0.3333, allocations: 19.86 kB / 0.9898 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002813/0.3362, allocations: 1.138 MB / 0.9909 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.3362, allocations: 0 / 0.9909 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3362, allocations: 3.938 kB / 0.9909 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.3362, allocations: 3.938 kB / 0.9909 GB, free: 1.445 MB / 0.7136 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.001111/0.3373, allocations: 0.5185 MB / 0.9914 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/0.3374, allocations: 8.031 kB / 0.9914 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.911e-05/0.3375, allocations: 84.12 kB / 0.9915 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.3377, allocations: 248.8 kB / 0.9917 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.644e-05/0.3378, allocations: 154.9 kB / 0.9919 GB, free: 364 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.754e-05/0.3379, allocations: 154.9 kB / 0.992 GB, free: 208 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.357e-05/0.3379, allocations: 117 kB / 0.9921 GB, free: 84 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.308e-05/0.338, allocations: 75.28 kB / 0.9922 GB, free: 8 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.153e-05/0.3381, allocations: 150.6 kB / 0.9924 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.146e-05/0.3382, allocations: 154.6 kB / 0.9925 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.027e-05/0.3382, allocations: 150.6 kB / 0.9926 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003699/0.3386, allocations: 461.9 kB / 0.9931 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.663e-05/0.3387, allocations: 169.1 kB / 0.9933 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.092e-05/0.3388, allocations: 88.14 kB / 0.9933 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.679e-05/0.3388, allocations: 83.27 kB / 0.9934 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.704e-05/0.3389, allocations: 109.8 kB / 0.9935 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 1.804e-06/0.3389, allocations: 0 / 0.9935 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 9.193e-05/0.339, allocations: 33.61 kB / 0.9936 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/0.3391, allocations: 130.6 kB / 0.9937 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.3393, allocations: 144.1 kB / 0.9938 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.3393, allocations: 25.7 kB / 0.9938 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.708e-05/0.3393, allocations: 88.14 kB / 0.9939 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-06/0.3394, allocations: 0 / 0.9939 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.679e-05/0.3394, allocations: 17.72 kB / 0.9939 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.3396, allocations: 322.8 kB / 0.9942 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.631e-05/0.3396, allocations: 0 / 0.9942 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.403e-05/0.3396, allocations: 4 kB / 0.9943 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.346e-05/0.3397, allocations: 20.89 kB / 0.9943 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3397, allocations: 0 / 0.9943 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001452/0.3398, allocations: 61.47 kB / 0.9943 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.3399, allocations: 4 kB / 0.9943 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.679e-05/0.3399, allocations: 4 kB / 0.9943 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3399, allocations: 0 / 0.9943 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.3399, allocations: 0 / 0.9943 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.3399, allocations: 0 / 0.9943 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.568e-05/0.34, allocations: 0 / 0.9943 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.34, allocations: 8.062 kB / 0.9943 GB, free: 13.69 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.3401, allocations: 185.2 kB / 0.9945 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.397e-05/0.3402, allocations: 120.8 kB / 0.9946 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.887e-05/0.3403, allocations: 108.8 kB / 0.9947 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.439e-05/0.3404, allocations: 180.3 kB / 0.9949 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.699e-05/0.3405, allocations: 184.1 kB / 0.9951 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.861e-05/0.3406, allocations: 188.2 kB / 0.9953 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003286/0.3409, allocations: 417.4 kB / 0.9957 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.014e-05/0.341, allocations: 112.9 kB / 0.9958 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.966e-05/0.3411, allocations: 101 kB / 0.9959 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001083/0.3412, allocations: 176.3 kB / 0.996 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/0.3413, allocations: 188.2 kB / 0.9962 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000103/0.3414, allocations: 184.3 kB / 0.9964 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.909e-05/0.3415, allocations: 180.2 kB / 0.9966 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006874/0.3422, allocations: 0.857 MB / 0.9974 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.3424, allocations: 190 kB / 0.9976 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.3425, allocations: 180.2 kB / 0.9978 GB, free: 9.949 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.642e-05/0.3426, allocations: 101 kB / 0.9979 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.914e-05/0.3427, allocations: 188.2 kB / 0.998 GB, free: 9.652 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.692e-05/0.3427, allocations: 105 kB / 0.9981 GB, free: 9.543 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.115e-05/0.3428, allocations: 97.3 kB / 0.9982 GB, free: 9.449 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3428, allocations: 0 / 0.9982 GB, free: 9.449 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001324/0.3442, allocations: 307.7 kB / 0.9985 GB, free: 9.148 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001863/0.346, allocations: 0.5491 MB / 0.9991 GB, free: 8.594 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001291/0.3462, allocations: 45.64 kB / 0.9991 GB, free: 8.543 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3462, allocations: 0 / 0.9991 GB, free: 8.543 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.487e-06/0.3462, allocations: 0 / 0.9991 GB, free: 8.543 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005219/0.3467, allocations: 0.5302 MB / 0.9996 GB, free: 8.008 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003979/0.3471, allocations: 245.6 kB / 0.9998 GB, free: 7.742 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.3475, allocations: 0.6848 MB / 1.001 GB, free: 7.031 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.994e-05/0.3475, allocations: 0 / 1.001 GB, free: 7.031 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.168e-05/0.3476, allocations: 11.44 kB / 1.001 GB, free: 7.02 MB / 0.7292 GB Notification: Performance of SimCode: time 5.81e-07/0.3476, allocations: 3.938 kB / 1.001 GB, free: 7.016 MB / 0.7292 GB Notification: Performance of Templates: time 0.01245/0.36, allocations: 5.795 MB / 1.006 GB, free: 1.258 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)