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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.749/1.749, allocations: 287.5 MB / 302.6 MB, free: 8.203 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.001274/0.001274, allocations: 183 kB / 371.2 MB, free: 10.84 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.686/1.686, allocations: 205.4 MB / 0.6299 GB, free: 10.59 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.000904/0.0009039, allocations: 93.52 kB / 0.7432 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004637/0.0004637, allocations: 17.02 kB / 0.8662 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2254, allocations: 115.3 MB / 0.9787 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001468/0.2269, allocations: 1.14 MB / 0.9799 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003667/0.2306, allocations: 2.736 MB / 0.9825 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.126e-05/0.2307, allocations: 0 / 0.9825 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.976e-05/0.2307, allocations: 3.938 kB / 0.9825 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.422e-05/0.2308, allocations: 11.86 kB / 0.9825 GB, free: 24.25 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.003481/0.2343, allocations: 1.293 MB / 0.9838 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.117e-05/0.2344, allocations: 39.73 kB / 0.9838 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.92e-05/0.2345, allocations: 7.984 kB / 0.9838 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.943e-05/0.2345, allocations: 11.94 kB / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.877e-05/0.2345, allocations: 19.92 kB / 0.9839 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.2345, allocations: 0 / 0.9839 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002098/0.2366, allocations: 1.236 MB / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/0.2367, allocations: 0 / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.17e-05/0.2367, allocations: 33.64 kB / 0.9851 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.2378, allocations: 0.706 MB / 0.9858 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2378, allocations: 0 / 0.9858 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2378, allocations: 0 / 0.9858 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.2378, allocations: 0 / 0.9858 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.0006393/0.2385, allocations: 0.503 MB / 0.9863 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.2385, allocations: 8.031 kB / 0.9863 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.693e-05/0.2386, allocations: 84.12 kB / 0.9864 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.2387, allocations: 251.5 kB / 0.9866 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.813e-05/0.2387, allocations: 154.9 kB / 0.9868 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.2388, allocations: 154.9 kB / 0.9869 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.239e-05/0.2388, allocations: 109 kB / 0.987 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.2389, allocations: 75.28 kB / 0.9871 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/0.2389, allocations: 154.6 kB / 0.9872 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.425e-05/0.2389, allocations: 154.6 kB / 0.9874 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.976e-05/0.239, allocations: 158.5 kB / 0.9875 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002358/0.2392, allocations: 461.9 kB / 0.988 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.412e-05/0.2393, allocations: 169.1 kB / 0.9881 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.159e-05/0.2393, allocations: 84.14 kB / 0.9882 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.2393, allocations: 79.28 kB / 0.9883 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.2394, allocations: 109.8 kB / 0.9884 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.2394, allocations: 0 / 0.9884 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.984e-05/0.2394, allocations: 41.53 kB / 0.9884 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.2395, allocations: 126.7 kB / 0.9886 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.2396, allocations: 132.3 kB / 0.9887 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.654e-06/0.2396, allocations: 25.7 kB / 0.9887 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.818e-05/0.2397, allocations: 96.14 kB / 0.9888 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.747e-06/0.2397, allocations: 0 / 0.9888 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.2397, allocations: 3.938 kB / 0.9888 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.625e-05/0.2398, allocations: 314.8 kB / 0.9891 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.509e-05/0.2398, allocations: 8 kB / 0.9891 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.521e-05/0.2398, allocations: 4 kB / 0.9891 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.942e-05/0.2399, allocations: 8.859 kB / 0.9891 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.2399, allocations: 0 / 0.9891 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001253/0.24, allocations: 61.53 kB / 0.9892 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.24, allocations: 8 kB / 0.9892 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/0.24, allocations: 4 kB / 0.9892 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.2401, allocations: 0 / 0.9892 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.332e-06/0.2401, allocations: 0 / 0.9892 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2401, allocations: 0 / 0.9892 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.332e-05/0.2401, allocations: 0 / 0.9892 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.2401, allocations: 0 / 0.9892 GB, free: 17.2 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.986e-05/0.2402, allocations: 189.1 kB / 0.9894 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.046e-05/0.2403, allocations: 124.8 kB / 0.9895 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.883e-05/0.2403, allocations: 108.9 kB / 0.9896 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-05/0.2403, allocations: 180.3 kB / 0.9898 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.488e-05/0.2404, allocations: 180.3 kB / 0.9899 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.677e-05/0.2404, allocations: 184.2 kB / 0.9901 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.2405, allocations: 413.2 kB / 0.9905 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/0.2406, allocations: 112.9 kB / 0.9906 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.755e-05/0.2406, allocations: 105 kB / 0.9907 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.684e-05/0.2406, allocations: 180.2 kB / 0.9909 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.2407, allocations: 180.2 kB / 0.9911 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.623e-05/0.2407, allocations: 188.2 kB / 0.9913 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-05/0.2407, allocations: 184.2 kB / 0.9914 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.547e-05/0.2408, allocations: 303.7 kB / 0.9917 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.884e-05/0.2409, allocations: 194 kB / 0.9919 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/0.2409, allocations: 176.3 kB / 0.9921 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.911e-05/0.241, allocations: 104.9 kB / 0.9922 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.241, allocations: 184.3 kB / 0.9923 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.241, allocations: 104.9 kB / 0.9924 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.508e-05/0.2411, allocations: 103.2 kB / 0.9925 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2411, allocations: 0 / 0.9925 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007296/0.2418, allocations: 275.7 kB / 0.9928 GB, free: 13.29 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.00108/0.2429, allocations: 0.5191 MB / 0.9933 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.335e-05/0.243, allocations: 37.7 kB / 0.9933 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.243, allocations: 0 / 0.9933 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/0.243, allocations: 0 / 0.9933 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.2433, allocations: 0.5324 MB / 0.9939 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002394/0.2436, allocations: 267.6 kB / 0.9941 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.976e-05/0.2437, allocations: 0.6848 MB / 0.9948 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.328e-05/0.2437, allocations: 3.984 kB / 0.9948 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.857e-06/0.2437, allocations: 11.44 kB / 0.9948 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2437, allocations: 0 / 0.9948 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of Templates: time 0.008136/0.2519, allocations: 5.545 MB / 1 GB, free: 5.672 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)