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.00136/0.00136, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001532/0.001532, allocations: 169 kB / 24.05 MB, free: 460 kB / 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.8941/0.8941, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.7585/0.7585, allocations: 154.9 MB / 415.9 MB, free: 244 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.162e-06/1.162e-06, allocations: 0 / 0.522 GB, free: 1.449 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.277e-05/1.394e-05, allocations: 5.375 kB / 0.522 GB, free: 1.445 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002129/0.002143, allocations: 1.792 MB / 0.5237 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004968/0.007111, allocations: 5.113 MB / 0.5287 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.485e-05/0.007186, allocations: 0 / 0.5287 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008429/0.008028, allocations: 346.5 kB / 0.5291 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.128e-05/0.00811, allocations: 59.67 kB / 0.5291 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.002794/0.0109, allocations: 1.62 MB / 0.5307 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.01109, allocations: 159.3 kB / 0.5308 GB, free: 8.379 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.423e-05/0.01112, allocations: 9.797 kB / 0.5309 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.294e-05/0.01119, allocations: 90.17 kB / 0.5309 GB, free: 8.285 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.089e-05/0.01128, allocations: 61.11 kB / 0.531 GB, free: 8.223 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.0113, allocations: 4 kB / 0.531 GB, free: 8.219 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00222/0.01352, allocations: 2.411 MB / 0.5334 GB, free: 5.82 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.01365, allocations: 263.2 kB / 0.5336 GB, free: 5.562 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.01375, allocations: 137.8 kB / 0.5337 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001813/0.01557, allocations: 2.364 MB / 0.536 GB, free: 3.059 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.01557, allocations: 4 kB / 0.5361 GB, free: 3.055 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.51e-07/0.01557, allocations: 0 / 0.5361 GB, free: 3.055 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.01557, allocations: 6.5 kB / 0.5361 GB, free: 3.051 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.00141/0.01698, allocations: 1.447 MB / 0.5375 GB, free: 1.562 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.564e-05/0.01701, allocations: 8.031 kB / 0.5375 GB, free: 1.555 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002155/0.01723, allocations: 101.5 kB / 0.5376 GB, free: 1.457 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.01749, allocations: 342.5 kB / 0.5379 GB, free: 1.086 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.0175, allocations: 8.375 kB / 0.5379 GB, free: 1.078 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.01752, allocations: 9.828 kB / 0.5379 GB, free: 1.07 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.01771, allocations: 234.2 kB / 0.5381 GB, free: 0.8242 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.01772, allocations: 192 / 0.5381 GB, free: 0.8242 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-06/0.01772, allocations: 4.938 kB / 0.5381 GB, free: 0.8203 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.01773, allocations: 4.562 kB / 0.5382 GB, free: 0.8164 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.01785, allocations: 196.8 kB / 0.5383 GB, free: 0.625 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003171/0.01817, allocations: 0.5135 MB / 0.5388 GB, free: 84 kB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.01835, allocations: 299.5 kB / 0.5391 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.118e-05/0.01844, allocations: 159.3 kB / 0.5393 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002859/0.01873, allocations: 137 kB / 0.5394 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/0.01889, allocations: 233.5 kB / 0.5396 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 8.71e-07/0.0189, allocations: 0 / 0.5396 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0005431/0.01944, allocations: 0.7598 MB / 0.5404 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.01947, allocations: 85.11 kB / 0.5405 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000678/0.02015, allocations: 1.282 MB / 0.5417 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.02017, allocations: 29.7 kB / 0.5417 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.02033, allocations: 381.6 kB / 0.5421 GB, free: 12.65 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.02036, allocations: 23.83 kB / 0.5421 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002397/0.0206, allocations: 426.2 kB / 0.5425 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.02071, allocations: 0.4971 MB / 0.543 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002944/0.021, allocations: 0.4963 MB / 0.5435 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006131/0.02162, allocations: 0.6562 MB / 0.5441 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/0.02307, allocations: 2.254 MB / 0.5463 GB, free: 8.188 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.02307, allocations: 0 / 0.5463 GB, free: 8.188 MB / 0.5105 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002467/0.02554, allocations: 3.852 MB / 0.5501 GB, free: 4.301 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.02556, allocations: 5.312 kB / 0.5501 GB, free: 4.297 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.02557, allocations: 4 kB / 0.5501 GB, free: 4.293 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.645e-06/0.02557, allocations: 0 / 0.5501 GB, free: 4.293 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.173e-05/0.02567, allocations: 25.3 kB / 0.5501 GB, free: 4.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.02567, allocations: 3.938 kB / 0.5501 GB, free: 4.266 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.02592, allocations: 237.4 kB / 0.5504 GB, free: 4.031 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/0.02595, allocations: 24.48 kB / 0.5504 GB, free: 4.008 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.0001685/0.02611, allocations: 169.2 kB / 0.5506 GB, free: 3.832 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.732e-05/0.02616, allocations: 85.53 kB / 0.5506 GB, free: 3.75 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004105/0.02657, allocations: 0.5851 MB / 0.5512 GB, free: 3.16 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.02657, allocations: 0 / 0.5512 GB, free: 3.16 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.02658, allocations: 0.7812 kB / 0.5512 GB, free: 3.16 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.02658, allocations: 7.938 kB / 0.5512 GB, free: 3.152 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.02682, allocations: 390.3 kB / 0.5516 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.02682, allocations: 0 / 0.5516 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.185e-05/0.02686, allocations: 4 kB / 0.5516 GB, free: 2.746 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.02686, allocations: 0 / 0.5516 GB, free: 2.746 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.02686, allocations: 4 kB / 0.5516 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.02687, allocations: 3.984 kB / 0.5516 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.02687, allocations: 0 / 0.5516 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003764/0.02724, allocations: 0.6668 MB / 0.5522 GB, free: 2.047 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.646e-05/0.0273, allocations: 87.25 kB / 0.5523 GB, free: 1.961 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.668e-05/0.02734, allocations: 8.797 kB / 0.5523 GB, free: 1.953 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-05/0.02741, allocations: 4 kB / 0.5523 GB, free: 1.949 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.516e-05/0.02743, allocations: 12.73 kB / 0.5524 GB, free: 1.938 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.02745, allocations: 11.98 kB / 0.5524 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000318/0.02777, allocations: 0.5745 MB / 0.5529 GB, free: 1.348 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.02777, allocations: 0 / 0.5529 GB, free: 1.348 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008227/0.02859, allocations: 0.5923 MB / 0.5535 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.001207/0.0298, allocations: 0.7945 MB / 0.5543 GB, free: 16 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007291/0.03053, allocations: 1.083 MB / 0.5553 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.03053, allocations: 4 kB / 0.5553 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.03064, allocations: 171.5 kB / 0.5555 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.03088, allocations: 61.3 kB / 0.5556 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.032, allocations: 1.541 MB / 0.5571 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.03211, allocations: 195.6 kB / 0.5573 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 8.325e-05/0.03219, allocations: 36.86 kB / 0.5573 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.03233, allocations: 110.8 kB / 0.5574 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of SimCode: time 6.92e-07/0.03233, allocations: 0 / 0.5574 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of Templates: time 0.01705/0.04938, allocations: 16.51 MB / 0.5735 GB, free: 12.46 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.235056446865201]