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.0009173/0.0009173, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001285/0.002203, allocations: 449.8 kB / 10.44 MB, free: 252 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.0009628/0.0009628, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001313/0.002276, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.8998/0.8998, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08276/0.9825, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.909/1.909, allocations: 390 MB / 0.6194 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4002/2.309, allocations: 127.1 MB / 0.7435 GB, free: 4.551 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.403e-06/1.403e-06, allocations: 0 / 0.7449 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017e-05/1.157e-05, allocations: 2.312 kB / 0.7449 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001515/0.001526, allocations: 1.534 MB / 0.7464 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004112/0.005638, allocations: 4.054 MB / 0.7503 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.496e-05/0.005673, allocations: 0.6875 kB / 0.7503 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.848e-05/0.005712, allocations: 11.86 kB / 0.7503 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.005833, allocations: 32.94 kB / 0.7504 GB, free: 13.57 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.001762/0.007596, allocations: 1.424 MB / 0.7518 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.691e-05/0.007692, allocations: 95.67 kB / 0.7519 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.123e-05/0.007724, allocations: 7.984 kB / 0.7519 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.892e-05/0.007813, allocations: 67.88 kB / 0.7519 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.38e-05/0.007906, allocations: 50.11 kB / 0.752 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.00792, allocations: 4 kB / 0.752 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002373/0.01029, allocations: 2.556 MB / 0.7545 GB, free: 9.391 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.01044, allocations: 239.4 kB / 0.7547 GB, free: 9.156 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.562e-05/0.01053, allocations: 115.4 kB / 0.7548 GB, free: 9.043 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001648/0.01218, allocations: 1.954 MB / 0.7567 GB, free: 7.086 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.397e-05/0.01219, allocations: 0 / 0.7567 GB, free: 7.086 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.91e-07/0.01219, allocations: 0 / 0.7567 GB, free: 7.086 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.899e-05/0.01221, allocations: 0 / 0.7567 GB, free: 7.086 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.001275/0.01349, allocations: 1.454 MB / 0.7581 GB, free: 5.602 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.01352, allocations: 8.031 kB / 0.7581 GB, free: 5.594 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002218/0.01374, allocations: 103.7 kB / 0.7582 GB, free: 5.477 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.01398, allocations: 298.5 kB / 0.7585 GB, free: 5.148 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.01399, allocations: 384 / 0.7585 GB, free: 5.148 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.01402, allocations: 12.38 kB / 0.7585 GB, free: 5.137 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.01421, allocations: 233.3 kB / 0.7588 GB, free: 4.895 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.01422, allocations: 1.438 kB / 0.7588 GB, free: 4.895 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.01423, allocations: 4.359 kB / 0.7588 GB, free: 4.891 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001145/0.01435, allocations: 176.8 kB / 0.7589 GB, free: 4.719 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.01446, allocations: 197.6 kB / 0.7591 GB, free: 4.527 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002087/0.01467, allocations: 288.6 kB / 0.7594 GB, free: 4.227 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.01488, allocations: 281 kB / 0.7597 GB, free: 3.934 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.28e-05/0.01497, allocations: 162.9 kB / 0.7598 GB, free: 3.77 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002758/0.01525, allocations: 124.3 kB / 0.7599 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001711/0.01542, allocations: 229.8 kB / 0.7602 GB, free: 3.41 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.01542, allocations: 1.312 kB / 0.7602 GB, free: 3.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0003827/0.0158, allocations: 0.4937 MB / 0.7606 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.01584, allocations: 82.05 kB / 0.7607 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005289/0.01637, allocations: 1.001 MB / 0.7617 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.0164, allocations: 41.7 kB / 0.7617 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.01655, allocations: 278.8 kB / 0.762 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/0.01657, allocations: 29.42 kB / 0.762 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/0.01679, allocations: 380.2 kB / 0.7624 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.503e-05/0.01686, allocations: 306 kB / 0.7627 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003552/0.01721, allocations: 498.9 kB / 0.7632 GB, free: 280 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003518/0.01757, allocations: 0.593 MB / 0.7637 GB, free: 15.68 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000811/0.01838, allocations: 1.352 MB / 0.7651 GB, free: 14.3 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.01838, allocations: 4 kB / 0.7651 GB, free: 14.29 MB / 0.7449 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002151/0.02053, allocations: 3.088 MB / 0.7681 GB, free: 11.18 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.02055, allocations: 4 kB / 0.7681 GB, free: 11.17 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.02056, allocations: 0 / 0.7681 GB, free: 11.17 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.02057, allocations: 7 kB / 0.7681 GB, free: 11.17 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003978/0.02097, allocations: 179.8 kB / 0.7683 GB, free: 10.99 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.02097, allocations: 12 kB / 0.7683 GB, free: 10.98 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/0.02122, allocations: 249.4 kB / 0.7685 GB, free: 10.73 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.02125, allocations: 19.98 kB / 0.7685 GB, free: 10.71 MB / 0.7449 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 (92): * Single equations (assignments): 89 * Array equations: 1 * 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.0001166/0.02137, allocations: 136.5 kB / 0.7687 GB, free: 10.57 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.02138, allocations: 9.484 kB / 0.7687 GB, free: 10.56 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000276/0.02166, allocations: 367.2 kB / 0.769 GB, free: 10.2 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.02166, allocations: 0 / 0.769 GB, free: 10.2 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.02166, allocations: 0 / 0.769 GB, free: 10.2 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.02167, allocations: 13.23 kB / 0.769 GB, free: 10.18 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.02185, allocations: 286.7 kB / 0.7693 GB, free: 9.887 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.02185, allocations: 0 / 0.7693 GB, free: 9.887 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.586e-05/0.02189, allocations: 9.156 kB / 0.7693 GB, free: 9.879 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 4.678e-05/0.02194, allocations: 83.28 kB / 0.7694 GB, free: 9.797 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.02194, allocations: 0 / 0.7694 GB, free: 9.797 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.02195, allocations: 9.422 kB / 0.7694 GB, free: 9.789 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.02195, allocations: 7.938 kB / 0.7694 GB, free: 9.781 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.02195, allocations: 0 / 0.7694 GB, free: 9.781 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.02217, allocations: 376.3 kB / 0.7698 GB, free: 9.395 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.0222, allocations: 0 / 0.7698 GB, free: 9.395 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.637e-05/0.02226, allocations: 4 kB / 0.7698 GB, free: 9.391 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.412e-05/0.02229, allocations: 11.98 kB / 0.7698 GB, free: 9.379 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.02231, allocations: 8.859 kB / 0.7698 GB, free: 9.371 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 0.0002289/0.02253, allocations: 395.7 kB / 0.7702 GB, free: 8.977 MB / 0.7449 GB Notification: Performance of sort global known variables: time 6e-08/0.02253, allocations: 0.7812 kB / 0.7702 GB, free: 8.977 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0007264/0.02326, allocations: 0.6157 MB / 0.7708 GB, free: 8.359 MB / 0.7449 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.001302/0.02456, allocations: 0.842 MB / 0.7716 GB, free: 7.566 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0006806/0.02524, allocations: 1.014 MB / 0.7726 GB, free: 6.535 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.02525, allocations: 12 kB / 0.7726 GB, free: 6.523 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.02535, allocations: 165.9 kB / 0.7728 GB, free: 6.359 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.02556, allocations: 150.6 kB / 0.7729 GB, free: 6.195 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.02682, allocations: 1.467 MB / 0.7743 GB, free: 4.695 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.02692, allocations: 188.1 kB / 0.7745 GB, free: 4.492 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 9.196e-05/0.02701, allocations: 53.2 kB / 0.7746 GB, free: 4.445 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.02714, allocations: 92.12 kB / 0.7747 GB, free: 4.355 MB / 0.7449 GB Notification: Performance of SimCode: time 4.1e-07/0.02714, allocations: 3.938 kB / 0.7747 GB, free: 4.352 MB / 0.7449 GB Notification: Performance of Templates: time 0.01696/0.0441, allocations: 16.47 MB / 0.7907 GB, free: 4.125 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.220813280902803]