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.0009721/0.0009721, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.001701/0.001701, allocations: 173 kB / 23.36 MB, free: 1.129 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.982/0.982, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.8053/0.8053, allocations: 154.9 MB / 415.1 MB, free: 196 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 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: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 480.5 MB, free: 6.41 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.629e-05, allocations: 2.969 kB / 480.5 MB, free: 6.406 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002261/0.002287, allocations: 1.517 MB / 482 MB, free: 4.918 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006418/0.008705, allocations: 4.035 MB / 486 MB, free: 0.9062 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.665e-05/0.008802, allocations: 3.938 kB / 486 MB, free: 0.9023 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001309/0.008933, allocations: 16.73 kB / 486.1 MB, free: 0.8867 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002759/0.009209, allocations: 32.53 kB / 486.1 MB, free: 0.8555 MB / 442.7 MB [/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.004287/0.0135, allocations: 1.438 MB / 487.5 MB, free: 15.43 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.01364, allocations: 100.5 kB / 487.6 MB, free: 15.33 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.913e-05/0.01368, allocations: 0 / 487.6 MB, free: 15.33 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.673e-05/0.01377, allocations: 60.81 kB / 487.7 MB, free: 15.27 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.01388, allocations: 53.17 kB / 487.7 MB, free: 15.22 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.0139, allocations: 5.219 kB / 487.7 MB, free: 15.21 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003336/0.01723, allocations: 2.577 MB / 490.3 MB, free: 12.65 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.01741, allocations: 247.3 kB / 490.6 MB, free: 12.41 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.01751, allocations: 119.4 kB / 490.7 MB, free: 12.29 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003576/0.02108, allocations: 2.334 MB / 493 MB, free: 9.949 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.02109, allocations: 0 / 493 MB, free: 9.949 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.02109, allocations: 0.8125 kB / 493 MB, free: 9.949 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.0211, allocations: 0 / 493 MB, free: 9.949 MB / 458.7 MB 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.001448/0.02255, allocations: 1.205 MB / 494.2 MB, free: 8.719 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.02258, allocations: 12.03 kB / 494.2 MB, free: 8.707 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002364/0.02282, allocations: 32.88 kB / 494.3 MB, free: 8.676 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.02309, allocations: 291.2 kB / 494.5 MB, free: 8.355 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.0231, allocations: 8.359 kB / 494.6 MB, free: 8.348 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.02312, allocations: 6.141 kB / 494.6 MB, free: 8.344 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.02334, allocations: 233.8 kB / 494.8 MB, free: 8.102 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.02335, allocations: 192 / 494.8 MB, free: 8.102 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.02336, allocations: 384 / 494.8 MB, free: 8.102 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.02336, allocations: 10.28 kB / 494.8 MB, free: 8.094 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.02349, allocations: 191.9 kB / 495 MB, free: 7.906 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002319/0.02372, allocations: 252.5 kB / 495.2 MB, free: 7.641 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.02391, allocations: 289.6 kB / 495.5 MB, free: 7.34 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.494e-05/0.024, allocations: 158.3 kB / 495.7 MB, free: 7.18 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003145/0.02432, allocations: 137.1 kB / 495.8 MB, free: 7.051 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001968/0.02451, allocations: 229.9 kB / 496 MB, free: 6.809 MB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 1.442e-06/0.02451, allocations: 0 / 496 MB, free: 6.809 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004162/0.02493, allocations: 494.8 kB / 496.5 MB, free: 6.32 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.02497, allocations: 81.11 kB / 496.6 MB, free: 6.223 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005472/0.02552, allocations: 0.9977 MB / 497.6 MB, free: 5.211 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.02555, allocations: 33.7 kB / 497.6 MB, free: 5.172 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.02566, allocations: 262.8 kB / 497.9 MB, free: 4.91 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.02569, allocations: 27.81 kB / 497.9 MB, free: 4.883 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/0.02591, allocations: 331.2 kB / 498.2 MB, free: 4.555 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.111e-05/0.02598, allocations: 314.8 kB / 498.5 MB, free: 4.242 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005818/0.02656, allocations: 0.5106 MB / 499 MB, free: 3.73 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003544/0.02691, allocations: 0.6003 MB / 499.6 MB, free: 3.121 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001506/0.02842, allocations: 2.245 MB / 0.4901 GB, free: 0.7852 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.02842, allocations: 0 / 0.4901 GB, free: 0.7852 MB / 458.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002625/0.03105, allocations: 3.725 MB / 0.4938 GB, free: 13.04 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.03107, allocations: 4.781 kB / 0.4938 GB, free: 13.03 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/0.03109, allocations: 7.938 kB / 0.4938 GB, free: 13.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.0311, allocations: 4.578 kB / 0.4938 GB, free: 13.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.03122, allocations: 24.81 kB / 0.4938 GB, free: 13 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.03123, allocations: 3.984 kB / 0.4938 GB, free: 12.99 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005268/0.03175, allocations: 239.2 kB / 0.494 GB, free: 12.76 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.599e-05/0.03179, allocations: 19.98 kB / 0.4941 GB, free: 12.74 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (labels[1],cluSiz[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.0001442/0.03193, allocations: 120.6 kB / 0.4942 GB, free: 12.61 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.03196, allocations: 7.984 kB / 0.4942 GB, free: 12.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003286/0.03229, allocations: 376.4 kB / 0.4945 GB, free: 12.23 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.03229, allocations: 0 / 0.4945 GB, free: 12.23 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.0323, allocations: 4 kB / 0.4945 GB, free: 12.22 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.0323, allocations: 9.188 kB / 0.4946 GB, free: 12.21 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.03253, allocations: 282.7 kB / 0.4948 GB, free: 11.92 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.03253, allocations: 5.469 kB / 0.4948 GB, free: 11.92 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.565e-05/0.03258, allocations: 4 kB / 0.4948 GB, free: 11.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.03259, allocations: 0 / 0.4948 GB, free: 11.91 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.0326, allocations: 8.672 kB / 0.4948 GB, free: 11.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.0326, allocations: 0 / 0.4948 GB, free: 11.91 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.0326, allocations: 1.188 kB / 0.4948 GB, free: 11.91 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.03285, allocations: 370.9 kB / 0.4952 GB, free: 11.52 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.039e-05/0.03291, allocations: 93 kB / 0.4953 GB, free: 11.43 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.03295, allocations: 5.141 kB / 0.4953 GB, free: 11.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.992e-05/0.03302, allocations: 4 kB / 0.4953 GB, free: 11.43 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.717e-05/0.03304, allocations: 4.891 kB / 0.4953 GB, free: 11.42 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.03307, allocations: 11.98 kB / 0.4953 GB, free: 11.41 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00026/0.03333, allocations: 396.7 kB / 0.4957 GB, free: 11.02 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03333, allocations: 0 / 0.4957 GB, free: 11.02 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001118/0.03445, allocations: 0.5806 MB / 0.4963 GB, free: 10.43 MB / 474.7 MB 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.001544/0.03599, allocations: 0.813 MB / 0.497 GB, free: 9.672 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007971/0.03679, allocations: 0.9691 MB / 0.498 GB, free: 8.688 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.488e-05/0.0368, allocations: 12 kB / 0.498 GB, free: 8.676 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.03692, allocations: 169.3 kB / 0.4982 GB, free: 8.508 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.03715, allocations: 38.42 kB / 0.4982 GB, free: 8.469 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.03837, allocations: 1.441 MB / 0.4996 GB, free: 6.996 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.03848, allocations: 191.1 kB / 0.4998 GB, free: 6.789 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 9.226e-05/0.03857, allocations: 32.22 kB / 0.4998 GB, free: 6.773 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.0387, allocations: 71.34 kB / 0.4999 GB, free: 6.703 MB / 474.7 MB Notification: Performance of SimCode: time 1.222e-06/0.0387, allocations: 0 / 0.4999 GB, free: 6.703 MB / 474.7 MB Notification: Performance of Templates: time 0.02029/0.05899, allocations: 15.47 MB / 0.515 GB, free: 7.617 MB / 490.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.285569408908486]