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.001256/0.001256, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 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.0009997/0.0009997, allocations: 173 kB / 23.02 MB, free: 1.547 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.8935/0.8935, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.7697/0.7697, allocations: 154.9 MB / 414.8 MB, free: 408 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.172e-06/1.172e-06, allocations: 3.938 kB / 0.5208 GB, free: 1.734 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.639e-05/1.756e-05, allocations: 4.141 kB / 0.5208 GB, free: 1.73 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002094/0.002111, allocations: 1.804 MB / 0.5225 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.005601/0.007712, allocations: 5.222 MB / 0.5276 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.628e-05/0.007799, allocations: 3.938 kB / 0.5276 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009629/0.008761, allocations: 348.3 kB / 0.528 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.889e-05/0.00885, allocations: 60.95 kB / 0.528 GB, free: 10.31 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.002983/0.01183, allocations: 1.605 MB / 0.5296 GB, free: 8.707 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000239/0.01207, allocations: 169 kB / 0.5298 GB, free: 8.543 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.156e-05/0.01211, allocations: 13.8 kB / 0.5298 GB, free: 8.531 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.093e-05/0.0122, allocations: 75.8 kB / 0.5298 GB, free: 8.457 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.01238, allocations: 160.6 kB / 0.53 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.16e-05/0.01242, allocations: 12 kB / 0.53 GB, free: 8.289 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002987/0.0154, allocations: 2.46 MB / 0.5324 GB, free: 5.844 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.00018/0.01558, allocations: 287.9 kB / 0.5327 GB, free: 5.559 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.01572, allocations: 164 kB / 0.5328 GB, free: 5.398 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.002687/0.01841, allocations: 2.495 MB / 0.5353 GB, free: 2.898 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.01841, allocations: 1.531 kB / 0.5353 GB, free: 2.898 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.92e-07/0.01841, allocations: 0 / 0.5353 GB, free: 2.898 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.01842, allocations: 0 / 0.5353 GB, free: 2.898 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.004443/0.02287, allocations: 1.469 MB / 0.5367 GB, free: 1.391 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.02291, allocations: 16.02 kB / 0.5367 GB, free: 1.375 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002613/0.02317, allocations: 96.2 kB / 0.5368 GB, free: 1.281 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.02349, allocations: 353 kB / 0.5372 GB, free: 0.9023 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.02351, allocations: 4.375 kB / 0.5372 GB, free: 0.8984 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.02353, allocations: 8.375 kB / 0.5372 GB, free: 0.8906 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.02382, allocations: 370 kB / 0.5375 GB, free: 0.5117 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.02382, allocations: 8.172 kB / 0.5375 GB, free: 0.5039 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.02383, allocations: 2 kB / 0.5375 GB, free: 0.5039 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.02384, allocations: 3.938 kB / 0.5375 GB, free: 0.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003566/0.0242, allocations: 387.7 kB / 0.5379 GB, free: 124 kB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.02466, allocations: 0.6733 MB / 0.5386 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003175/0.02498, allocations: 0.5212 MB / 0.5391 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.02515, allocations: 307.4 kB / 0.5394 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003511/0.0255, allocations: 141.3 kB / 0.5395 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002347/0.02574, allocations: 380.9 kB / 0.5399 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.02574, allocations: 0.6562 kB / 0.5399 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0007989/0.02654, allocations: 1.169 MB / 0.541 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.02658, allocations: 89.92 kB / 0.5411 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00074/0.02732, allocations: 1.279 MB / 0.5423 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.02735, allocations: 32.23 kB / 0.5424 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.02753, allocations: 376.6 kB / 0.5427 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.02755, allocations: 15.91 kB / 0.5427 GB, free: 11.03 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000253/0.02781, allocations: 398.5 kB / 0.5431 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.02792, allocations: 0.5004 MB / 0.5436 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004214/0.02834, allocations: 0.6779 MB / 0.5443 GB, free: 9.453 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006208/0.02896, allocations: 0.8526 MB / 0.5451 GB, free: 8.594 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001659/0.03062, allocations: 2.617 MB / 0.5477 GB, free: 5.883 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.03062, allocations: 4 kB / 0.5477 GB, free: 5.879 MB / 0.5105 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002898/0.03352, allocations: 4.238 MB / 0.5518 GB, free: 1.605 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.03353, allocations: 9.062 kB / 0.5518 GB, free: 1.598 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.03355, allocations: 0 / 0.5518 GB, free: 1.598 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.03356, allocations: 5.719 kB / 0.5518 GB, free: 1.594 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.967e-05/0.03366, allocations: 23.92 kB / 0.5518 GB, free: 1.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.03366, allocations: 0 / 0.5518 GB, free: 1.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002557/0.03392, allocations: 249.2 kB / 0.5521 GB, free: 1.324 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.03395, allocations: 25.58 kB / 0.5521 GB, free: 1.301 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 (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.0001291/0.03408, allocations: 168.5 kB / 0.5523 GB, free: 1.125 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.957e-05/0.03413, allocations: 79.25 kB / 0.5523 GB, free: 1.047 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005839/0.03472, allocations: 0.8602 MB / 0.5532 GB, free: 188 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.03472, allocations: 3.984 kB / 0.5532 GB, free: 184 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.03472, allocations: 3.938 kB / 0.5532 GB, free: 180 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.03473, allocations: 8.922 kB / 0.5532 GB, free: 172 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003324/0.03506, allocations: 0.5173 MB / 0.5537 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.03506, allocations: 0 / 0.5537 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.934e-05/0.0351, allocations: 5.125 kB / 0.5537 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.03511, allocations: 4 kB / 0.5537 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.03512, allocations: 5.672 kB / 0.5537 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.03512, allocations: 0 / 0.5537 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.03512, allocations: 4 kB / 0.5537 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005313/0.03565, allocations: 0.9428 MB / 0.5546 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-05/0.03571, allocations: 87.88 kB / 0.5547 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.768e-05/0.03575, allocations: 0 / 0.5547 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.05e-05/0.03582, allocations: 15.02 kB / 0.5547 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/0.03585, allocations: 7.938 kB / 0.5548 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.03587, allocations: 15.97 kB / 0.5548 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003918/0.03626, allocations: 0.5973 MB / 0.5554 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.03626, allocations: 0 / 0.5554 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001036/0.0373, allocations: 0.5923 MB / 0.5559 GB, free: 13.32 MB / 0.5261 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.001355/0.03865, allocations: 0.7984 MB / 0.5567 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000943/0.03959, allocations: 1.413 MB / 0.5581 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.0396, allocations: 4.906 kB / 0.5581 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001858/0.03978, allocations: 307.4 kB / 0.5584 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.04005, allocations: 54 kB / 0.5584 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.04148, allocations: 1.689 MB / 0.5601 GB, free: 9.043 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.04159, allocations: 198.1 kB / 0.5603 GB, free: 8.832 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 8.403e-05/0.04167, allocations: 31.78 kB / 0.5603 GB, free: 8.805 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.476e-05/0.04175, allocations: 33.88 kB / 0.5603 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of SimCode: time 6.41e-07/0.04175, allocations: 0 / 0.5603 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of Templates: time 0.01902/0.06077, allocations: 16.91 MB / 0.5768 GB, free: 8.105 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.14671632507816]