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.001951/0.001951, allocations: 80.45 kB / 19.95 MB, free: 4.602 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.00206/0.00206, allocations: 173.2 kB / 23.24 MB, free: 1.32 MB / 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 1.61/1.61, allocations: 177.1 MB / 203.5 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 178] 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 3.237/3.237, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 176] 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.703e-06/1.703e-06, allocations: 0 / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.037e-05/3.207e-05, allocations: 5.375 kB / 1.001 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.003139/0.003171, allocations: 1.433 MB / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.007334/0.0105, allocations: 3.848 MB / 1.006 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.035e-05/0.01056, allocations: 0 / 1.006 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.01069, allocations: 15.86 kB / 1.006 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002369/0.01093, allocations: 27.83 kB / 1.006 GB, free: 7.57 MB / 0.9636 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.004374/0.0153, allocations: 1.619 MB / 1.008 GB, free: 5.949 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.01546, allocations: 99.61 kB / 1.008 GB, free: 5.852 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.925e-05/0.0155, allocations: 4 kB / 1.008 GB, free: 5.848 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.01563, allocations: 59.8 kB / 1.008 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002576/0.01589, allocations: 139.7 kB / 1.008 GB, free: 5.652 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.944e-05/0.01594, allocations: 20 kB / 1.008 GB, free: 5.633 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004581/0.02052, allocations: 2.405 MB / 1.011 GB, free: 3.223 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002939/0.02081, allocations: 275.9 kB / 1.011 GB, free: 2.949 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0002228/0.02103, allocations: 152 kB / 1.011 GB, free: 2.801 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.00402/0.02505, allocations: 2.459 MB / 1.013 GB, free: 344 kB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.02506, allocations: 4 kB / 1.013 GB, free: 340 kB / 0.9636 GB Notification: Performance of FrontEnd: time 1.102e-06/0.02506, allocations: 0 / 1.013 GB, free: 340 kB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.02507, allocations: 0 / 1.013 GB, free: 340 kB / 0.9636 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.01055/0.03561, allocations: 1.272 MB / 1.015 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.03565, allocations: 9.344 kB / 1.015 GB, free: 15.01 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004/0.03605, allocations: 100.2 kB / 1.015 GB, free: 14.91 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00046/0.03651, allocations: 294.5 kB / 1.015 GB, free: 14.59 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.03653, allocations: 12.38 kB / 1.015 GB, free: 14.58 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.231e-05/0.03657, allocations: 8.359 kB / 1.015 GB, free: 14.57 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005331/0.0371, allocations: 395.7 kB / 1.015 GB, free: 14.17 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.03711, allocations: 8.125 kB / 1.015 GB, free: 14.16 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.03713, allocations: 384 / 1.015 GB, free: 14.16 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.03713, allocations: 7.875 kB / 1.015 GB, free: 14.16 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007743/0.03791, allocations: 435.7 kB / 1.016 GB, free: 13.73 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006752/0.03858, allocations: 0.5654 MB / 1.016 GB, free: 13.13 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006517/0.03923, allocations: 0.5594 MB / 1.017 GB, free: 12.55 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004011/0.03963, allocations: 333.7 kB / 1.017 GB, free: 12.22 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006379/0.04027, allocations: 135.9 kB / 1.017 GB, free: 12.09 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005191/0.04079, allocations: 412.8 kB / 1.018 GB, free: 11.67 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.04079, allocations: 4 kB / 1.018 GB, free: 11.66 MB / 0.9792 GB Notification: Performance of matching and sorting (n=8): time 0.001655/0.04245, allocations: 1.285 MB / 1.019 GB, free: 10.37 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.942e-05/0.04253, allocations: 96.97 kB / 1.019 GB, free: 10.26 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/0.04396, allocations: 1.211 MB / 1.02 GB, free: 9.031 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/0.04401, allocations: 33.69 kB / 1.02 GB, free: 8.992 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/0.04425, allocations: 265.9 kB / 1.021 GB, free: 8.727 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 4.796e-05/0.0443, allocations: 23.95 kB / 1.021 GB, free: 8.703 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003938/0.04469, allocations: 347.6 kB / 1.021 GB, free: 8.359 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.04486, allocations: 310 kB / 1.021 GB, free: 8.051 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001583/0.04644, allocations: 1.369 MB / 1.023 GB, free: 6.68 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001955/0.04839, allocations: 1.505 MB / 1.024 GB, free: 5.164 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008316/0.05671, allocations: 3.553 MB / 1.028 GB, free: 1.523 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.05672, allocations: 7.938 kB / 1.028 GB, free: 1.516 MB / 0.9792 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005521/0.06224, allocations: 4.007 MB / 1.032 GB, free: 13.47 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.06226, allocations: 7.938 kB / 1.032 GB, free: 13.46 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.06227, allocations: 4 kB / 1.032 GB, free: 13.46 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.06229, allocations: 0 / 1.032 GB, free: 13.46 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.06243, allocations: 27.86 kB / 1.032 GB, free: 13.43 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.06244, allocations: 4 kB / 1.032 GB, free: 13.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005424/0.06299, allocations: 241.3 kB / 1.032 GB, free: 13.19 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.109e-05/0.06305, allocations: 27.97 kB / 1.032 GB, free: 13.16 MB / 0.9948 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 (cluSiz[1],labels[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.0003605/0.06341, allocations: 240.3 kB / 1.032 GB, free: 12.92 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.81e-05/0.06349, allocations: 67.34 kB / 1.032 GB, free: 12.86 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.06472, allocations: 0.94 MB / 1.033 GB, free: 11.9 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.06473, allocations: 0 / 1.033 GB, free: 11.9 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.06473, allocations: 3.938 kB / 1.033 GB, free: 11.9 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.06474, allocations: 4.031 kB / 1.033 GB, free: 11.89 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005114/0.06525, allocations: 447.4 kB / 1.033 GB, free: 11.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.06525, allocations: 0 / 1.033 GB, free: 11.43 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.647e-05/0.06533, allocations: 7.984 kB / 1.033 GB, free: 11.42 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.06533, allocations: 0 / 1.033 GB, free: 11.42 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.06535, allocations: 4 kB / 1.033 GB, free: 11.42 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.06535, allocations: 0 / 1.033 GB, free: 11.42 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.06535, allocations: 3.938 kB / 1.033 GB, free: 11.41 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.06653, allocations: 1.006 MB / 1.034 GB, free: 10.39 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.06664, allocations: 91.28 kB / 1.035 GB, free: 10.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.408e-05/0.06669, allocations: 0 / 1.035 GB, free: 10.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.06682, allocations: 4 kB / 1.035 GB, free: 10.29 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.06687, allocations: 11.92 kB / 1.035 GB, free: 10.28 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-05/0.06691, allocations: 11.97 kB / 1.035 GB, free: 10.27 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0008922/0.0678, allocations: 0.6689 MB / 1.035 GB, free: 9.594 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1e-07/0.0678, allocations: 4 kB / 1.035 GB, free: 9.59 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001643/0.06944, allocations: 0.5845 MB / 1.036 GB, free: 9.004 MB / 0.9948 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.002315/0.07176, allocations: 0.8081 MB / 1.037 GB, free: 8.215 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002687/0.07445, allocations: 1.997 MB / 1.039 GB, free: 6.203 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.07445, allocations: 0 / 1.039 GB, free: 6.203 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004105/0.07486, allocations: 331.8 kB / 1.039 GB, free: 5.879 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.07521, allocations: 40.66 kB / 1.039 GB, free: 5.836 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/0.07765, allocations: 1.768 MB / 1.041 GB, free: 4.031 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004454/0.0781, allocations: 372.1 kB / 1.041 GB, free: 3.641 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001366/0.07824, allocations: 32.47 kB / 1.041 GB, free: 3.609 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.07834, allocations: 32.47 kB / 1.041 GB, free: 3.578 MB / 0.9948 GB Notification: Performance of SimCode: time 8.31e-07/0.07834, allocations: 4 kB / 1.041 GB, free: 3.574 MB / 0.9948 GB Notification: Performance of Templates: time 0.02799/0.1063, allocations: 14.05 MB / 1.055 GB, free: 5.648 MB / 1.01 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: 10.766142469830811]