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.001429/0.001429, allocations: 88.72 kB / 19.44 MB, free: 356 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.001621/0.001621, allocations: 157.6 kB / 22.76 MB, free: 1.68 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 1.493/1.493, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 1.265/1.265, allocations: 154.8 MB / 414.4 MB, free: 448 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 178] 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.804e-06/1.804e-06, allocations: 0 / 0.5199 GB, free: 2.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.517e-05/3.697e-05, allocations: 3.438 kB / 0.5199 GB, free: 2.176 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002867/0.002904, allocations: 1.421 MB / 0.5213 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.008198/0.0111, allocations: 3.858 MB / 0.5251 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.808e-05/0.01117, allocations: 0 / 0.5251 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.0113, allocations: 11.86 kB / 0.5251 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002827/0.01158, allocations: 39.7 kB / 0.5251 GB, free: 12.86 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.005069/0.01665, allocations: 1.598 MB / 0.5267 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.01684, allocations: 95.67 kB / 0.5268 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.71e-05/0.01689, allocations: 7.984 kB / 0.5268 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.01703, allocations: 57.31 kB / 0.5269 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003106/0.01734, allocations: 139.7 kB / 0.527 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.783e-05/0.01741, allocations: 16 kB / 0.527 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005447/0.02285, allocations: 2.409 MB / 0.5294 GB, free: 8.551 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003358/0.02319, allocations: 279.9 kB / 0.5296 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002554/0.02344, allocations: 148 kB / 0.5298 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.005021/0.02846, allocations: 2.455 MB / 0.5322 GB, free: 5.668 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.02847, allocations: 2.438 kB / 0.5322 GB, free: 5.668 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.793e-06/0.02847, allocations: 0 / 0.5322 GB, free: 5.668 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.792e-05/0.02849, allocations: 0 / 0.5322 GB, free: 5.668 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.009421/0.03791, allocations: 1.272 MB / 0.5334 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.03796, allocations: 8.031 kB / 0.5334 GB, free: 4.352 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005336/0.03849, allocations: 97.89 kB / 0.5335 GB, free: 4.258 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000549/0.03904, allocations: 310.4 kB / 0.5338 GB, free: 3.918 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.03906, allocations: 4.375 kB / 0.5338 GB, free: 3.914 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.017e-05/0.0391, allocations: 5.031 kB / 0.5338 GB, free: 3.91 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005704/0.03967, allocations: 399.2 kB / 0.5342 GB, free: 3.512 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.03968, allocations: 4.125 kB / 0.5342 GB, free: 3.508 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.0397, allocations: 384 / 0.5342 GB, free: 3.508 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.0397, allocations: 3.938 kB / 0.5342 GB, free: 3.504 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007993/0.0405, allocations: 431.8 kB / 0.5346 GB, free: 3.082 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000764/0.04127, allocations: 0.5692 MB / 0.5352 GB, free: 2.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006989/0.04197, allocations: 0.566 MB / 0.5357 GB, free: 1.898 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004145/0.04238, allocations: 333.7 kB / 0.536 GB, free: 1.566 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007316/0.04311, allocations: 136.9 kB / 0.5362 GB, free: 1.438 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005413/0.04365, allocations: 400.8 kB / 0.5366 GB, free: 1.027 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.04365, allocations: 5.25 kB / 0.5366 GB, free: 1.023 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.001865/0.04552, allocations: 1.299 MB / 0.5378 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.059e-05/0.0456, allocations: 85.05 kB / 0.5379 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001598/0.0472, allocations: 1.219 MB / 0.5391 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.811e-05/0.04726, allocations: 25.7 kB / 0.5391 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002677/0.04752, allocations: 266.5 kB / 0.5394 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.523e-05/0.04757, allocations: 19.86 kB / 0.5394 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004196/0.04799, allocations: 348.2 kB / 0.5397 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001901/0.04818, allocations: 310.8 kB / 0.54 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001679/0.04986, allocations: 1.369 MB / 0.5414 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00204/0.0519, allocations: 1.507 MB / 0.5428 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008649/0.06055, allocations: 3.561 MB / 0.5463 GB, free: 6.875 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.06055, allocations: 0 / 0.5463 GB, free: 6.875 MB / 0.5105 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005952/0.0665, allocations: 4.008 MB / 0.5502 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.06653, allocations: 8.656 kB / 0.5502 GB, free: 2.824 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/0.06655, allocations: 3.938 kB / 0.5502 GB, free: 2.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.06657, allocations: 4.75 kB / 0.5502 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.06672, allocations: 21.45 kB / 0.5503 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.06673, allocations: 0 / 0.5503 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005696/0.0673, allocations: 253.3 kB / 0.5505 GB, free: 2.547 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.87e-05/0.06736, allocations: 20.3 kB / 0.5505 GB, free: 2.527 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.0003771/0.06773, allocations: 254.8 kB / 0.5508 GB, free: 2.273 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.06784, allocations: 75.3 kB / 0.5508 GB, free: 2.199 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.06914, allocations: 0.9415 MB / 0.5518 GB, free: 1.25 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/0.06915, allocations: 0 / 0.5518 GB, free: 1.25 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.06916, allocations: 3.938 kB / 0.5518 GB, free: 1.246 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.06916, allocations: 0 / 0.5518 GB, free: 1.246 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005527/0.06971, allocations: 447.4 kB / 0.5522 GB, free: 0.7812 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.06972, allocations: 1.25 kB / 0.5522 GB, free: 0.7812 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.988e-05/0.0698, allocations: 7.938 kB / 0.5522 GB, free: 0.7734 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.0698, allocations: 0.6875 kB / 0.5522 GB, free: 0.7734 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.06982, allocations: 7.984 kB / 0.5522 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.06982, allocations: 1.219 kB / 0.5522 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.06982, allocations: 0 / 0.5522 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.07105, allocations: 1.007 MB / 0.5532 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.07119, allocations: 83.3 kB / 0.5533 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.024e-05/0.07125, allocations: 1.281 kB / 0.5533 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.0714, allocations: 7.984 kB / 0.5533 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.07145, allocations: 11.88 kB / 0.5533 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-05/0.0715, allocations: 20.5 kB / 0.5533 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009454/0.07244, allocations: 0.6696 MB / 0.554 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/0.07244, allocations: 0 / 0.554 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001781/0.07423, allocations: 0.5896 MB / 0.5545 GB, free: 14.35 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.002717/0.07694, allocations: 0.785 MB / 0.5553 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002969/0.07991, allocations: 1.994 MB / 0.5573 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.07991, allocations: 0.5 kB / 0.5573 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004475/0.08036, allocations: 336.9 kB / 0.5576 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.08076, allocations: 41.12 kB / 0.5576 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.08341, allocations: 1.798 MB / 0.5594 GB, free: 9.391 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004568/0.08386, allocations: 375.2 kB / 0.5597 GB, free: 9.004 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001722/0.08403, allocations: 42.92 kB / 0.5598 GB, free: 8.965 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.08415, allocations: 29.84 kB / 0.5598 GB, free: 8.938 MB / 0.5261 GB Notification: Performance of SimCode: time 1.032e-06/0.08415, allocations: 0 / 0.5598 GB, free: 8.938 MB / 0.5261 GB Notification: Performance of Templates: time 0.02855/0.1127, allocations: 14.07 MB / 0.5735 GB, free: 11.1 MB / 0.5417 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.78963285300415]