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.001344/0.001344, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001489/0.001489, allocations: 211.8 kB / 22.25 MB, free: 4.863 MB / 14.72 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.457/1.457, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 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-531:190: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-531:198: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.273/1.273, allocations: 203.8 MB / 0.5041 GB, free: 4.605 MB / 414.1 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 67.83 kB / 0.7187 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4643/0.4664, allocations: 102 MB / 0.8183 GB, free: 28.91 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002924/0.4693, allocations: 1.717 MB / 0.82 GB, free: 27.78 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.007205/0.4765, allocations: 4.894 MB / 0.8248 GB, free: 24.72 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.4766, allocations: 5.344 kB / 0.8248 GB, free: 24.71 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001238/0.4779, allocations: 337.7 kB / 0.8251 GB, free: 24.59 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.478, allocations: 60.14 kB / 0.8252 GB, free: 24.55 MB / 0.6387 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.004261/0.4823, allocations: 1.586 MB / 0.8267 GB, free: 23.96 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002616/0.4825, allocations: 161.4 kB / 0.8269 GB, free: 23.91 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.471e-05/0.4826, allocations: 7.172 kB / 0.8269 GB, free: 23.91 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 8.501e-05/0.4827, allocations: 62.73 kB / 0.827 GB, free: 23.88 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002349/0.4829, allocations: 165.4 kB / 0.8271 GB, free: 23.84 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.774e-05/0.4829, allocations: 19.44 kB / 0.8271 GB, free: 23.83 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00416/0.4871, allocations: 2.383 MB / 0.8295 GB, free: 23.22 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000282/0.4874, allocations: 289.9 kB / 0.8297 GB, free: 23.13 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002372/0.4876, allocations: 242.8 kB / 0.83 GB, free: 23 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004921/0.4925, allocations: 2.206 MB / 0.8321 GB, free: 22.35 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4925, allocations: 4 kB / 0.8321 GB, free: 22.34 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4925, allocations: 0.5156 kB / 0.8321 GB, free: 22.34 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.554e-05/0.4926, allocations: 1.469 kB / 0.8321 GB, free: 22.34 MB / 0.6387 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.009235/0.5018, allocations: 1.344 MB / 0.8334 GB, free: 21.42 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.5018, allocations: 10.97 kB / 0.8334 GB, free: 21.42 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004143/0.5022, allocations: 99.38 kB / 0.8335 GB, free: 21.36 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005346/0.5028, allocations: 350.5 kB / 0.8339 GB, free: 21.11 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.5028, allocations: 11.81 kB / 0.8339 GB, free: 21.1 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.305e-05/0.5028, allocations: 9.641 kB / 0.8339 GB, free: 21.1 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004654/0.5033, allocations: 398.2 kB / 0.8343 GB, free: 21.03 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.5033, allocations: 1.344 kB / 0.8343 GB, free: 21.03 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.5033, allocations: 0 / 0.8343 GB, free: 21.03 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.5033, allocations: 0.9375 kB / 0.8343 GB, free: 21.03 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004395/0.5038, allocations: 433.1 kB / 0.8347 GB, free: 21.03 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006167/0.5044, allocations: 0.5988 MB / 0.8353 GB, free: 20.69 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005711/0.505, allocations: 0.5604 MB / 0.8358 GB, free: 20.63 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003449/0.5053, allocations: 333 kB / 0.8361 GB, free: 20.61 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006415/0.5059, allocations: 130.4 kB / 0.8363 GB, free: 20.61 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004482/0.5064, allocations: 414.8 kB / 0.8367 GB, free: 20.52 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.5064, allocations: 0 / 0.8367 GB, free: 20.52 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8): time 0.001477/0.5079, allocations: 1.306 MB / 0.8379 GB, free: 20.39 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.5079, allocations: 85.53 kB / 0.838 GB, free: 20.29 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/0.5094, allocations: 1.29 MB / 0.8393 GB, free: 19.79 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.265e-05/0.5094, allocations: 32.45 kB / 0.8393 GB, free: 19.75 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.5096, allocations: 298.8 kB / 0.8396 GB, free: 19.52 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.5097, allocations: 17.44 kB / 0.8396 GB, free: 19.51 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004009/0.5101, allocations: 355.6 kB / 0.8399 GB, free: 19.41 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.834e-05/0.5101, allocations: 317.2 kB / 0.8403 GB, free: 19.1 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001287/0.5114, allocations: 1.37 MB / 0.8416 GB, free: 18.64 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/0.5128, allocations: 1.507 MB / 0.8431 GB, free: 18.12 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007238/0.5201, allocations: 3.561 MB / 0.8465 GB, free: 16.27 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.5201, allocations: 0.75 kB / 0.8465 GB, free: 16.27 MB / 0.6387 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004379/0.5245, allocations: 4.013 MB / 0.8505 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.5245, allocations: 9.25 kB / 0.8505 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/0.5245, allocations: 2.812 kB / 0.8505 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.5245, allocations: 2.125 kB / 0.8505 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.5247, allocations: 19.31 kB / 0.8505 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.5247, allocations: 8.688 kB / 0.8505 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006149/0.5253, allocations: 245.1 kB / 0.8507 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.852e-05/0.5254, allocations: 28.14 kB / 0.8508 GB, free: 14.07 MB / 0.6387 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.0003532/0.5257, allocations: 244.9 kB / 0.851 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.066e-05/0.5258, allocations: 80.73 kB / 0.8511 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.5269, allocations: 0.9471 MB / 0.852 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.5269, allocations: 1.344 kB / 0.852 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.5269, allocations: 5.344 kB / 0.852 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.5269, allocations: 0.6094 kB / 0.852 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005257/0.5274, allocations: 467.9 kB / 0.8524 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.5274, allocations: 0.9688 kB / 0.8524 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.119e-05/0.5275, allocations: 11.67 kB / 0.8525 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.5275, allocations: 5.953 kB / 0.8525 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.5275, allocations: 6.766 kB / 0.8525 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.5275, allocations: 1.25 kB / 0.8525 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5275, allocations: 1.344 kB / 0.8525 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.5286, allocations: 1.006 MB / 0.8535 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.5287, allocations: 93.52 kB / 0.8535 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.915e-05/0.5287, allocations: 6.141 kB / 0.8536 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.5289, allocations: 6.516 kB / 0.8536 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.5289, allocations: 8.234 kB / 0.8536 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.463e-05/0.529, allocations: 14.14 kB / 0.8536 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007792/0.5298, allocations: 0.7249 MB / 0.8543 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.5298, allocations: 1.562 kB / 0.8543 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002308/0.5321, allocations: 0.5924 MB / 0.8549 GB, free: 12.81 MB / 0.6387 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.002057/0.5341, allocations: 0.7133 MB / 0.8556 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002103/0.5362, allocations: 2 MB / 0.8575 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5362, allocations: 1.375 kB / 0.8575 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003354/0.5366, allocations: 342 kB / 0.8578 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000473/0.537, allocations: 47.89 kB / 0.8579 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/0.5392, allocations: 1.901 MB / 0.8597 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.5396, allocations: 393.2 kB / 0.8601 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001907/0.5398, allocations: 42.42 kB / 0.8602 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.5399, allocations: 30.7 kB / 0.8602 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of SimCode: time 4e-07/0.5399, allocations: 0 / 0.8602 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of Templates: time 0.02294/0.5628, allocations: 15.73 MB / 0.8756 GB, free: 11.51 MB / 0.6544 GB " [Timeout remaining time 659] 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: 7.478918664157391] Failed to read output from testmodel.py, exit status != 0: 0.5718314033001661 0.5871242050000001 0.091227239 Calling exit ...