Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0009713/0.0009713, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001122/0.001122, allocations: 165 kB / 23.02 MB, free: 1.551 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 0.9422/0.9422, allocations: 177.1 MB / 203.4 MB, free: 5.172 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7832/0.7832, allocations: 154.8 MB / 414.7 MB, free: 424 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.5206 GB, free: 1.82 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.388e-05/3.581e-05, allocations: 6.312 kB / 0.5207 GB, free: 1.812 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.00265/0.002686, allocations: 1.461 MB / 0.5221 GB, free: 372 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005469/0.008155, allocations: 4.025 MB / 0.526 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.143e-05/0.008206, allocations: 6.719 kB / 0.526 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.008323, allocations: 19.8 kB / 0.526 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002266/0.00855, allocations: 35.77 kB / 0.5261 GB, free: 12.27 MB / 0.4948 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.002686/0.01124, allocations: 1.606 MB / 0.5276 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.01135, allocations: 92.23 kB / 0.5277 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.742e-05/0.01139, allocations: 7.984 kB / 0.5277 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.005e-05/0.01147, allocations: 64.38 kB / 0.5278 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.01164, allocations: 145 kB / 0.5279 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.953e-05/0.01167, allocations: 12 kB / 0.5279 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002502/0.01418, allocations: 2.402 MB / 0.5303 GB, free: 7.953 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001683/0.01434, allocations: 281.1 kB / 0.5306 GB, free: 7.68 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.01447, allocations: 144 kB / 0.5307 GB, free: 7.539 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.002555/0.01702, allocations: 2.461 MB / 0.5331 GB, free: 5.07 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.01703, allocations: 0 / 0.5331 GB, free: 5.07 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.82e-07/0.01703, allocations: 0 / 0.5331 GB, free: 5.07 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.01703, allocations: 2.75 kB / 0.5331 GB, free: 5.07 MB / 0.4948 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.005461/0.0225, allocations: 1.396 MB / 0.5345 GB, free: 3.633 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.02254, allocations: 8.031 kB / 0.5345 GB, free: 3.625 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003259/0.02286, allocations: 88.25 kB / 0.5346 GB, free: 3.539 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003507/0.02321, allocations: 312 kB / 0.5349 GB, free: 3.199 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.02323, allocations: 12.3 kB / 0.5349 GB, free: 3.188 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.02325, allocations: 12.31 kB / 0.5349 GB, free: 3.176 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.02355, allocations: 370.1 kB / 0.5352 GB, free: 2.797 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.02356, allocations: 192 / 0.5352 GB, free: 2.797 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.02357, allocations: 384 / 0.5352 GB, free: 2.797 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.02358, allocations: 9.688 kB / 0.5352 GB, free: 2.789 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002252/0.02381, allocations: 383.8 kB / 0.5356 GB, free: 2.414 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004169/0.02422, allocations: 0.6352 MB / 0.5362 GB, free: 1.742 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.02453, allocations: 0.5222 MB / 0.5367 GB, free: 1.195 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.02471, allocations: 299.2 kB / 0.537 GB, free: 0.8945 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000352/0.02507, allocations: 145.3 kB / 0.5372 GB, free: 0.7578 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.0253, allocations: 378.6 kB / 0.5375 GB, free: 376 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.0253, allocations: 4 kB / 0.5375 GB, free: 372 kB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0008216/0.02613, allocations: 1.172 MB / 0.5387 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.02616, allocations: 85.05 kB / 0.5388 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007134/0.02687, allocations: 1.189 MB / 0.5399 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.0269, allocations: 33.7 kB / 0.5399 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.02706, allocations: 340.7 kB / 0.5403 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.02709, allocations: 27.78 kB / 0.5403 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002638/0.02735, allocations: 403.6 kB / 0.5407 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.02746, allocations: 488.4 kB / 0.5411 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004263/0.02789, allocations: 0.6742 MB / 0.5418 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005069/0.02839, allocations: 0.8545 MB / 0.5426 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001701/0.03009, allocations: 2.618 MB / 0.5452 GB, free: 8.34 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.0301, allocations: 4.688 kB / 0.5452 GB, free: 8.336 MB / 0.5105 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.00276/0.03286, allocations: 4.228 MB / 0.5493 GB, free: 4.074 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.03287, allocations: 4 kB / 0.5493 GB, free: 4.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.03288, allocations: 0 / 0.5493 GB, free: 4.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.0329, allocations: 4 kB / 0.5493 GB, free: 4.066 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.033, allocations: 34.08 kB / 0.5494 GB, free: 4.035 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.03301, allocations: 4 kB / 0.5494 GB, free: 4.031 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/0.03325, allocations: 245.3 kB / 0.5496 GB, free: 3.789 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.349e-05/0.03329, allocations: 27.98 kB / 0.5496 GB, free: 3.762 MB / 0.5105 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.0001188/0.03341, allocations: 167 kB / 0.5498 GB, free: 3.59 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.038e-05/0.03345, allocations: 75.34 kB / 0.5499 GB, free: 3.516 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000575/0.03402, allocations: 0.8418 MB / 0.5507 GB, free: 2.664 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.03402, allocations: 9.453 kB / 0.5507 GB, free: 2.656 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.03403, allocations: 7.922 kB / 0.5507 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.03403, allocations: 0 / 0.5507 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000322/0.03435, allocations: 0.4883 MB / 0.5512 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.03436, allocations: 4.609 kB / 0.5512 GB, free: 2.125 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.196e-05/0.0344, allocations: 4.688 kB / 0.5512 GB, free: 2.121 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.0344, allocations: 0 / 0.5512 GB, free: 2.121 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.03441, allocations: 4.938 kB / 0.5512 GB, free: 2.117 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.03441, allocations: 0 / 0.5512 GB, free: 2.117 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.03441, allocations: 3.984 kB / 0.5512 GB, free: 2.113 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005532/0.03497, allocations: 0.9391 MB / 0.5521 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.286e-05/0.03502, allocations: 79.33 kB / 0.5522 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/0.03505, allocations: 6.594 kB / 0.5522 GB, free: 1.066 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.421e-05/0.03512, allocations: 4 kB / 0.5522 GB, free: 1.062 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.03515, allocations: 11.92 kB / 0.5522 GB, free: 1.051 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.03517, allocations: 11.98 kB / 0.5522 GB, free: 1.039 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003804/0.03555, allocations: 0.5596 MB / 0.5528 GB, free: 484 kB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.03555, allocations: 0 / 0.5528 GB, free: 484 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009999/0.03655, allocations: 0.5826 MB / 0.5533 GB, free: 15.89 MB / 0.5261 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.001312/0.03786, allocations: 0.7974 MB / 0.5541 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009859/0.03885, allocations: 1.417 MB / 0.5555 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.03885, allocations: 0 / 0.5555 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.03904, allocations: 315.4 kB / 0.5558 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.03925, allocations: 41.03 kB / 0.5558 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.04048, allocations: 1.586 MB / 0.5574 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.959e-05/0.04058, allocations: 187.1 kB / 0.5576 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.198e-05/0.04065, allocations: 32.95 kB / 0.5576 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.859e-05/0.04072, allocations: 24.48 kB / 0.5576 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of SimCode: time 7.01e-07/0.04072, allocations: 0 / 0.5576 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of Templates: time 0.01777/0.05849, allocations: 14.34 MB / 0.5716 GB, free: 13.35 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.369149297941476]