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.001453/0.001453, 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.001597/0.001597, allocations: 173 kB / 23.49 MB, free: 1.062 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.9979/0.9979, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.7669/0.7669, allocations: 154.8 MB / 415.1 MB, free: 0.5117 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.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.884e-06/1.884e-06, allocations: 0 / 0.5207 GB, free: 1.117 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.091e-05/2.279e-05, allocations: 2.312 kB / 0.5207 GB, free: 1.113 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002479/0.002502, allocations: 1.46 MB / 0.5221 GB, free: 15.67 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.006394/0.008896, allocations: 4.024 MB / 0.526 GB, free: 11.64 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.881e-05/0.008955, allocations: 3.938 kB / 0.526 GB, free: 11.64 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.009074, allocations: 11.86 kB / 0.526 GB, free: 11.62 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002532/0.009327, allocations: 41.36 kB / 0.5261 GB, free: 11.59 MB / 458.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.003265/0.01259, allocations: 1.595 MB / 0.5276 GB, free: 9.996 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.01274, allocations: 100.3 kB / 0.5277 GB, free: 9.898 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.263e-05/0.01278, allocations: 4 kB / 0.5277 GB, free: 9.895 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.892e-05/0.01288, allocations: 61.09 kB / 0.5278 GB, free: 9.836 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.0131, allocations: 143.7 kB / 0.5279 GB, free: 9.695 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.81e-05/0.01314, allocations: 16 kB / 0.5279 GB, free: 9.68 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003169/0.01631, allocations: 2.405 MB / 0.5303 GB, free: 7.273 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.01654, allocations: 271.9 kB / 0.5306 GB, free: 7.008 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.01671, allocations: 156 kB / 0.5307 GB, free: 6.855 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002732/0.01944, allocations: 2.458 MB / 0.5331 GB, free: 4.391 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.01944, allocations: 0 / 0.5331 GB, free: 4.391 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.01945, allocations: 0 / 0.5331 GB, free: 4.391 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.01945, allocations: 4 kB / 0.5331 GB, free: 4.387 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.005086/0.02454, allocations: 1.396 MB / 0.5345 GB, free: 2.949 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.02458, allocations: 8.031 kB / 0.5345 GB, free: 2.941 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002627/0.02484, allocations: 93.75 kB / 0.5346 GB, free: 2.852 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.0251, allocations: 313.2 kB / 0.5349 GB, free: 2.508 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.02512, allocations: 4.375 kB / 0.5349 GB, free: 2.504 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.02514, allocations: 8.875 kB / 0.5349 GB, free: 2.496 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.02543, allocations: 372.6 kB / 0.5352 GB, free: 2.117 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.02544, allocations: 4.188 kB / 0.5352 GB, free: 2.113 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.02545, allocations: 384 / 0.5352 GB, free: 2.113 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.02545, allocations: 7.875 kB / 0.5352 GB, free: 2.105 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002277/0.02568, allocations: 383.8 kB / 0.5356 GB, free: 1.73 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004109/0.02609, allocations: 0.6337 MB / 0.5362 GB, free: 1.062 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00032/0.02641, allocations: 0.5214 MB / 0.5367 GB, free: 0.5156 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/0.02663, allocations: 307.2 kB / 0.537 GB, free: 212 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000371/0.027, allocations: 148.5 kB / 0.5372 GB, free: 68 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002532/0.02725, allocations: 382.6 kB / 0.5375 GB, free: 15.67 MB / 474.7 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.02725, allocations: 0 / 0.5375 GB, free: 15.67 MB / 474.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007895/0.02804, allocations: 1.172 MB / 0.5387 GB, free: 14.49 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.02808, allocations: 81.05 kB / 0.5388 GB, free: 14.39 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007101/0.02879, allocations: 1.199 MB / 0.5399 GB, free: 13.18 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.743e-05/0.02889, allocations: 28.11 kB / 0.54 GB, free: 13.15 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.02904, allocations: 344.7 kB / 0.5403 GB, free: 12.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.02907, allocations: 23.78 kB / 0.5403 GB, free: 12.78 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002377/0.02931, allocations: 406.5 kB / 0.5407 GB, free: 12.38 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.735e-05/0.0294, allocations: 488.4 kB / 0.5412 GB, free: 11.89 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004172/0.02982, allocations: 0.6781 MB / 0.5418 GB, free: 11.21 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004866/0.03031, allocations: 0.8452 MB / 0.5426 GB, free: 10.36 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001653/0.03196, allocations: 2.625 MB / 0.5452 GB, free: 7.641 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.03196, allocations: 1.281 kB / 0.5452 GB, free: 7.641 MB / 474.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002754/0.03472, allocations: 4.227 MB / 0.5493 GB, free: 3.379 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.03473, allocations: 4.656 kB / 0.5493 GB, free: 3.375 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.03475, allocations: 7.984 kB / 0.5494 GB, free: 3.367 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.03476, allocations: 0.625 kB / 0.5494 GB, free: 3.367 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.03486, allocations: 32.86 kB / 0.5494 GB, free: 3.336 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.03487, allocations: 0 / 0.5494 GB, free: 3.336 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/0.03511, allocations: 238.8 kB / 0.5496 GB, free: 3.102 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/0.03514, allocations: 23.98 kB / 0.5496 GB, free: 3.078 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 (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.000116/0.03525, allocations: 164.5 kB / 0.5498 GB, free: 2.906 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.302e-05/0.0353, allocations: 84.25 kB / 0.5499 GB, free: 2.824 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005642/0.03586, allocations: 0.8426 MB / 0.5507 GB, free: 1.977 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.03587, allocations: 0.625 kB / 0.5507 GB, free: 1.977 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.03587, allocations: 3.938 kB / 0.5507 GB, free: 1.973 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.03587, allocations: 5.25 kB / 0.5507 GB, free: 1.969 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002891/0.03616, allocations: 0.4922 MB / 0.5512 GB, free: 1.445 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.03616, allocations: 0 / 0.5512 GB, free: 1.445 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.423e-05/0.0362, allocations: 5.375 kB / 0.5512 GB, free: 1.441 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.0362, allocations: 4 kB / 0.5512 GB, free: 1.438 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.03621, allocations: 3.984 kB / 0.5512 GB, free: 1.434 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.03621, allocations: 2 kB / 0.5512 GB, free: 1.434 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.03621, allocations: 0 / 0.5512 GB, free: 1.434 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005178/0.03673, allocations: 0.9304 MB / 0.5521 GB, free: 488 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-05/0.03678, allocations: 83.23 kB / 0.5522 GB, free: 404 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.03682, allocations: 4 kB / 0.5522 GB, free: 400 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.132e-05/0.03688, allocations: 1.031 kB / 0.5522 GB, free: 400 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.03691, allocations: 19.86 kB / 0.5522 GB, free: 380 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/0.03694, allocations: 17.41 kB / 0.5522 GB, free: 364 kB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003518/0.03729, allocations: 0.5557 MB / 0.5528 GB, free: 15.79 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03729, allocations: 0 / 0.5528 GB, free: 15.79 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008893/0.03818, allocations: 0.5845 MB / 0.5533 GB, free: 15.21 MB / 490.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.001361/0.03954, allocations: 0.8004 MB / 0.5541 GB, free: 14.44 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0009116/0.04045, allocations: 1.415 MB / 0.5555 GB, free: 13.01 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.04045, allocations: 0 / 0.5555 GB, free: 13.01 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.04063, allocations: 309.9 kB / 0.5558 GB, free: 12.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.04085, allocations: 44.53 kB / 0.5558 GB, free: 12.66 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.042, allocations: 1.585 MB / 0.5574 GB, free: 11.04 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.994e-05/0.0421, allocations: 188.8 kB / 0.5576 GB, free: 10.83 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.776e-05/0.04218, allocations: 35.72 kB / 0.5576 GB, free: 10.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.677e-05/0.04224, allocations: 24.48 kB / 0.5576 GB, free: 10.78 MB / 490.7 MB Notification: Performance of SimCode: time 1.062e-06/0.04224, allocations: 0 / 0.5576 GB, free: 10.78 MB / 490.7 MB Notification: Performance of Templates: time 0.01544/0.05768, allocations: 14.34 MB / 0.5716 GB, free: 12.67 MB / 0.4948 GB " [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 -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.1128998880740255]