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.001371/0.001371, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.00162/0.00162, allocations: 157.9 kB / 23.01 MB, free: 4.598 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.44/1.44, allocations: 177.2 MB / 203.4 MB, free: 9.016 MB / 190.1 MB " [Timeout remaining time 178] 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.9409/0.9409, allocations: 101.3 MB / 361.1 MB, free: 9.551 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.003358/0.003358, allocations: 65.73 kB / 0.5357 GB, free: 5.215 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.1899/0.1932, allocations: 85.88 MB / 0.6196 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.003012/0.1962, allocations: 1.409 MB / 0.6209 GB, free: 152 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005232/0.2015, allocations: 2.759 MB / 0.6236 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.329e-05/0.2015, allocations: 3.938 kB / 0.6236 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.2016, allocations: 7.922 kB / 0.6236 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002657/0.2019, allocations: 39.83 kB / 0.6237 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002923/0.2048, allocations: 1.037 MB / 0.6247 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.205, allocations: 75.81 kB / 0.6248 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.87e-05/0.205, allocations: 7.984 kB / 0.6248 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.198e-05/0.2051, allocations: 43.8 kB / 0.6248 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002612/0.2054, allocations: 161.6 kB / 0.625 GB, free: 12 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.701e-05/0.2054, allocations: 12 kB / 0.625 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002646/0.2081, allocations: 1.419 MB / 0.6264 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008291/0.2089, allocations: 0.6914 MB / 0.627 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004345/0.2093, allocations: 361.8 kB / 0.6274 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002733/0.2121, allocations: 1.809 MB / 0.6291 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2121, allocations: 4 kB / 0.6292 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2121, allocations: 0 / 0.6292 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.896e-05/0.2121, allocations: 3.938 kB / 0.6292 GB, free: 7.695 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.01129/0.2234, allocations: 1.698 MB / 0.6308 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.2234, allocations: 8.031 kB / 0.6308 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004456/0.2239, allocations: 151.8 kB / 0.631 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006487/0.2245, allocations: 480.6 kB / 0.6314 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.2245, allocations: 8.375 kB / 0.6314 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.47e-05/0.2246, allocations: 19.86 kB / 0.6315 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004759/0.2251, allocations: 383.2 kB / 0.6318 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.2251, allocations: 0 / 0.6318 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.2251, allocations: 0 / 0.6318 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.2251, allocations: 8 kB / 0.6318 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004876/0.2256, allocations: 431.7 kB / 0.6322 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008427/0.2264, allocations: 0.7403 MB / 0.633 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005891/0.227, allocations: 0.5516 MB / 0.6335 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003679/0.2274, allocations: 337.7 kB / 0.6338 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006822/0.2281, allocations: 135.8 kB / 0.634 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004577/0.2285, allocations: 408.8 kB / 0.6343 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.2285, allocations: 0 / 0.6343 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001538/0.2301, allocations: 1.348 MB / 0.6357 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/0.2301, allocations: 85.23 kB / 0.6357 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002148/0.2323, allocations: 1.851 MB / 0.6375 GB, free: 14.84 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.209e-05/0.2323, allocations: 29.7 kB / 0.6376 GB, free: 14.8 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004244/0.2327, allocations: 477.8 kB / 0.638 GB, free: 14.33 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/0.2328, allocations: 31.77 kB / 0.6381 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003671/0.2331, allocations: 347.5 kB / 0.6384 GB, free: 13.95 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.2333, allocations: 301.1 kB / 0.6387 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001513/0.2348, allocations: 1.514 MB / 0.6402 GB, free: 12.14 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001622/0.2364, allocations: 1.649 MB / 0.6418 GB, free: 10.48 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007836/0.2443, allocations: 3.694 MB / 0.6454 GB, free: 6.695 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.2443, allocations: 0 / 0.6454 GB, free: 6.695 MB / 0.545 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005194/0.2495, allocations: 4.328 MB / 0.6496 GB, free: 2.332 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.2495, allocations: 4 kB / 0.6496 GB, free: 2.328 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.2495, allocations: 4 kB / 0.6496 GB, free: 2.324 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.2495, allocations: 4.031 kB / 0.6496 GB, free: 2.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.2496, allocations: 15.98 kB / 0.6496 GB, free: 2.305 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.2496, allocations: 0 / 0.6496 GB, free: 2.305 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006064/0.2503, allocations: 237.4 kB / 0.6499 GB, free: 2.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.967e-05/0.2503, allocations: 19.98 kB / 0.6499 GB, free: 2.051 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.0004991/0.2508, allocations: 370.5 kB / 0.6502 GB, free: 1.68 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.2509, allocations: 138.8 kB / 0.6504 GB, free: 1.543 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.2521, allocations: 1.012 MB / 0.6513 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.2521, allocations: 4 kB / 0.6514 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.2522, allocations: 3.938 kB / 0.6514 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.2522, allocations: 0 / 0.6514 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006904/0.2528, allocations: 0.6197 MB / 0.652 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.2528, allocations: 0 / 0.652 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.948e-05/0.2529, allocations: 11.92 kB / 0.652 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.2529, allocations: 4 kB / 0.652 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.2529, allocations: 0 / 0.652 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.2529, allocations: 4.031 kB / 0.652 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.253, allocations: 8 kB / 0.652 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.2541, allocations: 1.06 MB / 0.653 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/0.2542, allocations: 130.9 kB / 0.6531 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.159e-05/0.2543, allocations: 0 / 0.6531 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.2546, allocations: 7.984 kB / 0.6532 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.2546, allocations: 8 kB / 0.6532 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.2546, allocations: 15.97 kB / 0.6532 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00141/0.256, allocations: 1.104 MB / 0.6543 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.256, allocations: 0 / 0.6543 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001098/0.2571, allocations: 443 kB / 0.6547 GB, free: 13.02 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.001296/0.2584, allocations: 486 kB / 0.6551 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002299/0.2607, allocations: 2.097 MB / 0.6572 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.2607, allocations: 0 / 0.6572 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003769/0.2611, allocations: 335.8 kB / 0.6575 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.2615, allocations: 50.62 kB / 0.6576 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003375/0.2649, allocations: 2.608 MB / 0.6601 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006263/0.2655, allocations: 0.561 MB / 0.6607 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001289/0.2656, allocations: 32.47 kB / 0.6607 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.2658, allocations: 28.47 kB / 0.6607 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of SimCode: time 5.61e-07/0.2658, allocations: 0 / 0.6607 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of Templates: time 0.02063/0.2864, allocations: 10.06 MB / 0.6705 GB, free: 12.8 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 ida -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: 37.17779629700817] Failed to read output from testmodel.py, exit status != 0: 0.2965861550765112 0.30967271 0.094422776 Calling exit ...