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.001144/0.001144, allocations: 76.17 kB / 9.933 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001475/0.00262, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001184/0.001184, allocations: 161.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001516/0.002701, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9419/0.9419, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09035/1.032, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.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.841/1.841, allocations: 389.9 MB / 0.619 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4408/2.282, allocations: 127.1 MB / 0.7432 GB, free: 4.59 MB / 0.7136 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.573e-06/1.573e-06, allocations: 0 / 0.7445 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.764e-05/1.922e-05, allocations: 3.469 kB / 0.7445 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002726/0.002745, allocations: 1.525 MB / 0.746 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004294/0.007039, allocations: 4.047 MB / 0.75 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.326e-05/0.007072, allocations: 4.688 kB / 0.75 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.852e-05/0.00711, allocations: 11.86 kB / 0.75 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.007243, allocations: 41.73 kB / 0.75 GB, free: 13.64 MB / 0.7292 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.002305/0.009547, allocations: 1.415 MB / 0.7514 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.009654, allocations: 97.36 kB / 0.7515 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.148e-05/0.009685, allocations: 11.92 kB / 0.7515 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.969e-05/0.009775, allocations: 75.8 kB / 0.7516 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.747e-05/0.009862, allocations: 49.17 kB / 0.7516 GB, free: 12 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.009876, allocations: 4.5 kB / 0.7517 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002601/0.01248, allocations: 2.54 MB / 0.7541 GB, free: 9.461 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.01261, allocations: 243.3 kB / 0.7544 GB, free: 9.223 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.623e-05/0.0127, allocations: 119.4 kB / 0.7545 GB, free: 9.105 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001866/0.01456, allocations: 1.951 MB / 0.7564 GB, free: 7.152 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.01457, allocations: 0 / 0.7564 GB, free: 7.152 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.31e-07/0.01457, allocations: 0 / 0.7564 GB, free: 7.152 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.465e-05/0.01459, allocations: 3.984 kB / 0.7564 GB, free: 7.148 MB / 0.7292 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.001336/0.01592, allocations: 1.446 MB / 0.7578 GB, free: 5.672 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.635e-05/0.01595, allocations: 8.031 kB / 0.7578 GB, free: 5.664 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002184/0.01617, allocations: 111.6 kB / 0.7579 GB, free: 5.539 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.01639, allocations: 290.5 kB / 0.7582 GB, free: 5.219 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.0164, allocations: 8.375 kB / 0.7582 GB, free: 5.211 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.01642, allocations: 4.938 kB / 0.7582 GB, free: 5.207 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.0166, allocations: 233.7 kB / 0.7584 GB, free: 4.965 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.01661, allocations: 192 / 0.7584 GB, free: 4.965 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-06/0.01662, allocations: 5.781 kB / 0.7584 GB, free: 4.961 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.01662, allocations: 3.938 kB / 0.7584 GB, free: 4.957 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.01674, allocations: 199.9 kB / 0.7586 GB, free: 4.762 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001862/0.01693, allocations: 249.2 kB / 0.7589 GB, free: 4.5 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.01711, allocations: 282.3 kB / 0.7591 GB, free: 4.207 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.972e-05/0.0172, allocations: 157.7 kB / 0.7593 GB, free: 4.047 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002701/0.01747, allocations: 133.6 kB / 0.7594 GB, free: 3.922 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001681/0.01764, allocations: 224.9 kB / 0.7596 GB, free: 3.684 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 9.11e-07/0.01764, allocations: 1.312 kB / 0.7596 GB, free: 3.684 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0003636/0.018, allocations: 493.6 kB / 0.7601 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.01805, allocations: 81.64 kB / 0.7602 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004997/0.01855, allocations: 0.9979 MB / 0.7612 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.01857, allocations: 29.7 kB / 0.7612 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.0187, allocations: 267.5 kB / 0.7614 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.01873, allocations: 27.77 kB / 0.7615 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.01892, allocations: 339.2 kB / 0.7618 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.118e-05/0.01898, allocations: 306 kB / 0.7621 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003163/0.0193, allocations: 0.5058 MB / 0.7626 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003346/0.01963, allocations: 0.6141 MB / 0.7632 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.02104, allocations: 2.232 MB / 0.7654 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.02105, allocations: 0 / 0.7654 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002348/0.02339, allocations: 3.725 MB / 0.769 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.02341, allocations: 6.5 kB / 0.769 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.02342, allocations: 11.02 kB / 0.769 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.344e-06/0.02343, allocations: 0 / 0.769 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.853e-05/0.02352, allocations: 23.98 kB / 0.769 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.299e-06/0.02352, allocations: 8.062 kB / 0.769 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.02374, allocations: 245.2 kB / 0.7693 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.849e-05/0.02377, allocations: 23.97 kB / 0.7693 GB, free: 9.605 MB / 0.7448 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.0001057/0.02388, allocations: 122.1 kB / 0.7694 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.0239, allocations: 7.984 kB / 0.7694 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002824/0.02418, allocations: 367.3 kB / 0.7698 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.02418, allocations: 3.984 kB / 0.7698 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.02418, allocations: 1.312 kB / 0.7698 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.02419, allocations: 3.938 kB / 0.7698 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.02437, allocations: 290.7 kB / 0.7701 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.02437, allocations: 0 / 0.7701 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.632e-05/0.02441, allocations: 9.031 kB / 0.7701 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.332e-05/0.02445, allocations: 79.33 kB / 0.7701 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.02446, allocations: 5.375 kB / 0.7701 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.02446, allocations: 4 kB / 0.7701 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.02446, allocations: 0 / 0.7701 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.02447, allocations: 4 kB / 0.7701 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.02469, allocations: 384.3 kB / 0.7705 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.02472, allocations: 0 / 0.7705 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.728e-05/0.02477, allocations: 8 kB / 0.7705 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.206e-05/0.0248, allocations: 8.797 kB / 0.7705 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.02481, allocations: 12.98 kB / 0.7705 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002346/0.02505, allocations: 395.7 kB / 0.7709 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.02505, allocations: 0 / 0.7709 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000801/0.02585, allocations: 0.5812 MB / 0.7715 GB, free: 7.293 MB / 0.7448 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.001172/0.02702, allocations: 0.8389 MB / 0.7723 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006399/0.02766, allocations: 0.9704 MB / 0.7733 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/0.02767, allocations: 12 kB / 0.7733 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.02777, allocations: 173.3 kB / 0.7734 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.02795, allocations: 69.53 kB / 0.7735 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.02922, allocations: 1.448 MB / 0.7749 GB, free: 3.777 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.02932, allocations: 191.1 kB / 0.7751 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.854e-05/0.0294, allocations: 28.91 kB / 0.7751 GB, free: 3.547 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.02955, allocations: 71.34 kB / 0.7752 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of SimCode: time 8.92e-07/0.02955, allocations: 0.9062 kB / 0.7752 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of Templates: time 0.0162/0.04575, allocations: 15.56 MB / 0.7904 GB, free: 4.145 MB / 0.7605 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.329078556969762]