Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009499/0.0009499, allocations: 80.75 kB / 20.82 MB, free: 3.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 169 kB / 24.25 MB, free: 208 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9368/0.9368, allocations: 177.1 MB / 204.7 MB, free: 5.418 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.876/1.876, allocations: 389.6 MB / 0.6355 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.7755 GB, free: 5.195 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.337e-05/1.489e-05, allocations: 2.312 kB / 0.7755 GB, free: 5.191 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001652/0.001667, allocations: 1.527 MB / 0.7769 GB, free: 3.68 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.004339/0.006006, allocations: 4.021 MB / 0.7809 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.347e-05/0.006059, allocations: 7.938 kB / 0.7809 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.931e-05/0.006159, allocations: 7.922 kB / 0.7809 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001836/0.006342, allocations: 40.7 kB / 0.7809 GB, free: 15.61 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.001871/0.008214, allocations: 1.439 MB / 0.7823 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.713e-05/0.008311, allocations: 92.23 kB / 0.7824 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.535e-05/0.008346, allocations: 8.859 kB / 0.7824 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.015e-05/0.008416, allocations: 63.86 kB / 0.7825 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.94e-05/0.008506, allocations: 45.94 kB / 0.7825 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.00852, allocations: 4 kB / 0.7825 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002324/0.01084, allocations: 2.593 MB / 0.7851 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.01098, allocations: 251.3 kB / 0.7853 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.07e-05/0.01106, allocations: 124.3 kB / 0.7854 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001692/0.01275, allocations: 2.342 MB / 0.7877 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.01275, allocations: 4.812 kB / 0.7877 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.71e-07/0.01275, allocations: 0 / 0.7877 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.01276, allocations: 0 / 0.7877 GB, free: 8.668 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001021/0.01378, allocations: 1.197 MB / 0.7889 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.01381, allocations: 13.34 kB / 0.7889 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001775/0.01399, allocations: 34.62 kB / 0.7889 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.01421, allocations: 294.4 kB / 0.7892 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.01422, allocations: 5.469 kB / 0.7892 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.01425, allocations: 4.375 kB / 0.7892 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.01443, allocations: 230.1 kB / 0.7894 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.01444, allocations: 4.172 kB / 0.7895 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.01445, allocations: 4.375 kB / 0.7895 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.01446, allocations: 3.938 kB / 0.7895 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.01458, allocations: 200.7 kB / 0.7897 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.01476, allocations: 248.6 kB / 0.7899 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.01493, allocations: 286.1 kB / 0.7902 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.707e-05/0.01502, allocations: 153.7 kB / 0.7903 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002665/0.01529, allocations: 138.9 kB / 0.7904 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001613/0.01545, allocations: 225 kB / 0.7907 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.01545, allocations: 0 / 0.7907 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0004313/0.01588, allocations: 495.1 kB / 0.7911 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.487e-05/0.01592, allocations: 81.11 kB / 0.7912 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004855/0.0164, allocations: 0.9973 MB / 0.7922 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.01643, allocations: 33.69 kB / 0.7922 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.01653, allocations: 261.7 kB / 0.7925 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.01656, allocations: 32.7 kB / 0.7925 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/0.01675, allocations: 331.2 kB / 0.7928 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.253e-05/0.01681, allocations: 310.8 kB / 0.7931 GB, free: 2.973 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/0.01711, allocations: 0.5097 MB / 0.7936 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003281/0.01744, allocations: 0.6088 MB / 0.7942 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.01883, allocations: 2.24 MB / 0.7964 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.01883, allocations: 0 / 0.7964 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002319/0.02115, allocations: 3.721 MB / 0.8 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.02116, allocations: 6.344 kB / 0.8 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.02118, allocations: 3.984 kB / 0.8 GB, free: 11.76 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.02119, allocations: 4 kB / 0.8 GB, free: 11.76 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.271e-05/0.02127, allocations: 19.98 kB / 0.8 GB, free: 11.74 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.02127, allocations: 4 kB / 0.8001 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.02149, allocations: 245.2 kB / 0.8003 GB, free: 11.49 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.918e-05/0.02152, allocations: 22.42 kB / 0.8003 GB, free: 11.47 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (labels[1],cluSiz[1],gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0001069/0.02163, allocations: 116.7 kB / 0.8004 GB, free: 11.35 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/0.02164, allocations: 7.984 kB / 0.8004 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002686/0.02191, allocations: 374.8 kB / 0.8008 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.02192, allocations: 0 / 0.8008 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.02192, allocations: 6.078 kB / 0.8008 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.02192, allocations: 7.938 kB / 0.8008 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.0221, allocations: 286.7 kB / 0.8011 GB, free: 10.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.0221, allocations: 0 / 0.8011 GB, free: 10.66 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.134e-05/0.02213, allocations: 8 kB / 0.8011 GB, free: 10.65 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.02213, allocations: 0.5938 kB / 0.8011 GB, free: 10.65 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.02214, allocations: 4.703 kB / 0.8011 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.02214, allocations: 4 kB / 0.8011 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.02214, allocations: 5.062 kB / 0.8011 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.02236, allocations: 378.9 kB / 0.8015 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.378e-05/0.02241, allocations: 80.38 kB / 0.8015 GB, free: 10.17 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.02244, allocations: 11.98 kB / 0.8015 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.38e-05/0.02249, allocations: 0 / 0.8015 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.151e-05/0.02252, allocations: 8.922 kB / 0.8015 GB, free: 10.15 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.02254, allocations: 11.98 kB / 0.8016 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002252/0.02276, allocations: 396.5 kB / 0.8019 GB, free: 9.742 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.02276, allocations: 0 / 0.8019 GB, free: 9.742 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0007036/0.02347, allocations: 0.5816 MB / 0.8025 GB, free: 9.16 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001176/0.02464, allocations: 0.8031 MB / 0.8033 GB, free: 8.391 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006351/0.02528, allocations: 0.9749 MB / 0.8042 GB, free: 7.398 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.02528, allocations: 12 kB / 0.8043 GB, free: 7.387 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.02539, allocations: 164.7 kB / 0.8044 GB, free: 7.223 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.02555, allocations: 45.53 kB / 0.8045 GB, free: 7.176 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.02662, allocations: 1.429 MB / 0.8059 GB, free: 5.715 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.733e-05/0.02672, allocations: 191.1 kB / 0.806 GB, free: 5.508 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 7.318e-05/0.02679, allocations: 32.31 kB / 0.8061 GB, free: 5.48 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.0269, allocations: 79.88 kB / 0.8061 GB, free: 5.402 MB / 0.7605 GB Notification: Performance of SimCode: time 5.31e-07/0.0269, allocations: 0 / 0.8061 GB, free: 5.402 MB / 0.7605 GB Notification: Performance of Templates: time 0.02109/0.04799, allocations: 15.53 MB / 0.8213 GB, free: 6.082 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.548255656845868]