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.0008527/0.0008527, allocations: 115 kB / 19.7 MB, free: 0.5234 MB / 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.0008668/0.0008668, allocations: 211.8 kB / 23 MB, free: 3.117 MB / 13.93 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.8974/0.8974, allocations: 230.6 MB / 256.8 MB, free: 3.449 MB / 202.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-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 0.7851/0.7851, allocations: 203.8 MB / 0.5049 GB, free: 0.7109 MB / 410.7 MB " [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_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.0008957/0.0008957, allocations: 71.89 kB / 0.7195 GB, free: 14.33 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5497/0.5506, allocations: 102 MB / 0.8192 GB, free: 25.16 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002589/0.5532, allocations: 1.78 MB / 0.8209 GB, free: 23.94 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00653/0.5597, allocations: 5.485 MB / 0.8263 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.5599, allocations: 5.312 kB / 0.8263 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001471/0.5613, allocations: 371.9 kB / 0.8266 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.5615, allocations: 64.17 kB / 0.8267 GB, free: 20.05 MB / 0.6355 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.004347/0.5658, allocations: 1.606 MB / 0.8283 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002785/0.5661, allocations: 162.5 kB / 0.8284 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.42e-05/0.5661, allocations: 7.359 kB / 0.8284 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.922e-05/0.5662, allocations: 61.55 kB / 0.8285 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002324/0.5665, allocations: 174 kB / 0.8286 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.796e-05/0.5665, allocations: 14.44 kB / 0.8287 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003731/0.5702, allocations: 2.651 MB / 0.8312 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000257/0.5705, allocations: 282 kB / 0.8315 GB, free: 18.4 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.5707, allocations: 301.6 kB / 0.8318 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00315/0.5738, allocations: 2.234 MB / 0.834 GB, free: 17.53 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.5738, allocations: 1.219 kB / 0.834 GB, free: 17.53 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5738, allocations: 0 / 0.834 GB, free: 17.53 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.348e-05/0.5739, allocations: 3.938 kB / 0.834 GB, free: 17.53 MB / 0.6355 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.004344/0.5782, allocations: 1.344 MB / 0.8353 GB, free: 16.61 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.5783, allocations: 10.88 kB / 0.8353 GB, free: 16.61 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002802/0.5785, allocations: 97.95 kB / 0.8354 GB, free: 16.55 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004048/0.5789, allocations: 348 kB / 0.8357 GB, free: 16.3 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.579, allocations: 4.188 kB / 0.8357 GB, free: 16.3 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.579, allocations: 17.14 kB / 0.8358 GB, free: 16.29 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004372/0.5794, allocations: 400.8 kB / 0.8361 GB, free: 16.21 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.5794, allocations: 4.547 kB / 0.8361 GB, free: 16.21 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.5794, allocations: 2.359 kB / 0.8361 GB, free: 16.21 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.5795, allocations: 0 / 0.8361 GB, free: 16.21 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005254/0.58, allocations: 437.3 kB / 0.8366 GB, free: 16.2 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004974/0.5805, allocations: 0.6383 MB / 0.8372 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005435/0.581, allocations: 0.5611 MB / 0.8377 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003208/0.5813, allocations: 333.2 kB / 0.838 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004477/0.5818, allocations: 132.9 kB / 0.8382 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003862/0.5822, allocations: 412.2 kB / 0.8386 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.5822, allocations: 4 kB / 0.8386 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.001368/0.5835, allocations: 1.302 MB / 0.8398 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.5836, allocations: 84.84 kB / 0.8399 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.5848, allocations: 1.29 MB / 0.8412 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.5848, allocations: 31.77 kB / 0.8412 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.585, allocations: 291.3 kB / 0.8415 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.585, allocations: 24.59 kB / 0.8415 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003276/0.5853, allocations: 355.3 kB / 0.8419 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.856e-05/0.5854, allocations: 321.3 kB / 0.8422 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/0.5865, allocations: 1.37 MB / 0.8435 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/0.5876, allocations: 1.504 MB / 0.845 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004983/0.5926, allocations: 3.56 MB / 0.8484 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.5926, allocations: 1.188 kB / 0.8484 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003349/0.5959, allocations: 4.017 MB / 0.8524 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.596, allocations: 6.156 kB / 0.8524 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.596, allocations: 2.75 kB / 0.8524 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.596, allocations: 4.828 kB / 0.8524 GB, free: 9.422 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.569e-05/0.5961, allocations: 19.03 kB / 0.8524 GB, free: 9.418 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.5961, allocations: 1.375 kB / 0.8524 GB, free: 9.418 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004172/0.5965, allocations: 245.5 kB / 0.8526 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.604e-05/0.5966, allocations: 24.03 kB / 0.8527 GB, free: 9.219 MB / 0.6355 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.0002628/0.5968, allocations: 248.5 kB / 0.8529 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.16e-05/0.5969, allocations: 80.48 kB / 0.853 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009524/0.5978, allocations: 0.9528 MB / 0.8539 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.5978, allocations: 5.297 kB / 0.8539 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5978, allocations: 3.938 kB / 0.8539 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.5978, allocations: 1.984 kB / 0.8539 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004281/0.5983, allocations: 497.1 kB / 0.8544 GB, free: 8.688 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.5983, allocations: 0 / 0.8544 GB, free: 8.688 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.679e-05/0.5983, allocations: 19.58 kB / 0.8544 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.5983, allocations: 5.984 kB / 0.8544 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.5983, allocations: 2.797 kB / 0.8544 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.5983, allocations: 2.047 kB / 0.8544 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5983, allocations: 1.344 kB / 0.8544 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009356/0.5993, allocations: 1.002 MB / 0.8554 GB, free: 8.523 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.542e-05/0.5993, allocations: 96.53 kB / 0.8555 GB, free: 8.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.988e-05/0.5994, allocations: 7.75 kB / 0.8555 GB, free: 8.449 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.932e-05/0.5995, allocations: 4.172 kB / 0.8555 GB, free: 8.449 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.5995, allocations: 5.859 kB / 0.8555 GB, free: 8.449 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.354e-05/0.5996, allocations: 13.27 kB / 0.8555 GB, free: 8.449 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006265/0.6002, allocations: 0.7285 MB / 0.8562 GB, free: 8.121 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.6002, allocations: 1.125 kB / 0.8562 GB, free: 8.121 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002412/0.6026, allocations: 0.5892 MB / 0.8568 GB, free: 7.992 MB / 0.6355 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.001375/0.604, allocations: 0.7128 MB / 0.8575 GB, free: 7.656 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001516/0.6055, allocations: 2.003 MB / 0.8595 GB, free: 6.898 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.6055, allocations: 3.938 kB / 0.8595 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002761/0.6058, allocations: 329.6 kB / 0.8598 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.6061, allocations: 64.69 kB / 0.8598 GB, free: 6.793 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.6079, allocations: 1.935 MB / 0.8617 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.6082, allocations: 0.9862 MB / 0.8627 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.225e-05/0.6083, allocations: 29.23 kB / 0.8627 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of SimCode: time 6.51e-07/0.6083, allocations: 0 / 0.8627 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of Templates: time 0.01528/0.6236, allocations: 14.7 MB / 0.8771 GB, free: 7.363 MB / 0.6511 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: 10.063353874953464] Failed to read output from testmodel.py, exit status != 0: 0.6296701219398528 0.638236507 0.062616668 Calling exit ...