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_SmallScaleValidation.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.002428/0.002428, allocations: 81.5 kB / 19.44 MB, free: 344 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.002944/0.002944, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.567/1.567, allocations: 177.1 MB / 203.1 MB, free: 5.375 MB / 186.7 MB " [Timeout remaining time 178] 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 1.355/1.355, allocations: 154.8 MB / 414.4 MB, free: 408 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 178] 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_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.52 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.751e-05/2.916e-05, allocations: 4.844 kB / 0.52 GB, free: 2.184 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003499/0.003528, allocations: 1.782 MB / 0.5217 GB, free: 420 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.009218/0.01275, allocations: 5.194 MB / 0.5268 GB, free: 11.21 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.01287, allocations: 8.969 kB / 0.5268 GB, free: 11.2 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.01425, allocations: 336.2 kB / 0.5271 GB, free: 10.88 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.0144, allocations: 65.17 kB / 0.5272 GB, free: 10.81 MB / 0.4949 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.004504/0.01891, allocations: 1.603 MB / 0.5287 GB, free: 9.219 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.0003336/0.01924, allocations: 169.9 kB / 0.5289 GB, free: 9.055 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 5.159e-05/0.01929, allocations: 13.73 kB / 0.5289 GB, free: 9.039 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.01943, allocations: 79.78 kB / 0.529 GB, free: 8.961 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002559/0.01968, allocations: 152.4 kB / 0.5291 GB, free: 8.812 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 5.323e-05/0.01974, allocations: 16 kB / 0.5291 GB, free: 8.797 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004415/0.02415, allocations: 2.407 MB / 0.5315 GB, free: 6.387 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.0003017/0.02446, allocations: 287.9 kB / 0.5318 GB, free: 6.105 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.0002514/0.02471, allocations: 167.9 kB / 0.5319 GB, free: 5.938 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.004152/0.02886, allocations: 2.519 MB / 0.5344 GB, free: 3.414 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.02886, allocations: 3.438 kB / 0.5344 GB, free: 3.414 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.543e-06/0.02886, allocations: 0 / 0.5344 GB, free: 3.414 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.02887, allocations: 0 / 0.5344 GB, free: 3.414 MB / 0.4949 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.01203/0.0409, allocations: 1.478 MB / 0.5358 GB, free: 1.895 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.04095, allocations: 8.031 kB / 0.5358 GB, free: 1.887 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000427/0.04137, allocations: 100.2 kB / 0.5359 GB, free: 1.789 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006153/0.04199, allocations: 349.6 kB / 0.5363 GB, free: 1.414 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.04201, allocations: 8.359 kB / 0.5363 GB, free: 1.406 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.913e-05/0.04204, allocations: 8.375 kB / 0.5363 GB, free: 1.398 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004763/0.04252, allocations: 365.3 kB / 0.5366 GB, free: 1.027 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.04253, allocations: 192 / 0.5366 GB, free: 1.027 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.04254, allocations: 384 / 0.5366 GB, free: 1.027 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.04255, allocations: 7.875 kB / 0.5366 GB, free: 1.02 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004739/0.04302, allocations: 392.9 kB / 0.537 GB, free: 0.6367 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008581/0.04388, allocations: 0.6767 MB / 0.5377 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006707/0.04455, allocations: 0.5251 MB / 0.5382 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003574/0.04491, allocations: 308 kB / 0.5385 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006293/0.04554, allocations: 139.1 kB / 0.5386 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004699/0.04601, allocations: 380.2 kB / 0.539 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.04601, allocations: 0 / 0.539 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.001547/0.04756, allocations: 1.193 MB / 0.5401 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.574e-05/0.04763, allocations: 85.05 kB / 0.5402 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/0.04916, allocations: 1.292 MB / 0.5415 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.782e-05/0.0492, allocations: 33.7 kB / 0.5415 GB, free: 11.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003514/0.04956, allocations: 368.7 kB / 0.5419 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.618e-05/0.0496, allocations: 24.36 kB / 0.5419 GB, free: 11.51 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004912/0.05009, allocations: 406.5 kB / 0.5423 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004242/0.05052, allocations: 0.4933 MB / 0.5428 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000809/0.05133, allocations: 0.652 MB / 0.5434 GB, free: 9.957 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009966/0.05232, allocations: 0.832 MB / 0.5442 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007799/0.06012, allocations: 3.905 MB / 0.548 GB, free: 5.113 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.06013, allocations: 0 / 0.548 GB, free: 5.113 MB / 0.5105 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005665/0.06579, allocations: 4.201 MB / 0.5521 GB, free: 0.8789 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.06581, allocations: 11.94 kB / 0.5521 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/0.06583, allocations: 0 / 0.5521 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.06585, allocations: 4.938 kB / 0.5521 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.06601, allocations: 23.92 kB / 0.5522 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.06602, allocations: 1.125 kB / 0.5522 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006133/0.06663, allocations: 241.3 kB / 0.5524 GB, free: 0.6016 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-05/0.0667, allocations: 27.98 kB / 0.5524 GB, free: 0.5742 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.0002645/0.06696, allocations: 175 kB / 0.5526 GB, free: 404 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.06707, allocations: 83.25 kB / 0.5527 GB, free: 320 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.06826, allocations: 0.864 MB / 0.5535 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.06826, allocations: 0 / 0.5535 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.06827, allocations: 7.938 kB / 0.5535 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.06828, allocations: 0 / 0.5535 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00065/0.06893, allocations: 0.5289 MB / 0.554 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.06893, allocations: 5.344 kB / 0.554 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.669e-05/0.069, allocations: 11.98 kB / 0.5541 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.069, allocations: 0 / 0.5541 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.06901, allocations: 0.5312 kB / 0.5541 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.06901, allocations: 5.219 kB / 0.5541 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.06901, allocations: 0 / 0.5541 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.07012, allocations: 0.9516 MB / 0.555 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.07024, allocations: 91.23 kB / 0.5551 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.379e-05/0.0703, allocations: 0 / 0.5551 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.07044, allocations: 4.5 kB / 0.5551 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.583e-05/0.07051, allocations: 20.36 kB / 0.5551 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-05/0.07054, allocations: 14.33 kB / 0.5551 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007868/0.07133, allocations: 0.6129 MB / 0.5557 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.07133, allocations: 0 / 0.5557 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001679/0.07301, allocations: 0.5923 MB / 0.5563 GB, free: 12.55 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.002355/0.07537, allocations: 0.7791 MB / 0.557 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00192/0.07729, allocations: 1.391 MB / 0.5584 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.07729, allocations: 0.75 kB / 0.5584 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000396/0.07768, allocations: 316.2 kB / 0.5587 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.0781, allocations: 69.52 kB / 0.5588 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002319/0.08042, allocations: 1.691 MB / 0.5604 GB, free: 8.285 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004166/0.08083, allocations: 372.5 kB / 0.5608 GB, free: 7.902 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001449/0.08098, allocations: 41.36 kB / 0.5608 GB, free: 7.867 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.08109, allocations: 28.48 kB / 0.5609 GB, free: 7.84 MB / 0.5261 GB Notification: Performance of SimCode: time 8.82e-07/0.08109, allocations: 0 / 0.5609 GB, free: 7.84 MB / 0.5261 GB Notification: Performance of Templates: time 0.02825/0.1093, allocations: 14.78 MB / 0.5753 GB, free: 9.301 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.036764211021364]