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.0008866/0.0008866, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.000924/0.000924, allocations: 169 kB / 23.27 MB, free: 1.223 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.9588/0.9588, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.7559/0.7559, allocations: 154.9 MB / 415.1 MB, free: 276 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_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: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.5212 GB, free: 1.438 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.407e-05/2.573e-05, allocations: 3.297 kB / 0.5212 GB, free: 1.434 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003108/0.003134, allocations: 1.786 MB / 0.523 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.00691/0.01004, allocations: 5.109 MB / 0.5279 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.99e-05/0.01012, allocations: 7.938 kB / 0.528 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008508/0.01097, allocations: 338.1 kB / 0.5283 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.024e-05/0.01104, allocations: 63.66 kB / 0.5283 GB, free: 10.15 MB / 0.4948 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.002179/0.01322, allocations: 1.621 MB / 0.5299 GB, free: 8.531 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.01339, allocations: 167.3 kB / 0.5301 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.004e-05/0.01342, allocations: 9.797 kB / 0.5301 GB, free: 8.359 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.562e-05/0.01349, allocations: 79.73 kB / 0.5302 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.266e-05/0.01357, allocations: 58.2 kB / 0.5302 GB, free: 8.223 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.01359, allocations: 11.94 kB / 0.5302 GB, free: 8.211 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002004/0.01559, allocations: 2.417 MB / 0.5326 GB, free: 5.809 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.01573, allocations: 264.5 kB / 0.5328 GB, free: 5.551 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.791e-05/0.01582, allocations: 143.3 kB / 0.533 GB, free: 5.41 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001659/0.01748, allocations: 2.365 MB / 0.5353 GB, free: 3.039 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.01748, allocations: 0.5938 kB / 0.5353 GB, free: 3.039 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.62e-07/0.01749, allocations: 0 / 0.5353 GB, free: 3.039 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.88e-06/0.01749, allocations: 1.219 kB / 0.5353 GB, free: 3.039 MB / 0.4948 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.001112/0.0186, allocations: 1.447 MB / 0.5367 GB, free: 1.551 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.01864, allocations: 12.97 kB / 0.5367 GB, free: 1.539 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002071/0.01884, allocations: 101 kB / 0.5368 GB, free: 1.441 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.01912, allocations: 343.2 kB / 0.5371 GB, free: 1.07 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.01912, allocations: 384 / 0.5371 GB, free: 1.07 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.01915, allocations: 18.75 kB / 0.5372 GB, free: 1.055 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.01937, allocations: 226.2 kB / 0.5374 GB, free: 0.8164 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.01937, allocations: 192 / 0.5374 GB, free: 0.8164 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-06/0.01938, allocations: 384 / 0.5374 GB, free: 0.8164 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.01938, allocations: 3.938 kB / 0.5374 GB, free: 0.8125 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.01951, allocations: 202.9 kB / 0.5376 GB, free: 0.6172 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003211/0.01983, allocations: 0.5135 MB / 0.5381 GB, free: 76 kB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.02002, allocations: 294 kB / 0.5384 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.685e-05/0.02012, allocations: 163.3 kB / 0.5385 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002864/0.0204, allocations: 136.4 kB / 0.5386 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/0.02058, allocations: 233.7 kB / 0.5389 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.02058, allocations: 0 / 0.5389 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0005393/0.02112, allocations: 0.7635 MB / 0.5396 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.02115, allocations: 81.11 kB / 0.5397 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006824/0.02183, allocations: 1.28 MB / 0.5409 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.02186, allocations: 29.7 kB / 0.541 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.02203, allocations: 384.4 kB / 0.5413 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.02206, allocations: 27.77 kB / 0.5414 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002408/0.0223, allocations: 423.6 kB / 0.5418 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.02241, allocations: 0.4965 MB / 0.5422 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002923/0.0227, allocations: 498.3 kB / 0.5427 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003858/0.02309, allocations: 0.6606 MB / 0.5434 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/0.02452, allocations: 2.255 MB / 0.5456 GB, free: 8.184 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.02452, allocations: 2.75 kB / 0.5456 GB, free: 8.184 MB / 0.5105 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002399/0.02692, allocations: 3.855 MB / 0.5493 GB, free: 4.293 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.02693, allocations: 4 kB / 0.5493 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.02694, allocations: 4 kB / 0.5493 GB, free: 4.285 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.02695, allocations: 0 / 0.5493 GB, free: 4.285 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.127e-05/0.02703, allocations: 23.98 kB / 0.5494 GB, free: 4.262 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.02704, allocations: 6.156 kB / 0.5494 GB, free: 4.258 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.02727, allocations: 237.4 kB / 0.5496 GB, free: 4.023 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/0.0273, allocations: 23.98 kB / 0.5496 GB, free: 4 MB / 0.5105 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 (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.0001163/0.02742, allocations: 170.2 kB / 0.5498 GB, free: 3.824 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.255e-05/0.02746, allocations: 83.25 kB / 0.5499 GB, free: 3.742 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004098/0.02787, allocations: 0.5899 MB / 0.5504 GB, free: 3.148 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.02787, allocations: 0 / 0.5504 GB, free: 3.148 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.02788, allocations: 0 / 0.5504 GB, free: 3.148 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.02788, allocations: 3.938 kB / 0.5504 GB, free: 3.145 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.02813, allocations: 397.1 kB / 0.5508 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.02813, allocations: 0 / 0.5508 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.306e-05/0.02816, allocations: 4 kB / 0.5508 GB, free: 2.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.02816, allocations: 0 / 0.5508 GB, free: 2.73 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.02817, allocations: 5.031 kB / 0.5508 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.02817, allocations: 3.984 kB / 0.5508 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.02818, allocations: 0.5 kB / 0.5508 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003799/0.02855, allocations: 0.6629 MB / 0.5515 GB, free: 2.035 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.451e-05/0.02861, allocations: 91.25 kB / 0.5516 GB, free: 1.945 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.02864, allocations: 3.984 kB / 0.5516 GB, free: 1.941 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.573e-05/0.02871, allocations: 8.75 kB / 0.5516 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.049e-05/0.02873, allocations: 7.984 kB / 0.5516 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.02875, allocations: 14.45 kB / 0.5516 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003053/0.02905, allocations: 0.5697 MB / 0.5522 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.02905, allocations: 0 / 0.5522 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000752/0.02981, allocations: 0.5845 MB / 0.5527 GB, free: 0.7539 MB / 0.5105 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.001133/0.03094, allocations: 0.7955 MB / 0.5535 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007004/0.03164, allocations: 1.09 MB / 0.5546 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.03164, allocations: 0 / 0.5546 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.03174, allocations: 171.5 kB / 0.5547 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.03199, allocations: 70.33 kB / 0.5548 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.03309, allocations: 1.537 MB / 0.5563 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.03319, allocations: 191.6 kB / 0.5565 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.815e-05/0.03327, allocations: 39.52 kB / 0.5565 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.03342, allocations: 118.2 kB / 0.5566 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of SimCode: time 9.22e-07/0.03342, allocations: 0 / 0.5566 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of Templates: time 0.01729/0.05071, allocations: 16.45 MB / 0.5727 GB, free: 12.51 MB / 0.5417 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.100108569953591]