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.001349/0.001349, allocations: 88.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001695/0.001695, allocations: 173 kB / 23.49 MB, free: 1.059 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.9603/0.9603, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.7901/0.7901, allocations: 154.8 MB / 415.1 MB, free: 0.5 MB / 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.873e-06/1.873e-06, allocations: 3.938 kB / 0.5207 GB, free: 2.199 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/2.988e-05, allocations: 6.953 kB / 0.5207 GB, free: 2.195 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003168/0.003198, allocations: 1.802 MB / 0.5224 GB, free: 416 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.007913/0.01111, allocations: 5.191 MB / 0.5275 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.01127, allocations: 7.938 kB / 0.5275 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.01259, allocations: 349.4 kB / 0.5278 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001438/0.01273, allocations: 62.56 kB / 0.5279 GB, free: 10.8 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.003533/0.01627, allocations: 1.598 MB / 0.5295 GB, free: 9.211 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002488/0.01651, allocations: 167.3 kB / 0.5296 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.694e-05/0.01656, allocations: 16.44 kB / 0.5296 GB, free: 9.031 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.0167, allocations: 79.73 kB / 0.5297 GB, free: 8.953 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.01686, allocations: 151.7 kB / 0.5298 GB, free: 8.805 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.01689, allocations: 16 kB / 0.5299 GB, free: 8.789 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002485/0.01937, allocations: 2.405 MB / 0.5322 GB, free: 6.379 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001674/0.01954, allocations: 288.7 kB / 0.5325 GB, free: 6.098 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.01967, allocations: 167.9 kB / 0.5326 GB, free: 5.93 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.002576/0.02225, allocations: 2.49 MB / 0.5351 GB, free: 3.438 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.02225, allocations: 0 / 0.5351 GB, free: 3.438 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.403e-06/0.02225, allocations: 0 / 0.5351 GB, free: 3.438 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.02226, allocations: 0 / 0.5351 GB, free: 3.438 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.004472/0.02673, allocations: 1.471 MB / 0.5365 GB, free: 1.926 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.02677, allocations: 8.031 kB / 0.5365 GB, free: 1.918 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002551/0.02702, allocations: 103.8 kB / 0.5366 GB, free: 1.82 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003108/0.02733, allocations: 358.5 kB / 0.537 GB, free: 1.434 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.02734, allocations: 384 / 0.537 GB, free: 1.434 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.02737, allocations: 12.38 kB / 0.537 GB, free: 1.422 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/0.02766, allocations: 370 kB / 0.5373 GB, free: 1.043 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.02767, allocations: 192 / 0.5373 GB, free: 1.043 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.02768, allocations: 3.75 kB / 0.5373 GB, free: 1.043 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.02768, allocations: 7.922 kB / 0.5373 GB, free: 1.035 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002206/0.0279, allocations: 383.8 kB / 0.5377 GB, free: 0.6602 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004423/0.02835, allocations: 0.6681 MB / 0.5384 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.02866, allocations: 0.5251 MB / 0.5389 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.02883, allocations: 307.4 kB / 0.5392 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003304/0.02916, allocations: 133.2 kB / 0.5393 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002359/0.02939, allocations: 385.5 kB / 0.5397 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.02939, allocations: 0 / 0.5397 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0008193/0.03021, allocations: 1.173 MB / 0.5408 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.03025, allocations: 89.05 kB / 0.5409 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.03128, allocations: 1.276 MB / 0.5421 GB, free: 12 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.0313, allocations: 30.62 kB / 0.5422 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.03148, allocations: 372.7 kB / 0.5425 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.03151, allocations: 23.83 kB / 0.5425 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002551/0.03176, allocations: 403.1 kB / 0.5429 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.03188, allocations: 0.4974 MB / 0.5434 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004285/0.0323, allocations: 0.678 MB / 0.5441 GB, free: 9.992 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00052/0.03282, allocations: 0.8491 MB / 0.5449 GB, free: 9.133 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001733/0.03456, allocations: 2.621 MB / 0.5475 GB, free: 6.418 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.03456, allocations: 4.5 kB / 0.5475 GB, free: 6.414 MB / 0.5105 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003206/0.03777, allocations: 4.243 MB / 0.5516 GB, free: 2.137 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.03778, allocations: 5.219 kB / 0.5516 GB, free: 2.133 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.0378, allocations: 4 kB / 0.5516 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.03781, allocations: 0 / 0.5516 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.03791, allocations: 28.86 kB / 0.5516 GB, free: 2.102 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.03792, allocations: 4.062 kB / 0.5517 GB, free: 2.098 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000288/0.03821, allocations: 242.2 kB / 0.5519 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.03824, allocations: 23.98 kB / 0.5519 GB, free: 1.836 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.0001347/0.03838, allocations: 165.6 kB / 0.5521 GB, free: 1.664 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.104e-05/0.03843, allocations: 87.23 kB / 0.5521 GB, free: 1.578 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006056/0.03903, allocations: 0.8568 MB / 0.553 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.03904, allocations: 4 kB / 0.553 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.03904, allocations: 3.938 kB / 0.553 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.03905, allocations: 0 / 0.553 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003246/0.03937, allocations: 0.5212 MB / 0.5535 GB, free: 164 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.03938, allocations: 5.156 kB / 0.5535 GB, free: 160 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.336e-05/0.03941, allocations: 4 kB / 0.5535 GB, free: 156 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.03941, allocations: 0.875 kB / 0.5535 GB, free: 156 kB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.03942, allocations: 7.984 kB / 0.5535 GB, free: 148 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.03943, allocations: 0 / 0.5535 GB, free: 148 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.03943, allocations: 1.062 kB / 0.5535 GB, free: 148 kB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005463/0.03997, allocations: 0.9467 MB / 0.5544 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.336e-05/0.04003, allocations: 84.23 kB / 0.5545 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.04007, allocations: 4 kB / 0.5545 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.04013, allocations: 4.438 kB / 0.5545 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.04017, allocations: 18.7 kB / 0.5545 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.04019, allocations: 15.97 kB / 0.5546 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003956/0.04059, allocations: 0.6012 MB / 0.5552 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1e-07/0.04059, allocations: 0 / 0.5552 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001022/0.04161, allocations: 0.5884 MB / 0.5557 GB, free: 13.86 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.001494/0.0431, allocations: 0.8021 MB / 0.5565 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009235/0.04403, allocations: 1.41 MB / 0.5579 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.04403, allocations: 0.6875 kB / 0.5579 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.04421, allocations: 314.5 kB / 0.5582 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.04448, allocations: 60.64 kB / 0.5582 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.04572, allocations: 1.68 MB / 0.5599 GB, free: 9.578 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.04582, allocations: 197.5 kB / 0.5601 GB, free: 9.367 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 8.451e-05/0.0459, allocations: 36.48 kB / 0.5601 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.989e-05/0.04597, allocations: 28.47 kB / 0.5601 GB, free: 9.309 MB / 0.5261 GB Notification: Performance of SimCode: time 8.21e-07/0.04597, allocations: 1 kB / 0.5601 GB, free: 9.309 MB / 0.5261 GB Notification: Performance of Templates: time 0.01612/0.0621, allocations: 15.02 MB / 0.5748 GB, free: 10.54 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.21638993290253]