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.0009215/0.0009215, allocations: 72.83 kB / 20.72 MB, free: 3.77 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.001028/0.001028, allocations: 169 kB / 24.14 MB, free: 356 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.9576/0.9576, allocations: 177.1 MB / 204.6 MB, free: 5.082 MB / 186.7 MB " [Timeout remaining time 179] 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.6016/0.6016, allocations: 115 MB / 376 MB, free: 7.398 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.806e-06/2.806e-06, allocations: 3.984 kB / 428.8 MB, free: 2.695 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.678e-05, allocations: 2.312 kB / 428.8 MB, free: 2.691 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.005609/0.005636, allocations: 1.454 MB / 430.3 MB, free: 1.227 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01295/0.01858, allocations: 4.041 MB / 434.3 MB, free: 13.17 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.234e-05/0.01867, allocations: 3.938 kB / 434.3 MB, free: 13.17 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001281/0.0188, allocations: 15.86 kB / 434.3 MB, free: 13.15 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002574/0.01906, allocations: 35.7 kB / 434.4 MB, free: 13.12 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.01117/0.03023, allocations: 1.624 MB / 436 MB, free: 11.48 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.0304, allocations: 95.67 kB / 436.1 MB, free: 11.39 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.066e-05/0.03044, allocations: 3.984 kB / 436.1 MB, free: 11.39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.616e-05/0.03054, allocations: 59.88 kB / 436.1 MB, free: 11.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.03066, allocations: 53.17 kB / 436.2 MB, free: 11.28 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.03068, allocations: 8 kB / 436.2 MB, free: 11.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006799/0.03748, allocations: 2.397 MB / 438.6 MB, free: 8.871 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002013/0.03768, allocations: 251.3 kB / 438.8 MB, free: 8.625 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.03781, allocations: 127.4 kB / 439 MB, free: 8.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007348/0.04516, allocations: 2.337 MB / 441.3 MB, free: 6.156 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.04517, allocations: 4 kB / 441.3 MB, free: 6.152 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.04517, allocations: 0 / 441.3 MB, free: 6.152 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.04518, allocations: 4 kB / 441.3 MB, free: 6.148 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.001419/0.0466, allocations: 1.2 MB / 442.5 MB, free: 4.918 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.04663, allocations: 8.031 kB / 442.5 MB, free: 4.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002252/0.04686, allocations: 32.89 kB / 442.6 MB, free: 4.879 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.04711, allocations: 286.5 kB / 442.8 MB, free: 4.562 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.04712, allocations: 8.359 kB / 442.8 MB, free: 4.555 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.04715, allocations: 16.31 kB / 442.9 MB, free: 4.539 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.04736, allocations: 232.1 kB / 443.1 MB, free: 4.297 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.04736, allocations: 0 / 443.1 MB, free: 4.297 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.04737, allocations: 0 / 443.1 MB, free: 4.297 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.04738, allocations: 0 / 443.1 MB, free: 4.297 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.0475, allocations: 195.9 kB / 443.3 MB, free: 4.105 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002171/0.04772, allocations: 260.4 kB / 443.5 MB, free: 3.832 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.04791, allocations: 277 kB / 443.8 MB, free: 3.543 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.613e-05/0.048, allocations: 153.7 kB / 444 MB, free: 3.387 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003062/0.04831, allocations: 136.1 kB / 444.1 MB, free: 3.254 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002049/0.04852, allocations: 228.9 kB / 444.3 MB, free: 3.012 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/0.04852, allocations: 0 / 444.3 MB, free: 3.012 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004013/0.04892, allocations: 497.2 kB / 444.8 MB, free: 2.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.04897, allocations: 85.11 kB / 444.9 MB, free: 2.418 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005453/0.04951, allocations: 0.9934 MB / 445.9 MB, free: 1.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.04954, allocations: 29.81 kB / 445.9 MB, free: 1.375 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.04965, allocations: 269.7 kB / 446.2 MB, free: 1.105 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.04968, allocations: 27.77 kB / 446.2 MB, free: 1.078 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.04989, allocations: 335.2 kB / 446.5 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.435e-05/0.04996, allocations: 314 kB / 446.8 MB, free: 444 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1885/0.2384, allocations: 0.5019 MB / 447.3 MB, free: 22.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005378/0.239, allocations: 0.6007 MB / 447.9 MB, free: 22.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001878/0.2409, allocations: 2.239 MB / 450.2 MB, free: 21.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.2409, allocations: 0 / 450.2 MB, free: 21.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003321/0.2442, allocations: 3.722 MB / 453.9 MB, free: 20.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.2442, allocations: 6.906 kB / 453.9 MB, free: 20.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/0.2442, allocations: 2.234 kB / 453.9 MB, free: 20.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.2442, allocations: 4.188 kB / 453.9 MB, free: 20.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.2444, allocations: 25.39 kB / 453.9 MB, free: 20.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.2444, allocations: 2.797 kB / 453.9 MB, free: 20.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.2446, allocations: 234.3 kB / 454.2 MB, free: 20.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.71e-05/0.2447, allocations: 21.17 kB / 454.2 MB, free: 20.7 MB / 410.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 (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.0001561/0.2448, allocations: 121.1 kB / 454.3 MB, free: 20.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/0.2449, allocations: 12.06 kB / 454.3 MB, free: 20.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004038/0.2453, allocations: 372.8 kB / 454.7 MB, free: 20.53 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2453, allocations: 1.531 kB / 454.7 MB, free: 20.53 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.2453, allocations: 4.5 kB / 454.7 MB, free: 20.53 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2453, allocations: 1.875 kB / 454.7 MB, free: 20.53 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.2455, allocations: 288.6 kB / 455 MB, free: 20.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.2455, allocations: 0 / 455 MB, free: 20.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.89e-05/0.2456, allocations: 11.34 kB / 455 MB, free: 20.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.2456, allocations: 2.516 kB / 455 MB, free: 20.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.2456, allocations: 4.734 kB / 455 MB, free: 20.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.2456, allocations: 2.141 kB / 455 MB, free: 20.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.614e-06/0.2456, allocations: 1.969 kB / 455 MB, free: 20.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.2459, allocations: 374.7 kB / 455.4 MB, free: 20.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.505e-05/0.2459, allocations: 83.81 kB / 455.4 MB, free: 20.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.671e-05/0.246, allocations: 4.547 kB / 455.4 MB, free: 20.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.215e-05/0.2461, allocations: 3.578 kB / 455.4 MB, free: 20.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.707e-05/0.2461, allocations: 10.02 kB / 455.4 MB, free: 20.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.02e-05/0.2462, allocations: 16.66 kB / 455.5 MB, free: 20.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003076/0.2465, allocations: 395.6 kB / 455.9 MB, free: 20.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2465, allocations: 0 / 455.9 MB, free: 20.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001134/0.2476, allocations: 0.5857 MB / 456.4 MB, free: 20.27 MB / 410.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.001472/0.2491, allocations: 0.8032 MB / 457.2 MB, free: 20.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007627/0.2498, allocations: 0.9673 MB / 458.2 MB, free: 20.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.489e-05/0.2498, allocations: 11.44 kB / 458.2 MB, free: 20.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.25, allocations: 165.4 kB / 458.4 MB, free: 19.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.2502, allocations: 40.08 kB / 458.4 MB, free: 19.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.2514, allocations: 1.435 MB / 459.9 MB, free: 18.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.2515, allocations: 190.2 kB / 460 MB, free: 18.53 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9e-05/0.2516, allocations: 32.44 kB / 460.1 MB, free: 18.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.2517, allocations: 78.55 kB / 460.1 MB, free: 18.45 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/0.2517, allocations: 0.625 kB / 460.2 MB, free: 18.45 MB / 410.7 MB Notification: Performance of Templates: time 0.01761/0.2693, allocations: 15.52 MB / 475.7 MB, free: 5.664 MB / 410.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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.0020627048797905]