Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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.0009431/0.0009431, allocations: 92.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.0009051/0.0009051, allocations: 173.3 kB / 23.5 MB, free: 1.055 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.9366/0.9366, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.7482/0.7482, 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.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.5206 GB, free: 2.191 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.41e-05/2.573e-05, allocations: 3.938 kB / 0.5206 GB, free: 2.188 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001426/0.001451, allocations: 0.5858 MB / 0.5212 GB, free: 1.625 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009955/0.002447, allocations: 1.046 MB / 0.5222 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.974e-05/0.002477, allocations: 0 / 0.5222 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.863e-05/0.002495, allocations: 0 / 0.5222 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005274/0.003023, allocations: 92.52 kB / 0.5223 GB, free: 488 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.692e-05/0.00305, allocations: 9.594 kB / 0.5223 GB, free: 480 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.847e-05/0.003098, allocations: 7.984 kB / 0.5223 GB, free: 472 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.907e-05/0.003137, allocations: 4 kB / 0.5223 GB, free: 468 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.903e-05/0.003166, allocations: 7.984 kB / 0.5224 GB, free: 460 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.003334, allocations: 37 kB / 0.5224 GB, free: 428 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.003345, allocations: 0 / 0.5224 GB, free: 428 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.003475, allocations: 79.84 kB / 0.5225 GB, free: 348 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.897e-06/0.003484, allocations: 0 / 0.5225 GB, free: 348 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.582e-05/0.003499, allocations: 0.5312 kB / 0.5225 GB, free: 348 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.003656, allocations: 92.52 kB / 0.5226 GB, free: 256 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.003659, allocations: 0 / 0.5226 GB, free: 256 kB / 490.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.003659, allocations: 0 / 0.5226 GB, free: 256 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.003664, allocations: 1.469 kB / 0.5226 GB, free: 256 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000287/0.003951, allocations: 356.2 kB / 0.5229 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.003995, allocations: 12.03 kB / 0.5229 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.725e-05/0.004032, allocations: 2.281 kB / 0.5229 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.703e-05/0.004119, allocations: 112.6 kB / 0.523 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.004129, allocations: 384 / 0.523 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.004137, allocations: 384 / 0.523 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.388e-05/0.004211, allocations: 33.78 kB / 0.523 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.004218, allocations: 4.188 kB / 0.5231 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.004228, allocations: 4.125 kB / 0.5231 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.004235, allocations: 0 / 0.5231 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.295e-05/0.004248, allocations: 3.938 kB / 0.5231 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003537/0.004602, allocations: 478.6 kB / 0.5235 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.572e-05/0.004687, allocations: 265.4 kB / 0.5238 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.724e-05/0.004725, allocations: 130.9 kB / 0.5239 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.004754, allocations: 119.8 kB / 0.524 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.004796, allocations: 156.5 kB / 0.5242 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.004797, allocations: 0.5625 kB / 0.5242 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 5.708e-05/0.004854, allocations: 42.55 kB / 0.5242 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.004903, allocations: 170.6 kB / 0.5244 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.139e-05/0.004985, allocations: 157.9 kB / 0.5245 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.354e-06/0.004992, allocations: 27.17 kB / 0.5245 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.577e-05/0.005028, allocations: 130.9 kB / 0.5247 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-06/0.00503, allocations: 0 / 0.5247 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.343e-05/0.005053, allocations: 19.36 kB / 0.5247 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.005154, allocations: 496.9 kB / 0.5252 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.013e-06/0.005161, allocations: 0 / 0.5252 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.829e-06/0.005166, allocations: 0.9062 kB / 0.5252 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.68e-05/0.005193, allocations: 21.28 kB / 0.5252 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.005194, allocations: 0 / 0.5252 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.753e-05/0.005272, allocations: 33.64 kB / 0.5252 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.005283, allocations: 4 kB / 0.5252 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.005287, allocations: 4.688 kB / 0.5252 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.005298, allocations: 3.984 kB / 0.5252 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.395e-05/0.005312, allocations: 1.125 kB / 0.5252 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.005316, allocations: 0 / 0.5252 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.679e-06/0.005326, allocations: 7.875 kB / 0.5252 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.00533, allocations: 1.344 kB / 0.5252 GB, free: 13.31 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 7.49e-05/0.005405, allocations: 275.8 kB / 0.5255 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.214e-05/0.005447, allocations: 156.8 kB / 0.5256 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.454e-05/0.005492, allocations: 162.4 kB / 0.5258 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.157e-05/0.005543, allocations: 268.1 kB / 0.5261 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.252e-05/0.005596, allocations: 268 kB / 0.5263 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.567e-05/0.005651, allocations: 268.1 kB / 0.5266 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.005792, allocations: 495.8 kB / 0.527 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.199e-05/0.005824, allocations: 152.9 kB / 0.5272 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.846e-05/0.005852, allocations: 147.8 kB / 0.5273 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.141e-05/0.005903, allocations: 268 kB / 0.5276 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-05/0.005958, allocations: 272 kB / 0.5278 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.893e-05/0.006007, allocations: 268 kB / 0.5281 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003159/0.006323, allocations: 272 kB / 0.5284 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.006446, allocations: 451.9 kB / 0.5288 GB, free: 9.512 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.349e-05/0.00649, allocations: 144.9 kB / 0.5289 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.508e-05/0.006575, allocations: 277.5 kB / 0.5292 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.268e-05/0.006638, allocations: 152.9 kB / 0.5293 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.868e-05/0.006696, allocations: 272 kB / 0.5296 GB, free: 8.656 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/0.006724, allocations: 144.9 kB / 0.5297 GB, free: 8.508 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.789e-05/0.006762, allocations: 124.1 kB / 0.5298 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006762, allocations: 0 / 0.5298 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001711/0.006933, allocations: 24.86 kB / 0.5299 GB, free: 8.363 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.0002763/0.007209, allocations: 271.5 kB / 0.5301 GB, free: 8.102 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.66e-05/0.007266, allocations: 14.22 kB / 0.5301 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.007268, allocations: 0 / 0.5301 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.91e-07/0.007269, allocations: 3.938 kB / 0.5301 GB, free: 8.082 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.007538, allocations: 0.7023 MB / 0.5308 GB, free: 7.375 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003025/0.00784, allocations: 264.2 kB / 0.5311 GB, free: 7.09 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.82e-05/0.007868, allocations: 54.48 kB / 0.5311 GB, free: 7.02 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.009e-05/0.007888, allocations: 0 / 0.5311 GB, free: 7.02 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.864e-05/0.007907, allocations: 20.42 kB / 0.5312 GB, free: 7 MB / 0.4948 GB Notification: Performance of SimCode: time 6.91e-07/0.007908, allocations: 0 / 0.5312 GB, free: 7 MB / 0.4948 GB Notification: Performance of Templates: time 0.002183/0.01009, allocations: 0.7169 MB / 0.5319 GB, free: 6.379 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5790892930235714]