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.001398/0.001398, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001605/0.001605, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9602/0.9602, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.7423/0.7423, allocations: 154.9 MB / 415.9 MB, free: 228 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.122e-06/1.122e-06, allocations: 0 / 0.522 GB, free: 1.457 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.574e-05/1.686e-05, allocations: 5 kB / 0.522 GB, free: 1.453 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001726/0.001743, allocations: 1.457 MB / 0.5234 GB, free: 8 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004251/0.005994, allocations: 3.963 MB / 0.5273 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.984e-05/0.006044, allocations: 0 / 0.5273 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 9.935e-05/0.006144, allocations: 15.86 kB / 0.5273 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001944/0.006338, allocations: 39.7 kB / 0.5273 GB, free: 11.99 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.002752/0.00909, allocations: 1.621 MB / 0.5289 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.009203, allocations: 95.66 kB / 0.529 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.173e-05/0.009235, allocations: 4 kB / 0.529 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.059e-05/0.009306, allocations: 59.88 kB / 0.5291 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.389e-05/0.0094, allocations: 49.12 kB / 0.5291 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.009413, allocations: 4 kB / 0.5291 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002535/0.01195, allocations: 2.416 MB / 0.5315 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.01209, allocations: 251.3 kB / 0.5317 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.158e-05/0.01219, allocations: 119.4 kB / 0.5318 GB, free: 7.402 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.002481/0.01467, allocations: 2.337 MB / 0.5341 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.01467, allocations: 0 / 0.5341 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.12e-07/0.01467, allocations: 2.438 kB / 0.5341 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.01468, allocations: 0 / 0.5341 GB, free: 5.059 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.001395/0.01607, allocations: 1.369 MB / 0.5354 GB, free: 3.648 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.0161, allocations: 12.03 kB / 0.5355 GB, free: 3.637 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002242/0.01633, allocations: 89.56 kB / 0.5355 GB, free: 3.551 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.01656, allocations: 305.2 kB / 0.5358 GB, free: 3.215 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.01657, allocations: 4.375 kB / 0.5358 GB, free: 3.211 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.0166, allocations: 12.36 kB / 0.5358 GB, free: 3.199 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003129/0.01691, allocations: 227.9 kB / 0.5361 GB, free: 2.961 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.503e-06/0.01692, allocations: 192 / 0.5361 GB, free: 2.961 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.01692, allocations: 4.375 kB / 0.5361 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.01693, allocations: 10.38 kB / 0.5361 GB, free: 2.949 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.01705, allocations: 195.8 kB / 0.5363 GB, free: 2.758 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003087/0.01736, allocations: 493.2 kB / 0.5367 GB, free: 2.246 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.01755, allocations: 297.9 kB / 0.537 GB, free: 1.93 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.646e-05/0.01764, allocations: 177.4 kB / 0.5372 GB, free: 1.75 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002811/0.01793, allocations: 131.8 kB / 0.5373 GB, free: 1.625 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/0.01809, allocations: 232.3 kB / 0.5375 GB, free: 1.375 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.0181, allocations: 1.75 kB / 0.5375 GB, free: 1.375 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0005492/0.01865, allocations: 0.7622 MB / 0.5383 GB, free: 0.6055 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.01868, allocations: 81.11 kB / 0.5384 GB, free: 0.5078 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000886/0.01956, allocations: 1.199 MB / 0.5395 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.01959, allocations: 30.64 kB / 0.5396 GB, free: 15.26 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.01974, allocations: 348.5 kB / 0.5399 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.01976, allocations: 27.78 kB / 0.5399 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002518/0.02002, allocations: 427.7 kB / 0.5403 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.523e-05/0.02011, allocations: 496.3 kB / 0.5408 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003006/0.02041, allocations: 494.4 kB / 0.5413 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000382/0.02079, allocations: 0.6571 MB / 0.5419 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/0.02227, allocations: 2.255 MB / 0.5441 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.02228, allocations: 0 / 0.5441 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003055/0.02533, allocations: 3.845 MB / 0.5479 GB, free: 6.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.02535, allocations: 4 kB / 0.5479 GB, free: 6.586 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.02537, allocations: 4.562 kB / 0.5479 GB, free: 6.582 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.02538, allocations: 1.531 kB / 0.5479 GB, free: 6.582 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.02549, allocations: 19.98 kB / 0.5479 GB, free: 6.562 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.0255, allocations: 11.88 kB / 0.5479 GB, free: 6.551 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000356/0.02585, allocations: 241.3 kB / 0.5481 GB, free: 6.312 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.206e-05/0.02589, allocations: 26.23 kB / 0.5482 GB, free: 6.289 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 (labels[1],cluSiz[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.0001506/0.02604, allocations: 164.6 kB / 0.5483 GB, free: 6.117 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.346e-05/0.02611, allocations: 75.33 kB / 0.5484 GB, free: 6.043 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005703/0.02668, allocations: 0.574 MB / 0.549 GB, free: 5.461 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.02668, allocations: 0 / 0.549 GB, free: 5.461 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.02669, allocations: 9.156 kB / 0.549 GB, free: 5.453 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.02669, allocations: 3.938 kB / 0.549 GB, free: 5.449 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003424/0.02703, allocations: 366.7 kB / 0.5493 GB, free: 5.066 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.02704, allocations: 1.406 kB / 0.5493 GB, free: 5.066 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.041e-05/0.02709, allocations: 11.98 kB / 0.5493 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.02709, allocations: 0 / 0.5493 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.465e-06/0.0271, allocations: 0 / 0.5493 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.0271, allocations: 5.562 kB / 0.5493 GB, free: 5.051 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.02711, allocations: 0 / 0.5493 GB, free: 5.051 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005282/0.02763, allocations: 0.6649 MB / 0.55 GB, free: 4.359 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.064e-05/0.0277, allocations: 80.23 kB / 0.5501 GB, free: 4.281 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.636e-05/0.02775, allocations: 4 kB / 0.5501 GB, free: 4.277 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.187e-05/0.02784, allocations: 0.5938 kB / 0.5501 GB, free: 4.277 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.507e-05/0.02787, allocations: 7.984 kB / 0.5501 GB, free: 4.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/0.0279, allocations: 18.45 kB / 0.5501 GB, free: 4.254 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003867/0.02828, allocations: 0.532 MB / 0.5506 GB, free: 3.715 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.02828, allocations: 0 / 0.5506 GB, free: 3.715 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001228/0.02951, allocations: 0.5883 MB / 0.5512 GB, free: 3.125 MB / 0.5105 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.001532/0.03104, allocations: 0.7951 MB / 0.552 GB, free: 2.367 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009696/0.03201, allocations: 1.078 MB / 0.553 GB, free: 1.27 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.03201, allocations: 4 kB / 0.553 GB, free: 1.266 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.03216, allocations: 167.5 kB / 0.5532 GB, free: 1.098 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.03243, allocations: 37.66 kB / 0.5532 GB, free: 1.062 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.034, allocations: 1.443 MB / 0.5546 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.03414, allocations: 191.1 kB / 0.5548 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.838e-05/0.03423, allocations: 32.73 kB / 0.5548 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.03437, allocations: 98.17 kB / 0.5549 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of SimCode: time 7.11e-07/0.03437, allocations: 0 / 0.5549 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of Templates: time 0.02193/0.0563, allocations: 15.76 MB / 0.5703 GB, free: 15.71 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.298787163104862]