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.001739/0.001739, allocations: 88.72 kB / 19.44 MB, free: 356 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.00235/0.00235, allocations: 157.6 kB / 22.75 MB, free: 1.684 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.463/1.463, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.209/1.209, allocations: 154.8 MB / 414.3 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 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.613e-06/1.613e-06, allocations: 0 / 0.5199 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.706e-05/2.867e-05, allocations: 4.438 kB / 0.5199 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.00319/0.003219, allocations: 1.722 MB / 0.5216 GB, free: 488 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.008581/0.0118, allocations: 4.9 MB / 0.5264 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.075e-05/0.01189, allocations: 0.75 kB / 0.5264 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001272/0.01316, allocations: 341.9 kB / 0.5267 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.01332, allocations: 71.55 kB / 0.5268 GB, free: 11.17 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.004481/0.0178, allocations: 1.589 MB / 0.5284 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003216/0.01812, allocations: 171.2 kB / 0.5285 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.771e-05/0.01818, allocations: 17.73 kB / 0.5285 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.01832, allocations: 83.78 kB / 0.5286 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002614/0.01858, allocations: 147.6 kB / 0.5288 GB, free: 9.18 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.846e-05/0.01863, allocations: 16 kB / 0.5288 GB, free: 9.164 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004154/0.02278, allocations: 2.403 MB / 0.5311 GB, free: 6.758 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002909/0.02307, allocations: 287.9 kB / 0.5314 GB, free: 6.477 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002243/0.0233, allocations: 167.5 kB / 0.5316 GB, free: 6.312 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.003759/0.02705, allocations: 2.521 MB / 0.534 GB, free: 3.785 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.02706, allocations: 0 / 0.534 GB, free: 3.785 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.903e-06/0.02706, allocations: 0 / 0.534 GB, free: 3.785 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.02707, allocations: 0 / 0.534 GB, free: 3.785 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.009315/0.03639, allocations: 1.342 MB / 0.5353 GB, free: 2.41 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.03644, allocations: 11.97 kB / 0.5353 GB, free: 2.398 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004624/0.03691, allocations: 100.2 kB / 0.5354 GB, free: 2.301 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006756/0.03758, allocations: 351.8 kB / 0.5358 GB, free: 1.922 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.0376, allocations: 8.375 kB / 0.5358 GB, free: 1.914 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.207e-05/0.03764, allocations: 4.375 kB / 0.5358 GB, free: 1.91 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005292/0.03817, allocations: 390.9 kB / 0.5362 GB, free: 1.52 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.03818, allocations: 192 / 0.5362 GB, free: 1.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.0382, allocations: 8.359 kB / 0.5362 GB, free: 1.512 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.03821, allocations: 3.938 kB / 0.5362 GB, free: 1.508 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005539/0.03876, allocations: 435.7 kB / 0.5366 GB, free: 1.082 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007451/0.03951, allocations: 0.5975 MB / 0.5372 GB, free: 468 kB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006699/0.04018, allocations: 0.5556 MB / 0.5377 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003993/0.04058, allocations: 333.6 kB / 0.538 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006539/0.04123, allocations: 139.4 kB / 0.5382 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005093/0.04174, allocations: 398.2 kB / 0.5385 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.04174, allocations: 3.938 kB / 0.5385 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.001722/0.04346, allocations: 1.308 MB / 0.5398 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.829e-05/0.04354, allocations: 92.97 kB / 0.5399 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/0.04509, allocations: 1.298 MB / 0.5412 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.588e-05/0.04513, allocations: 26.55 kB / 0.5412 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003059/0.04544, allocations: 289.9 kB / 0.5415 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.109e-05/0.04548, allocations: 23.83 kB / 0.5415 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004827/0.04596, allocations: 344.8 kB / 0.5418 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.04614, allocations: 318 kB / 0.5421 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001595/0.04773, allocations: 1.37 MB / 0.5435 GB, free: 9.906 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001709/0.04944, allocations: 1.501 MB / 0.5449 GB, free: 8.395 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008208/0.05765, allocations: 3.566 MB / 0.5484 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.05766, allocations: 3.938 kB / 0.5484 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005442/0.0631, allocations: 4.025 MB / 0.5524 GB, free: 0.6758 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.06312, allocations: 4 kB / 0.5524 GB, free: 0.6719 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.06314, allocations: 4 kB / 0.5524 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.06317, allocations: 0 / 0.5524 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.06332, allocations: 29.05 kB / 0.5524 GB, free: 0.6406 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.06333, allocations: 0 / 0.5524 GB, free: 0.6406 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000528/0.06385, allocations: 239.1 kB / 0.5526 GB, free: 416 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.996e-05/0.06391, allocations: 23.98 kB / 0.5526 GB, free: 392 kB / 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.0003651/0.06428, allocations: 241.7 kB / 0.5529 GB, free: 140 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.984e-05/0.06438, allocations: 91.23 kB / 0.553 GB, free: 48 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.06563, allocations: 0.9463 MB / 0.5539 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.06563, allocations: 4.562 kB / 0.5539 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.06564, allocations: 5.281 kB / 0.5539 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.06564, allocations: 0 / 0.5539 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005548/0.0662, allocations: 464.3 kB / 0.5543 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.0662, allocations: 8 kB / 0.5543 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.713e-05/0.06628, allocations: 12.38 kB / 0.5544 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.06628, allocations: 2.75 kB / 0.5544 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.0663, allocations: 8 kB / 0.5544 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.864e-06/0.06631, allocations: 7.922 kB / 0.5544 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.06631, allocations: 0 / 0.5544 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.06749, allocations: 1.006 MB / 0.5554 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.0676, allocations: 88.19 kB / 0.5554 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.121e-05/0.06767, allocations: 11.98 kB / 0.5554 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.06783, allocations: 5.344 kB / 0.5555 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.06788, allocations: 7.922 kB / 0.5555 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.361e-05/0.06791, allocations: 11.98 kB / 0.5555 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001272/0.06918, allocations: 0.7283 MB / 0.5562 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.06918, allocations: 0 / 0.5562 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001901/0.07108, allocations: 0.5884 MB / 0.5568 GB, free: 12.11 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.002319/0.0734, allocations: 0.7817 MB / 0.5575 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002631/0.07603, allocations: 2.007 MB / 0.5595 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.07603, allocations: 0 / 0.5595 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004266/0.07646, allocations: 335.8 kB / 0.5598 GB, free: 9.004 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.07693, allocations: 64.77 kB / 0.5599 GB, free: 8.945 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002799/0.07973, allocations: 1.899 MB / 0.5617 GB, free: 7.016 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004775/0.08021, allocations: 395.4 kB / 0.5621 GB, free: 6.609 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001696/0.08038, allocations: 45.41 kB / 0.5621 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.0805, allocations: 30.83 kB / 0.5622 GB, free: 6.543 MB / 0.5261 GB Notification: Performance of SimCode: time 8.62e-07/0.0805, allocations: 0 / 0.5622 GB, free: 6.543 MB / 0.5261 GB Notification: Performance of Templates: time 0.02941/0.1099, allocations: 14.76 MB / 0.5766 GB, free: 8.031 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.741172013105825]