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.00111/0.00111, allocations: 115 kB / 19.7 MB, free: 0.5273 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.001215/0.001215, allocations: 203.9 kB / 23 MB, free: 3.125 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.9295/0.9295, allocations: 230.6 MB / 256.8 MB, free: 3.461 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.7931/0.7931, allocations: 203.8 MB / 0.5049 GB, free: 0.7148 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_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: 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.001108/0.001108, allocations: 63.91 kB / 0.7195 GB, free: 14.37 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5566/0.5577, allocations: 102 MB / 0.8192 GB, free: 25.19 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002302/0.56, allocations: 1.445 MB / 0.8206 GB, free: 24.2 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.005345/0.5654, allocations: 4.278 MB / 0.8248 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.503e-05/0.5655, allocations: 5.219 kB / 0.8248 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001423/0.5656, allocations: 13.12 kB / 0.8248 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0002821/0.5659, allocations: 35.78 kB / 0.8248 GB, free: 21.35 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.00443/0.5703, allocations: 1.616 MB / 0.8264 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.5705, allocations: 92.7 kB / 0.8265 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.99e-05/0.5706, allocations: 2.844 kB / 0.8265 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.792e-05/0.5706, allocations: 51.92 kB / 0.8265 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002418/0.5709, allocations: 154.3 kB / 0.8267 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/0.5709, allocations: 14.47 kB / 0.8267 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004372/0.5753, allocations: 2.653 MB / 0.8293 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002109/0.5755, allocations: 271.2 kB / 0.8295 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.5757, allocations: 279.7 kB / 0.8298 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003971/0.5797, allocations: 2.156 MB / 0.8319 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.5797, allocations: 0 / 0.8319 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.893e-06/0.5797, allocations: 0 / 0.8319 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.199e-05/0.5797, allocations: 4 kB / 0.8319 GB, free: 18.93 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.004616/0.5843, allocations: 1.265 MB / 0.8331 GB, free: 18.06 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.5843, allocations: 9.156 kB / 0.8332 GB, free: 18.06 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002971/0.5846, allocations: 94.56 kB / 0.8332 GB, free: 18 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.5849, allocations: 314.5 kB / 0.8335 GB, free: 17.76 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.585, allocations: 3.469 kB / 0.8336 GB, free: 17.76 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.585, allocations: 13.41 kB / 0.8336 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004162/0.5854, allocations: 393.4 kB / 0.8339 GB, free: 17.69 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.5854, allocations: 1.156 kB / 0.8339 GB, free: 17.69 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.5854, allocations: 0.75 kB / 0.8339 GB, free: 17.69 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.5854, allocations: 0.9062 kB / 0.8339 GB, free: 17.69 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003977/0.5858, allocations: 433.4 kB / 0.8344 GB, free: 17.69 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005073/0.5863, allocations: 0.6201 MB / 0.835 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005091/0.5868, allocations: 0.5604 MB / 0.8355 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003114/0.5872, allocations: 333 kB / 0.8358 GB, free: 17.25 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005449/0.5877, allocations: 141.3 kB / 0.836 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003738/0.5881, allocations: 415.7 kB / 0.8364 GB, free: 17.14 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 2.314e-06/0.5881, allocations: 4 kB / 0.8364 GB, free: 17.13 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.001395/0.5895, allocations: 1.288 MB / 0.8376 GB, free: 17.02 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.5895, allocations: 83.59 kB / 0.8377 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.5907, allocations: 1.218 MB / 0.8389 GB, free: 16.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.5907, allocations: 32.3 kB / 0.8389 GB, free: 16.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.5908, allocations: 267.8 kB / 0.8392 GB, free: 16.19 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.104e-05/0.5909, allocations: 25.59 kB / 0.8392 GB, free: 16.17 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000312/0.5912, allocations: 351.3 kB / 0.8395 GB, free: 16.07 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.654e-05/0.5912, allocations: 317.1 kB / 0.8398 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/0.5923, allocations: 1.371 MB / 0.8412 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.5934, allocations: 1.502 MB / 0.8426 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005017/0.5985, allocations: 3.562 MB / 0.8461 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.5985, allocations: 0 / 0.8461 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003739/0.6022, allocations: 4.003 MB / 0.85 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.441e-05/0.6022, allocations: 5.828 kB / 0.85 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.898e-05/0.6023, allocations: 1.406 kB / 0.85 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.579e-05/0.6023, allocations: 5.984 kB / 0.85 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.6025, allocations: 23.31 kB / 0.8501 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.6025, allocations: 0.8438 kB / 0.8501 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004875/0.603, allocations: 245.5 kB / 0.8503 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.563e-05/0.603, allocations: 23.97 kB / 0.8503 GB, free: 10.75 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.0003354/0.6033, allocations: 237.3 kB / 0.8505 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.179e-05/0.6034, allocations: 77.69 kB / 0.8506 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009881/0.6044, allocations: 0.9469 MB / 0.8515 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.6044, allocations: 2.047 kB / 0.8515 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.6044, allocations: 1.531 kB / 0.8515 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.6044, allocations: 0.7031 kB / 0.8515 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004885/0.6049, allocations: 465.4 kB / 0.852 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.6049, allocations: 5.25 kB / 0.852 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-05/0.605, allocations: 10.89 kB / 0.852 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/0.605, allocations: 5.734 kB / 0.852 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.605, allocations: 4.016 kB / 0.852 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.605, allocations: 1.219 kB / 0.852 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.605, allocations: 0.6562 kB / 0.852 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009725/0.606, allocations: 1.003 MB / 0.853 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.45e-05/0.606, allocations: 89.94 kB / 0.8531 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.068e-05/0.6061, allocations: 2.672 kB / 0.8531 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.073e-05/0.6062, allocations: 9.312 kB / 0.8531 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.377e-05/0.6062, allocations: 12.7 kB / 0.8531 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.51e-05/0.6063, allocations: 17.28 kB / 0.8531 GB, free: 10 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007096/0.607, allocations: 0.6709 MB / 0.8538 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.607, allocations: 0 / 0.8538 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00248/0.6094, allocations: 0.5809 MB / 0.8543 GB, free: 9.668 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.002004/0.6115, allocations: 0.6981 MB / 0.855 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002048/0.6135, allocations: 2.003 MB / 0.857 GB, free: 8.781 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.6135, allocations: 1.031 kB / 0.857 GB, free: 8.781 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000291/0.6138, allocations: 329.4 kB / 0.8573 GB, free: 8.73 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.6141, allocations: 43.02 kB / 0.8573 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.6159, allocations: 1.808 MB / 0.8591 GB, free: 7.859 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.6162, allocations: 0.9696 MB / 0.8601 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.561e-05/0.6163, allocations: 28.25 kB / 0.8601 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of SimCode: time 1.503e-06/0.6163, allocations: 0 / 0.8601 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of Templates: time 0.01762/0.6339, allocations: 14.05 MB / 0.8738 GB, free: 10.73 MB / 0.6511 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.904668527888134] Failed to read output from testmodel.py, exit status != 0: 0.6407936220057309 0.649078349 0.067664999 Calling exit ...