Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.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.001322/0.001322, allocations: 78.25 kB / 19.75 MB, free: 2.059 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.001495/0.001495, allocations: 158.6 kB / 23 MB, free: 4.949 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.377/1.377, allocations: 177.2 MB / 203.4 MB, free: 9.273 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7841/0.7841, allocations: 101.3 MB / 361.1 MB, free: 10.08 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") [Timeout 660] "Notification: IDEAS 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.002153/0.002153, allocations: 63.44 kB / 0.5357 GB, free: 5.531 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1497, allocations: 85.87 MB / 0.6196 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.00247/0.1521, allocations: 1.403 MB / 0.6209 GB, free: 452 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004576/0.1567, allocations: 2.767 MB / 0.6236 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.172e-05/0.1568, allocations: 3.938 kB / 0.6236 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.1569, allocations: 11.92 kB / 0.6236 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002043/0.1571, allocations: 31.78 kB / 0.6237 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002488/0.1596, allocations: 1.033 MB / 0.6247 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.1597, allocations: 79.75 kB / 0.6248 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.774e-05/0.1597, allocations: 4 kB / 0.6248 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.316e-05/0.1598, allocations: 59.81 kB / 0.6248 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.16, allocations: 161.6 kB / 0.625 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.1601, allocations: 12 kB / 0.625 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002243/0.1623, allocations: 1.419 MB / 0.6264 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0007523/0.1631, allocations: 0.6952 MB / 0.627 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000353/0.1634, allocations: 349.9 kB / 0.6274 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002096/0.1655, allocations: 1.821 MB / 0.6292 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1655, allocations: 4 kB / 0.6292 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1655, allocations: 4 kB / 0.6292 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.1655, allocations: 0 / 0.6292 GB, free: 7.969 MB / 0.5294 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.01072/0.1763, allocations: 1.686 MB / 0.6308 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.1763, allocations: 11.97 kB / 0.6308 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004346/0.1767, allocations: 151.8 kB / 0.631 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006371/0.1774, allocations: 484.6 kB / 0.6314 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.1774, allocations: 8.359 kB / 0.6314 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.609e-05/0.1774, allocations: 11.94 kB / 0.6315 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005068/0.1779, allocations: 387.2 kB / 0.6318 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.178, allocations: 3.984 kB / 0.6318 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.178, allocations: 0 / 0.6318 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.178, allocations: 0 / 0.6318 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004991/0.1785, allocations: 443.7 kB / 0.6322 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008198/0.1793, allocations: 0.7365 MB / 0.633 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000614/0.1799, allocations: 0.5555 MB / 0.6335 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000347/0.1802, allocations: 333.7 kB / 0.6338 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000686/0.1809, allocations: 143.7 kB / 0.634 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004531/0.1814, allocations: 404.9 kB / 0.6344 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.1814, allocations: 0 / 0.6344 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001544/0.1829, allocations: 1.344 MB / 0.6357 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.183, allocations: 85.22 kB / 0.6357 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002045/0.185, allocations: 1.855 MB / 0.6376 GB, free: 15.11 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/0.1851, allocations: 29.7 kB / 0.6376 GB, free: 15.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004184/0.1855, allocations: 477.8 kB / 0.638 GB, free: 14.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.542e-05/0.1856, allocations: 27.78 kB / 0.6381 GB, free: 14.57 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003615/0.1859, allocations: 347.5 kB / 0.6384 GB, free: 14.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.186, allocations: 301.1 kB / 0.6387 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/0.1875, allocations: 1.514 MB / 0.6402 GB, free: 12.42 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001558/0.189, allocations: 1.649 MB / 0.6418 GB, free: 10.76 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007548/0.1966, allocations: 3.69 MB / 0.6454 GB, free: 6.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.1966, allocations: 0 / 0.6454 GB, free: 6.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005038/0.2016, allocations: 4.336 MB / 0.6496 GB, free: 2.609 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.2017, allocations: 4 kB / 0.6496 GB, free: 2.605 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.2017, allocations: 4 kB / 0.6496 GB, free: 2.602 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.2017, allocations: 4.031 kB / 0.6496 GB, free: 2.598 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.2018, allocations: 19.98 kB / 0.6496 GB, free: 2.578 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.2018, allocations: 0 / 0.6496 GB, free: 2.578 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005798/0.2024, allocations: 233.4 kB / 0.6499 GB, free: 2.348 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.131e-05/0.2025, allocations: 19.98 kB / 0.6499 GB, free: 2.328 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 (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 (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.0004738/0.2029, allocations: 366.6 kB / 0.6502 GB, free: 1.961 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.2031, allocations: 134.9 kB / 0.6504 GB, free: 1.828 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.2042, allocations: 1.016 MB / 0.6514 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.2042, allocations: 4 kB / 0.6514 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.2042, allocations: 0 / 0.6514 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.2042, allocations: 0 / 0.6514 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006334/0.2049, allocations: 0.6274 MB / 0.652 GB, free: 136 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2049, allocations: 0 / 0.652 GB, free: 136 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.383e-05/0.205, allocations: 7.938 kB / 0.652 GB, free: 128 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.205, allocations: 7.984 kB / 0.652 GB, free: 120 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.205, allocations: 0 / 0.652 GB, free: 120 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.205, allocations: 0 / 0.652 GB, free: 120 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.205, allocations: 7.969 kB / 0.652 GB, free: 112 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.2061, allocations: 1.064 MB / 0.653 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.2063, allocations: 130.9 kB / 0.6532 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.071e-05/0.2063, allocations: 0 / 0.6532 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.2065, allocations: 4 kB / 0.6532 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.2066, allocations: 11.98 kB / 0.6532 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.461e-05/0.2066, allocations: 19.97 kB / 0.6532 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001336/0.208, allocations: 1.104 MB / 0.6543 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.208, allocations: 0 / 0.6543 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001091/0.209, allocations: 435 kB / 0.6547 GB, free: 13.3 MB / 0.5606 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.001217/0.2103, allocations: 497.9 kB / 0.6552 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002246/0.2125, allocations: 2.093 MB / 0.6572 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2125, allocations: 0 / 0.6572 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003743/0.2129, allocations: 335.8 kB / 0.6575 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.2133, allocations: 50.62 kB / 0.6576 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003165/0.2165, allocations: 2.612 MB / 0.6601 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005942/0.2171, allocations: 0.5571 MB / 0.6607 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001411/0.2172, allocations: 36.45 kB / 0.6607 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.2173, allocations: 24.48 kB / 0.6607 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of SimCode: time 7.01e-07/0.2173, allocations: 0 / 0.6607 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of Templates: time 0.0193/0.2366, allocations: 10.06 MB / 0.6705 GB, free: 13.08 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=esdirk4 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 34.76345513900742] Failed to read output from testmodel.py, exit status != 0: 0.2444599410519004 0.25958984300000004 0.09094031400000001 Calling exit ...