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.0009313/0.0009313, 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.001435/0.001435, allocations: 169 kB / 23.02 MB, free: 1.547 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.8987/0.8987, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.7326/0.7326, allocations: 154.9 MB / 414.8 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.282e-06/1.282e-06, allocations: 0 / 0.5208 GB, free: 1.754 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.211e-05, allocations: 8.562 kB / 0.5208 GB, free: 1.75 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001672/0.001694, allocations: 1.466 MB / 0.5222 GB, free: 304 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004611/0.006305, allocations: 4.036 MB / 0.5261 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.147e-05/0.006356, allocations: 5.125 kB / 0.5262 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.006466, allocations: 15.86 kB / 0.5262 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002229/0.006688, allocations: 35.72 kB / 0.5262 GB, free: 12.2 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.002805/0.009493, allocations: 1.612 MB / 0.5278 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.00961, allocations: 91.67 kB / 0.5279 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.672e-05/0.009647, allocations: 6.75 kB / 0.5279 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.628e-05/0.009723, allocations: 63.81 kB / 0.5279 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.009895, allocations: 135.8 kB / 0.5281 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.919e-05/0.009925, allocations: 15.94 kB / 0.5281 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002507/0.01243, allocations: 2.456 MB / 0.5305 GB, free: 7.848 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.0126, allocations: 283.9 kB / 0.5307 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.01271, allocations: 146.5 kB / 0.5309 GB, free: 7.43 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.002075/0.01479, allocations: 2.455 MB / 0.5333 GB, free: 4.965 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.01479, allocations: 0 / 0.5333 GB, free: 4.965 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.383e-06/0.01479, allocations: 0.8438 kB / 0.5333 GB, free: 4.965 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.0148, allocations: 0 / 0.5333 GB, free: 4.965 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.00404/0.01884, allocations: 1.397 MB / 0.5346 GB, free: 3.527 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.01887, allocations: 12.03 kB / 0.5347 GB, free: 3.516 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002466/0.01912, allocations: 93.09 kB / 0.5347 GB, free: 3.426 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.01938, allocations: 307 kB / 0.535 GB, free: 3.09 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.01939, allocations: 4.375 kB / 0.535 GB, free: 3.086 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.01941, allocations: 4.375 kB / 0.535 GB, free: 3.082 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002912/0.0197, allocations: 379 kB / 0.5354 GB, free: 2.695 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.01971, allocations: 192 / 0.5354 GB, free: 2.695 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.01972, allocations: 8.297 kB / 0.5354 GB, free: 2.688 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.01973, allocations: 4.594 kB / 0.5354 GB, free: 2.684 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002156/0.01994, allocations: 388.4 kB / 0.5358 GB, free: 2.305 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004039/0.02035, allocations: 0.6313 MB / 0.5364 GB, free: 1.637 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003101/0.02066, allocations: 0.5227 MB / 0.5369 GB, free: 1.09 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.02083, allocations: 311.4 kB / 0.5372 GB, free: 0.7773 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003525/0.02118, allocations: 142.7 kB / 0.5374 GB, free: 0.6445 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002383/0.02142, allocations: 384.1 kB / 0.5377 GB, free: 252 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.02142, allocations: 0 / 0.5377 GB, free: 252 kB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0008081/0.02223, allocations: 1.171 MB / 0.5389 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.02227, allocations: 85.05 kB / 0.5389 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008451/0.02311, allocations: 1.191 MB / 0.5401 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.02314, allocations: 33.7 kB / 0.5401 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.02331, allocations: 336.7 kB / 0.5405 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.02334, allocations: 27.78 kB / 0.5405 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002436/0.02358, allocations: 402.5 kB / 0.5409 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.427e-05/0.02368, allocations: 490 kB / 0.5413 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004118/0.02409, allocations: 0.682 MB / 0.542 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004901/0.02458, allocations: 0.8438 MB / 0.5428 GB, free: 10.94 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001636/0.02621, allocations: 2.624 MB / 0.5454 GB, free: 8.223 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.02622, allocations: 0 / 0.5454 GB, free: 8.223 MB / 0.5105 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002804/0.02902, allocations: 4.23 MB / 0.5495 GB, free: 3.957 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.02904, allocations: 8 kB / 0.5495 GB, free: 3.949 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.02905, allocations: 5.047 kB / 0.5495 GB, free: 3.945 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.02906, allocations: 4 kB / 0.5495 GB, free: 3.941 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.02917, allocations: 25.64 kB / 0.5496 GB, free: 3.918 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.02918, allocations: 0 / 0.5496 GB, free: 3.918 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/0.02942, allocations: 253.2 kB / 0.5498 GB, free: 3.668 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.491e-05/0.02945, allocations: 23.98 kB / 0.5498 GB, free: 3.645 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.0001265/0.02958, allocations: 166.1 kB / 0.55 GB, free: 3.473 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.841e-05/0.02962, allocations: 75.33 kB / 0.5501 GB, free: 3.398 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005791/0.0302, allocations: 0.8437 MB / 0.5509 GB, free: 2.551 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.0302, allocations: 4 kB / 0.5509 GB, free: 2.547 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.03021, allocations: 3.938 kB / 0.5509 GB, free: 2.543 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.03021, allocations: 0 / 0.5509 GB, free: 2.543 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002998/0.03051, allocations: 0.4928 MB / 0.5514 GB, free: 2.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.03051, allocations: 0 / 0.5514 GB, free: 2.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.796e-05/0.03055, allocations: 8.688 kB / 0.5514 GB, free: 2.012 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.03055, allocations: 1.875 kB / 0.5514 GB, free: 2.012 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.03056, allocations: 3.984 kB / 0.5514 GB, free: 2.008 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.03056, allocations: 4 kB / 0.5514 GB, free: 2.004 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.03057, allocations: 0 / 0.5514 GB, free: 2.004 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000525/0.03109, allocations: 0.9237 MB / 0.5523 GB, free: 1.055 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-05/0.03114, allocations: 87.3 kB / 0.5524 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/0.03118, allocations: 7.938 kB / 0.5524 GB, free: 0.9609 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.183e-05/0.03124, allocations: 4.938 kB / 0.5524 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.03128, allocations: 11.92 kB / 0.5524 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.0313, allocations: 16.88 kB / 0.5524 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003389/0.03164, allocations: 0.5518 MB / 0.553 GB, free: 380 kB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.03164, allocations: 2.531 kB / 0.553 GB, free: 380 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001043/0.03268, allocations: 0.5884 MB / 0.5535 GB, free: 15.78 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.001524/0.0342, allocations: 0.7884 MB / 0.5543 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009779/0.03518, allocations: 1.415 MB / 0.5557 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.03518, allocations: 0 / 0.5557 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.03538, allocations: 319.9 kB / 0.556 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.03564, allocations: 37.84 kB / 0.556 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.03694, allocations: 1.586 MB / 0.5576 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.03705, allocations: 183.1 kB / 0.5577 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.892e-05/0.03713, allocations: 36.7 kB / 0.5578 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.749e-05/0.03721, allocations: 24.48 kB / 0.5578 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of SimCode: time 1.122e-06/0.03721, allocations: 0 / 0.5578 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of Templates: time 0.01768/0.05489, allocations: 16.16 MB / 0.5736 GB, free: 11.42 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.179724016226828]