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.001332/0.001332, allocations: 96.42 kB / 20.45 MB, free: 1.262 MB / 14.72 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.001519/0.001519, allocations: 214.1 kB / 23.75 MB, free: 4.445 MB / 14.72 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.519/1.519, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 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 1.041/1.041, allocations: 149.9 MB / 463.8 MB, free: 10.45 MB / 366.1 MB " [Timeout remaining time 178] 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002409/0.002409, allocations: 74.31 kB / 0.6424 GB, free: 9.664 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2124, allocations: 89.18 MB / 0.7295 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.00372/0.2161, allocations: 1.415 MB / 0.7308 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008212/0.2244, allocations: 3.841 MB / 0.7346 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.2245, allocations: 0 / 0.7346 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000172/0.2246, allocations: 11.86 kB / 0.7346 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000358/0.225, allocations: 39.77 kB / 0.7346 GB, free: 11.23 MB / 0.5606 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.00488/0.2299, allocations: 1.585 MB / 0.7362 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.2301, allocations: 91.73 kB / 0.7363 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.593e-05/0.2301, allocations: 4 kB / 0.7363 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.893e-05/0.2302, allocations: 55.77 kB / 0.7363 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002685/0.2305, allocations: 147.6 kB / 0.7365 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.073e-05/0.2305, allocations: 12 kB / 0.7365 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004237/0.2348, allocations: 2.398 MB / 0.7388 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002463/0.235, allocations: 267.8 kB / 0.7391 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002214/0.2353, allocations: 222.9 kB / 0.7393 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003192/0.2384, allocations: 2.146 MB / 0.7414 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2384, allocations: 0 / 0.7414 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2385, allocations: 0 / 0.7414 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.808e-06/0.2385, allocations: 0 / 0.7414 GB, free: 4.301 MB / 0.5606 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.009792/0.2483, allocations: 1.268 MB / 0.7426 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.2483, allocations: 8.031 kB / 0.7426 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004226/0.2487, allocations: 92.25 kB / 0.7427 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005219/0.2492, allocations: 307.2 kB / 0.743 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.2493, allocations: 4.375 kB / 0.743 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.503e-05/0.2493, allocations: 11.94 kB / 0.743 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005283/0.2498, allocations: 391.2 kB / 0.7434 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.2498, allocations: 0 / 0.7434 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.2499, allocations: 4 kB / 0.7434 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.2499, allocations: 0 / 0.7434 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005087/0.2504, allocations: 443.6 kB / 0.7438 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006887/0.2511, allocations: 0.5771 MB / 0.7444 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006522/0.2517, allocations: 0.5555 MB / 0.7449 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003688/0.2521, allocations: 333.7 kB / 0.7453 GB, free: 204 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007468/0.2528, allocations: 143.7 kB / 0.7454 GB, free: 60 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005245/0.2534, allocations: 404.9 kB / 0.7458 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.2534, allocations: 0 / 0.7458 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.001565/0.2549, allocations: 1.285 MB / 0.747 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.258e-05/0.255, allocations: 85.09 kB / 0.7471 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/0.2564, allocations: 1.219 MB / 0.7483 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.253e-05/0.2564, allocations: 33.69 kB / 0.7483 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/0.2567, allocations: 269.9 kB / 0.7486 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.106e-05/0.2567, allocations: 23.83 kB / 0.7486 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004117/0.2571, allocations: 351.6 kB / 0.749 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.2573, allocations: 306 kB / 0.7492 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/0.2588, allocations: 1.373 MB / 0.7506 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001582/0.2604, allocations: 1.505 MB / 0.7521 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007634/0.268, allocations: 3.56 MB / 0.7555 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.268, allocations: 0 / 0.7555 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005432/0.2735, allocations: 4.011 MB / 0.7595 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.2735, allocations: 8 kB / 0.7595 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.2735, allocations: 0 / 0.7595 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.391e-05/0.2735, allocations: 4 kB / 0.7595 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.2737, allocations: 20.02 kB / 0.7595 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.2737, allocations: 0 / 0.7595 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005698/0.2743, allocations: 241.3 kB / 0.7597 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.543e-05/0.2743, allocations: 23.98 kB / 0.7597 GB, free: 1.148 MB / 0.5762 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.0003836/0.2747, allocations: 245.6 kB / 0.76 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.727e-05/0.2748, allocations: 71.28 kB / 0.76 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4563/0.7311, allocations: 0.9389 MB / 0.761 GB, free: 35.21 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.7312, allocations: 2.562 kB / 0.761 GB, free: 35.21 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.7312, allocations: 0 / 0.761 GB, free: 35.21 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.7312, allocations: 1.875 kB / 0.761 GB, free: 35.21 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005909/0.7318, allocations: 440.6 kB / 0.7614 GB, free: 35.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.7318, allocations: 1.125 kB / 0.7614 GB, free: 35.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.7319, allocations: 12.67 kB / 0.7614 GB, free: 35.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.7319, allocations: 1.25 kB / 0.7614 GB, free: 35.09 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.7319, allocations: 5.812 kB / 0.7614 GB, free: 35.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.7319, allocations: 0 / 0.7614 GB, free: 35.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.7319, allocations: 4.516 kB / 0.7614 GB, free: 35.09 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.733, allocations: 1.011 MB / 0.7624 GB, free: 34.99 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.684e-05/0.7331, allocations: 84.7 kB / 0.7625 GB, free: 34.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.646e-05/0.7331, allocations: 2.203 kB / 0.7625 GB, free: 34.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.7333, allocations: 6.562 kB / 0.7625 GB, free: 34.93 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.7333, allocations: 8.844 kB / 0.7625 GB, free: 34.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.734e-05/0.7333, allocations: 11.27 kB / 0.7625 GB, free: 34.93 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006664/0.734, allocations: 0.6717 MB / 0.7632 GB, free: 34.82 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.734, allocations: 0 / 0.7632 GB, free: 34.82 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001767/0.7358, allocations: 0.583 MB / 0.7637 GB, free: 34.82 MB / 0.5762 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.001866/0.7376, allocations: 0.71 MB / 0.7644 GB, free: 34.69 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002192/0.7398, allocations: 1.997 MB / 0.7664 GB, free: 34.62 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.7398, allocations: 0 / 0.7664 GB, free: 34.62 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004644/0.7403, allocations: 336.9 kB / 0.7667 GB, free: 34.62 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003944/0.7407, allocations: 38.23 kB / 0.7667 GB, free: 34.62 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002751/0.7435, allocations: 1.818 MB / 0.7685 GB, free: 34.05 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005256/0.744, allocations: 369.4 kB / 0.7689 GB, free: 33.96 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.7441, allocations: 30.61 kB / 0.7689 GB, free: 33.95 MB / 0.5762 GB Notification: Performance of SimCode: time 7.62e-07/0.7441, allocations: 0 / 0.7689 GB, free: 33.95 MB / 0.5762 GB Notification: Performance of Templates: time 0.03458/0.7787, allocations: 14.33 MB / 0.7829 GB, free: 30.82 MB / 0.5762 GB " [Timeout remaining time 659] 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: 13.312421364244074] Failed to read output from testmodel.py, exit status != 0: 0.7888220539316535 0.80307092 0.561685124 Calling exit ...