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.001295/0.001295, 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.001452/0.001452, allocations: 169 kB / 23.02 MB, free: 1.555 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.9137/0.9137, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.7581/0.7581, allocations: 154.8 MB / 414.7 MB, free: 484 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_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.322e-06/1.322e-06, allocations: 0 / 0.5206 GB, free: 1.883 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.358e-05/1.49e-05, allocations: 5.609 kB / 0.5207 GB, free: 1.879 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001886/0.001901, allocations: 1.811 MB / 0.5224 GB, free: 84 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005406/0.007307, allocations: 5.216 MB / 0.5275 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.516e-05/0.007373, allocations: 7.938 kB / 0.5275 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007723/0.008145, allocations: 339.2 kB / 0.5278 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.766e-05/0.008213, allocations: 63.66 kB / 0.5279 GB, free: 10.46 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.002149/0.01036, allocations: 1.611 MB / 0.5295 GB, free: 8.859 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.01053, allocations: 166.1 kB / 0.5296 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.465e-05/0.01056, allocations: 13.78 kB / 0.5297 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.66e-05/0.01064, allocations: 79.73 kB / 0.5297 GB, free: 8.605 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.01079, allocations: 151.7 kB / 0.5299 GB, free: 8.457 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.991e-05/0.01082, allocations: 16 kB / 0.5299 GB, free: 8.441 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002259/0.01308, allocations: 2.402 MB / 0.5322 GB, free: 6.035 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.01323, allocations: 289 kB / 0.5325 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.01335, allocations: 164 kB / 0.5327 GB, free: 5.59 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001843/0.01519, allocations: 2.502 MB / 0.5351 GB, free: 3.086 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.0152, allocations: 4 kB / 0.5351 GB, free: 3.082 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.51e-07/0.0152, allocations: 0 / 0.5351 GB, free: 3.082 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.0152, allocations: 0 / 0.5351 GB, free: 3.082 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.005117/0.02032, allocations: 1.463 MB / 0.5365 GB, free: 1.578 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.02036, allocations: 8.031 kB / 0.5366 GB, free: 1.57 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004014/0.02077, allocations: 111 kB / 0.5367 GB, free: 1.465 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004999/0.02127, allocations: 346.5 kB / 0.537 GB, free: 1.09 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-06/0.02128, allocations: 4.375 kB / 0.537 GB, free: 1.086 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.0213, allocations: 8.375 kB / 0.537 GB, free: 1.078 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.02157, allocations: 378 kB / 0.5374 GB, free: 0.6914 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.02158, allocations: 3.719 kB / 0.5374 GB, free: 0.6914 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.02159, allocations: 384 / 0.5374 GB, free: 0.6914 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.0216, allocations: 7.938 kB / 0.5374 GB, free: 0.6836 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002172/0.02181, allocations: 379.8 kB / 0.5377 GB, free: 320 kB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004525/0.02226, allocations: 0.6719 MB / 0.5384 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003021/0.02257, allocations: 0.5213 MB / 0.5389 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.02273, allocations: 303.2 kB / 0.5392 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003217/0.02306, allocations: 146.3 kB / 0.5393 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002341/0.02329, allocations: 376.1 kB / 0.5397 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 8.02e-07/0.02329, allocations: 0 / 0.5397 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0007573/0.02405, allocations: 1.173 MB / 0.5408 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.02408, allocations: 85.05 kB / 0.5409 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007443/0.02482, allocations: 1.28 MB / 0.5422 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.02485, allocations: 30.45 kB / 0.5422 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.02502, allocations: 372.7 kB / 0.5425 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.02505, allocations: 29.31 kB / 0.5426 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002584/0.0253, allocations: 402.5 kB / 0.543 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.02541, allocations: 0.4926 MB / 0.5434 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004077/0.02582, allocations: 0.678 MB / 0.5441 GB, free: 9.645 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004909/0.02631, allocations: 0.8482 MB / 0.5449 GB, free: 8.785 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001704/0.02801, allocations: 2.623 MB / 0.5475 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.02801, allocations: 0 / 0.5475 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002794/0.03081, allocations: 4.247 MB / 0.5516 GB, free: 1.789 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.03082, allocations: 4 kB / 0.5516 GB, free: 1.785 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.03083, allocations: 4 kB / 0.5516 GB, free: 1.781 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.03084, allocations: 0.9375 kB / 0.5516 GB, free: 1.781 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.948e-05/0.03094, allocations: 27.92 kB / 0.5517 GB, free: 1.754 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.03095, allocations: 0.9062 kB / 0.5517 GB, free: 1.754 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003898/0.03134, allocations: 241.3 kB / 0.5519 GB, free: 1.516 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/0.03137, allocations: 29 kB / 0.5519 GB, free: 1.488 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.000114/0.03149, allocations: 168.9 kB / 0.5521 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.677e-05/0.03153, allocations: 83.25 kB / 0.5522 GB, free: 1.234 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005676/0.0321, allocations: 0.8552 MB / 0.553 GB, free: 384 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.0321, allocations: 4 kB / 0.553 GB, free: 380 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.03211, allocations: 3.938 kB / 0.553 GB, free: 376 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.03211, allocations: 1.125 kB / 0.553 GB, free: 376 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003223/0.03243, allocations: 0.5212 MB / 0.5535 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.03243, allocations: 0 / 0.5535 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.608e-05/0.03247, allocations: 8.859 kB / 0.5535 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.03247, allocations: 0 / 0.5535 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.03248, allocations: 8.812 kB / 0.5535 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.03248, allocations: 0 / 0.5535 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.03248, allocations: 0.5625 kB / 0.5535 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005312/0.03302, allocations: 0.9442 MB / 0.5545 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.682e-05/0.03307, allocations: 91.28 kB / 0.5546 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.559e-05/0.03311, allocations: 7.984 kB / 0.5546 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.383e-05/0.03317, allocations: 8.562 kB / 0.5546 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.802e-05/0.0332, allocations: 7.922 kB / 0.5546 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.03322, allocations: 12.55 kB / 0.5546 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003896/0.03361, allocations: 0.606 MB / 0.5552 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.03361, allocations: 0 / 0.5552 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007892/0.0344, allocations: 0.5911 MB / 0.5558 GB, free: 13.51 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.001175/0.03557, allocations: 0.7944 MB / 0.5565 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008852/0.03646, allocations: 1.418 MB / 0.5579 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.03646, allocations: 0 / 0.5579 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.03664, allocations: 311.4 kB / 0.5582 GB, free: 11 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.03689, allocations: 54.02 kB / 0.5583 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.0382, allocations: 1.688 MB / 0.5599 GB, free: 9.23 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.904e-05/0.0383, allocations: 195.6 kB / 0.5601 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.783e-05/0.03838, allocations: 36.95 kB / 0.5601 GB, free: 8.988 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.748e-05/0.03844, allocations: 27.42 kB / 0.5602 GB, free: 8.965 MB / 0.5261 GB Notification: Performance of SimCode: time 6.51e-07/0.03844, allocations: 0 / 0.5602 GB, free: 8.965 MB / 0.5261 GB Notification: Performance of Templates: time 0.01632/0.05477, allocations: 15.03 MB / 0.5748 GB, free: 10.19 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: 4.159966654609889]