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 2.653/2.653, allocations: 287.5 MB / 302.4 MB, free: 8.336 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.001421/0.001421, allocations: 186.6 kB / 371 MB, free: 10.88 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.127/2.127, 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.0009707/0.0009706, allocations: 89.11 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004963/0.0004965, allocations: 12 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2132, allocations: 115.3 MB / 0.9784 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001628/0.2149, allocations: 1.138 MB / 0.9795 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005014/0.22, allocations: 2.736 MB / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.503e-05/0.2201, allocations: 0 / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.994e-05/0.2202, allocations: 0 / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.302e-05/0.2203, allocations: 19.86 kB / 0.9822 GB, free: 24.39 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.004974/0.2252, allocations: 1.301 MB / 0.9835 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.653e-05/0.2253, allocations: 35.73 kB / 0.9835 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.29e-05/0.2254, allocations: 0 / 0.9835 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.104e-05/0.2254, allocations: 15.94 kB / 0.9835 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.131e-05/0.2255, allocations: 19.92 kB / 0.9836 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.2255, allocations: 0 / 0.9836 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002753/0.2283, allocations: 1.229 MB / 0.9848 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.2283, allocations: 3.938 kB / 0.9848 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.78e-05/0.2284, allocations: 33.7 kB / 0.9848 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001596/0.23, allocations: 0.7098 MB / 0.9855 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.23, allocations: 0 / 0.9855 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.424e-06/0.23, allocations: 0 / 0.9855 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.2301, allocations: 0 / 0.9855 GB, free: 21.05 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.0006843/0.2308, allocations: 0.5028 MB / 0.986 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.2308, allocations: 16.02 kB / 0.986 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.286e-05/0.2309, allocations: 83.14 kB / 0.9861 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.231, allocations: 244 kB / 0.9863 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.422e-05/0.231, allocations: 154.6 kB / 0.9864 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.418e-05/0.2311, allocations: 154.6 kB / 0.9866 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.083e-05/0.2312, allocations: 105 kB / 0.9867 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.2312, allocations: 75.28 kB / 0.9868 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.088e-05/0.2312, allocations: 150.6 kB / 0.9869 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.774e-05/0.2313, allocations: 154.5 kB / 0.9871 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.055e-05/0.2313, allocations: 154.5 kB / 0.9872 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002325/0.2315, allocations: 469.8 kB / 0.9877 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.453e-05/0.2316, allocations: 165.1 kB / 0.9878 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.237e-05/0.2316, allocations: 84.14 kB / 0.9879 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.2317, allocations: 79.27 kB / 0.988 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.2317, allocations: 113.8 kB / 0.9881 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.603e-06/0.2317, allocations: 7.938 kB / 0.9881 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 8.569e-05/0.2318, allocations: 29.7 kB / 0.9881 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.2319, allocations: 126.7 kB / 0.9882 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.232, allocations: 126 kB / 0.9884 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.232, allocations: 25.7 kB / 0.9884 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.186e-05/0.2321, allocations: 92.05 kB / 0.9885 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.088e-06/0.2321, allocations: 0 / 0.9885 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/0.2321, allocations: 3.938 kB / 0.9885 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.421e-05/0.2322, allocations: 330.8 kB / 0.9888 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.874e-05/0.2322, allocations: 4 kB / 0.9888 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.166e-05/0.2323, allocations: 0 / 0.9888 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.557e-05/0.2323, allocations: 11.94 kB / 0.9888 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2323, allocations: 4 kB / 0.9888 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001431/0.2325, allocations: 41.69 kB / 0.9888 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.2325, allocations: 5.719 kB / 0.9888 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.437e-05/0.2325, allocations: 4 kB / 0.9889 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.2325, allocations: 0 / 0.9889 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.333e-06/0.2326, allocations: 64 / 0.9889 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.2326, allocations: 4 kB / 0.9889 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.618e-05/0.2326, allocations: 3.906 kB / 0.9889 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.2326, allocations: 7.984 kB / 0.9889 GB, free: 17.36 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.631e-05/0.2327, allocations: 197 kB / 0.9891 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.938e-05/0.2328, allocations: 108.9 kB / 0.9892 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.559e-05/0.2328, allocations: 104.9 kB / 0.9893 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-05/0.2329, allocations: 184.3 kB / 0.9894 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.842e-05/0.2329, allocations: 184.2 kB / 0.9896 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.398e-05/0.233, allocations: 188.3 kB / 0.9898 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.2332, allocations: 417.1 kB / 0.9902 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.955e-05/0.2332, allocations: 101 kB / 0.9903 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.003e-05/0.2332, allocations: 101 kB / 0.9904 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.284e-05/0.2333, allocations: 184.2 kB / 0.9906 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.412e-05/0.2333, allocations: 188.2 kB / 0.9907 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-05/0.2334, allocations: 180.2 kB / 0.9909 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.258e-05/0.2334, allocations: 176.5 kB / 0.9911 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.816e-05/0.2335, allocations: 323.6 kB / 0.9914 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.862e-05/0.2336, allocations: 190 kB / 0.9916 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.616e-05/0.2336, allocations: 180.2 kB / 0.9917 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.615e-05/0.2337, allocations: 105 kB / 0.9918 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.2337, allocations: 180.2 kB / 0.992 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.2338, allocations: 105 kB / 0.9921 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.376e-05/0.2338, allocations: 103.3 kB / 0.9922 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2339, allocations: 0 / 0.9922 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009374/0.2348, allocations: 279.6 kB / 0.9925 GB, free: 13.44 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.001309/0.2361, allocations: 0.5093 MB / 0.993 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001296/0.2363, allocations: 37.7 kB / 0.993 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2363, allocations: 64 / 0.993 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.649e-06/0.2363, allocations: 11.94 kB / 0.993 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.2367, allocations: 0.534 MB / 0.9935 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003344/0.2371, allocations: 258 kB / 0.9938 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.2372, allocations: 0.6848 MB / 0.9945 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.703e-05/0.2372, allocations: 0 / 0.9945 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.557e-05/0.2373, allocations: 11.44 kB / 0.9945 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of SimCode: time 1.092e-06/0.2373, allocations: 3.938 kB / 0.9945 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of Templates: time 0.01297/0.2502, allocations: 5.503 MB / 0.9998 GB, free: 5.871 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)