Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001508/0.001508, allocations: 92.72 kB / 20.21 MB, free: 4.227 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.001618/0.001618, allocations: 161.7 kB / 23.52 MB, free: 0.9141 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.468/1.468, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9675/0.9675, allocations: 115 MB / 375.3 MB, free: 7.57 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.395e-06/2.395e-06, allocations: 0 / 480.9 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.979e-05/3.218e-05, allocations: 4.703 kB / 480.9 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.003391/0.003423, allocations: 1.414 MB / 482.3 MB, free: 10.91 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00871/0.01213, allocations: 3.85 MB / 486.1 MB, free: 8.547 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.01224, allocations: 5.969 kB / 486.1 MB, free: 8.543 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001456/0.01239, allocations: 9.609 kB / 486.2 MB, free: 8.539 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003491/0.01273, allocations: 38 kB / 486.2 MB, free: 8.516 MB / 410.7 MB [/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.007319/0.02005, allocations: 1.61 MB / 487.8 MB, free: 7.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002797/0.02033, allocations: 97.31 kB / 487.9 MB, free: 7.879 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.246e-05/0.0204, allocations: 2.375 kB / 487.9 MB, free: 7.879 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.02057, allocations: 57.61 kB / 488 MB, free: 7.863 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000341/0.02091, allocations: 143.6 kB / 488.1 MB, free: 7.832 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.234e-05/0.021, allocations: 14 kB / 488.1 MB, free: 7.832 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007106/0.0281, allocations: 2.411 MB / 490.5 MB, free: 7.191 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003881/0.02849, allocations: 279 kB / 490.8 MB, free: 7.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004832/0.02897, allocations: 146.3 kB / 490.9 MB, free: 7.039 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008057/0.03703, allocations: 2.452 MB / 493.4 MB, free: 6.316 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.03704, allocations: 1.188 kB / 493.4 MB, free: 6.316 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.03704, allocations: 0 / 493.4 MB, free: 6.316 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.677e-05/0.03708, allocations: 0 / 493.4 MB, free: 6.316 MB / 410.7 MB 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.01636/0.05344, allocations: 1.273 MB / 494.7 MB, free: 5.445 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/0.0535, allocations: 8.875 kB / 494.7 MB, free: 5.445 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000769/0.05427, allocations: 97.55 kB / 494.8 MB, free: 5.391 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007713/0.05504, allocations: 305.9 kB / 495.1 MB, free: 5.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.05506, allocations: 11.3 kB / 495.1 MB, free: 5.152 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.292e-05/0.05514, allocations: 6.859 kB / 495.1 MB, free: 5.152 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000775/0.05591, allocations: 392.5 kB / 495.5 MB, free: 5.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.05593, allocations: 1.828 kB / 495.5 MB, free: 5.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.05595, allocations: 0.6562 kB / 495.5 MB, free: 5.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.05595, allocations: 1.719 kB / 495.5 MB, free: 5.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008226/0.05678, allocations: 433.7 kB / 495.9 MB, free: 5.086 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.05799, allocations: 0.5822 MB / 496.5 MB, free: 4.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009248/0.05891, allocations: 0.5578 MB / 497 MB, free: 4.695 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005514/0.05946, allocations: 334.5 kB / 497.4 MB, free: 4.676 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/0.06053, allocations: 136.2 kB / 497.5 MB, free: 4.668 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006563/0.06119, allocations: 410.9 kB / 497.9 MB, free: 4.586 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.964e-06/0.06119, allocations: 0 / 497.9 MB, free: 4.586 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.001945/0.06313, allocations: 1.292 MB / 499.2 MB, free: 4.473 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.06317, allocations: 85.08 kB / 499.3 MB, free: 4.375 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001699/0.06487, allocations: 1.219 MB / 0.4888 GB, free: 3.512 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001227/0.06499, allocations: 35.02 kB / 0.4888 GB, free: 3.473 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002481/0.06524, allocations: 268.4 kB / 0.489 GB, free: 3.234 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.06528, allocations: 15.69 kB / 0.4891 GB, free: 3.223 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003827/0.06566, allocations: 343.8 kB / 0.4894 GB, free: 2.949 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.06584, allocations: 311.8 kB / 0.4897 GB, free: 18.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/0.06695, allocations: 1.374 MB / 0.491 GB, free: 17.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/0.06807, allocations: 1.502 MB / 0.4925 GB, free: 16.03 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008403/0.07647, allocations: 3.559 MB / 0.496 GB, free: 12.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.07648, allocations: 0 / 0.496 GB, free: 12.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005894/0.08237, allocations: 4.023 MB / 0.4999 GB, free: 8.816 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.194e-05/0.0824, allocations: 10.2 kB / 0.4999 GB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.929e-05/0.08243, allocations: 4 kB / 0.4999 GB, free: 8.805 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.08245, allocations: 0.5156 kB / 0.4999 GB, free: 8.805 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.08262, allocations: 14.86 kB / 0.4999 GB, free: 8.793 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.08263, allocations: 2.906 kB / 0.4999 GB, free: 8.793 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007122/0.08334, allocations: 243 kB / 0.5002 GB, free: 8.555 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.913e-05/0.08342, allocations: 27.97 kB / 0.5002 GB, free: 8.531 MB / 426.7 MB 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.0005566/0.08397, allocations: 240.7 kB / 0.5004 GB, free: 8.332 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.08411, allocations: 77.28 kB / 0.5005 GB, free: 8.258 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/0.08548, allocations: 0.9432 MB / 0.5014 GB, free: 7.379 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.08549, allocations: 3.984 kB / 0.5014 GB, free: 7.375 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.0855, allocations: 0 / 0.5014 GB, free: 7.375 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.391e-06/0.0855, allocations: 4.906 kB / 0.5014 GB, free: 7.371 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007069/0.08621, allocations: 447.3 kB / 0.5018 GB, free: 6.906 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.08622, allocations: 0.7188 kB / 0.5018 GB, free: 6.906 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.831e-05/0.0863, allocations: 7.984 kB / 0.5019 GB, free: 6.898 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/0.08631, allocations: 0.6875 kB / 0.5019 GB, free: 6.898 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.08633, allocations: 8.438 kB / 0.5019 GB, free: 6.891 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.08633, allocations: 0 / 0.5019 GB, free: 6.891 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.08633, allocations: 4.562 kB / 0.5019 GB, free: 6.887 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/0.08758, allocations: 1.007 MB / 0.5029 GB, free: 5.859 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.08774, allocations: 76.19 kB / 0.5029 GB, free: 5.785 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.417e-05/0.08784, allocations: 11.94 kB / 0.5029 GB, free: 5.773 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.088, allocations: 4.766 kB / 0.5029 GB, free: 5.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.558e-05/0.08805, allocations: 7.938 kB / 0.5029 GB, free: 5.762 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-05/0.0881, allocations: 17.09 kB / 0.503 GB, free: 5.746 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001073/0.08917, allocations: 0.6689 MB / 0.5036 GB, free: 5.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08917, allocations: 0 / 0.5036 GB, free: 5.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002465/0.09164, allocations: 0.5894 MB / 0.5042 GB, free: 4.48 MB / 426.7 MB 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.003466/0.0951, allocations: 0.7861 MB / 0.505 GB, free: 3.723 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003117/0.09822, allocations: 1.998 MB / 0.5069 GB, free: 1.707 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.09822, allocations: 0 / 0.5069 GB, free: 1.707 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004362/0.09866, allocations: 337 kB / 0.5072 GB, free: 1.379 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.09909, allocations: 40.2 kB / 0.5073 GB, free: 1.344 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003017/0.1021, allocations: 1.798 MB / 0.509 GB, free: 15.52 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004921/0.1026, allocations: 373.7 kB / 0.5094 GB, free: 15.13 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002213/0.1028, allocations: 41.64 kB / 0.5094 GB, free: 15.09 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.103, allocations: 24.48 kB / 0.5094 GB, free: 15.07 MB / 442.7 MB Notification: Performance of SimCode: time 1.493e-06/0.103, allocations: 0 / 0.5094 GB, free: 15.07 MB / 442.7 MB Notification: Performance of Templates: time 0.02954/0.1325, allocations: 14.06 MB / 0.5232 GB, free: 1.156 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.501897401059978]