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.002379/0.002379, allocations: 93.47 kB / 19.44 MB, free: 336 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.00212/0.00212, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.58/1.58, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.328/1.328, allocations: 154.8 MB / 414.3 MB, free: 468 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.533e-06/1.533e-06, allocations: 1.094 kB / 0.5199 GB, free: 2.223 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.75e-05/2.903e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.219 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002798/0.002827, allocations: 1.451 MB / 0.5214 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00796/0.01079, allocations: 4.018 MB / 0.5253 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.282e-05/0.01086, allocations: 5.531 kB / 0.5253 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000142/0.011, allocations: 15.86 kB / 0.5253 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002635/0.01127, allocations: 39.7 kB / 0.5253 GB, free: 12.7 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.004512/0.01578, allocations: 1.602 MB / 0.5269 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.01597, allocations: 95.66 kB / 0.527 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.425e-05/0.01601, allocations: 10.42 kB / 0.527 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.01614, allocations: 59.83 kB / 0.5271 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002771/0.01641, allocations: 147.7 kB / 0.5272 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.257e-05/0.01647, allocations: 12 kB / 0.5272 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005066/0.02153, allocations: 2.403 MB / 0.5296 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003169/0.02185, allocations: 275.9 kB / 0.5298 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002341/0.02208, allocations: 152 kB / 0.53 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.004279/0.02636, allocations: 2.46 MB / 0.5324 GB, free: 5.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.02637, allocations: 0.9375 kB / 0.5324 GB, free: 5.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.753e-06/0.02637, allocations: 0 / 0.5324 GB, free: 5.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.02638, allocations: 0 / 0.5324 GB, free: 5.5 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.01171/0.03809, allocations: 1.395 MB / 0.5337 GB, free: 4.066 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.03813, allocations: 12.03 kB / 0.5337 GB, free: 4.055 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004173/0.03855, allocations: 88.25 kB / 0.5338 GB, free: 3.969 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005122/0.03906, allocations: 309.2 kB / 0.5341 GB, free: 3.629 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.03908, allocations: 4.375 kB / 0.5341 GB, free: 3.625 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.126e-05/0.03912, allocations: 8.375 kB / 0.5341 GB, free: 3.617 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004921/0.03961, allocations: 372.1 kB / 0.5345 GB, free: 3.242 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.03962, allocations: 192 / 0.5345 GB, free: 3.242 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.03964, allocations: 384 / 0.5345 GB, free: 3.242 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.03964, allocations: 7.938 kB / 0.5345 GB, free: 3.234 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000479/0.04012, allocations: 383.8 kB / 0.5349 GB, free: 2.859 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008215/0.04094, allocations: 0.6368 MB / 0.5355 GB, free: 2.188 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006322/0.04158, allocations: 0.5291 MB / 0.536 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003743/0.04195, allocations: 315.4 kB / 0.5363 GB, free: 1.316 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000928/0.04288, allocations: 133.6 kB / 0.5364 GB, free: 1.191 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004942/0.04337, allocations: 388.9 kB / 0.5368 GB, free: 0.7891 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.04337, allocations: 0.5938 kB / 0.5368 GB, free: 0.7891 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.001633/0.04501, allocations: 1.181 MB / 0.538 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.085e-05/0.04509, allocations: 89.98 kB / 0.538 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/0.04651, allocations: 1.191 MB / 0.5392 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.953e-05/0.04656, allocations: 30.61 kB / 0.5392 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003207/0.04688, allocations: 340.6 kB / 0.5396 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.71e-05/0.04693, allocations: 31.77 kB / 0.5396 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005044/0.04743, allocations: 407.4 kB / 0.54 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002798/0.04771, allocations: 484.4 kB / 0.5404 GB, free: 13 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008372/0.04855, allocations: 0.6609 MB / 0.5411 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.0496, allocations: 0.8242 MB / 0.5419 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008039/0.05764, allocations: 3.899 MB / 0.5457 GB, free: 7.508 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.05764, allocations: 2.781 kB / 0.5457 GB, free: 7.508 MB / 0.5105 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005341/0.06298, allocations: 4.191 MB / 0.5498 GB, free: 3.281 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.06301, allocations: 8 kB / 0.5498 GB, free: 3.273 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/0.06303, allocations: 0 / 0.5498 GB, free: 3.273 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.06305, allocations: 0 / 0.5498 GB, free: 3.273 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.06321, allocations: 33.2 kB / 0.5498 GB, free: 3.242 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.06322, allocations: 3.938 kB / 0.5498 GB, free: 3.238 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005795/0.0638, allocations: 245.3 kB / 0.5501 GB, free: 2.996 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.243e-05/0.06386, allocations: 25.77 kB / 0.5501 GB, free: 2.973 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.0002402/0.0641, allocations: 168.5 kB / 0.5503 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.095e-05/0.06419, allocations: 71.34 kB / 0.5503 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/0.06542, allocations: 0.8631 MB / 0.5512 GB, free: 1.855 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.06542, allocations: 5.219 kB / 0.5512 GB, free: 1.852 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.06543, allocations: 3.938 kB / 0.5512 GB, free: 1.848 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.06544, allocations: 4 kB / 0.5512 GB, free: 1.844 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005704/0.06601, allocations: 493.3 kB / 0.5517 GB, free: 1.332 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.06602, allocations: 0 / 0.5517 GB, free: 1.332 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.374e-05/0.06608, allocations: 4 kB / 0.5517 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.06608, allocations: 5.5 kB / 0.5517 GB, free: 1.324 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.0661, allocations: 3.984 kB / 0.5517 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.0661, allocations: 0 / 0.5517 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.0661, allocations: 4 kB / 0.5517 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.06718, allocations: 0.9478 MB / 0.5526 GB, free: 352 kB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.714e-05/0.06727, allocations: 83.23 kB / 0.5527 GB, free: 268 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.074e-05/0.06733, allocations: 4 kB / 0.5527 GB, free: 264 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.06747, allocations: 9.172 kB / 0.5527 GB, free: 256 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/0.06752, allocations: 11.92 kB / 0.5527 GB, free: 244 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.664e-05/0.06756, allocations: 11.98 kB / 0.5527 GB, free: 232 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006965/0.06825, allocations: 0.565 MB / 0.5533 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.06825, allocations: 0 / 0.5533 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001666/0.06992, allocations: 0.5806 MB / 0.5538 GB, free: 15.07 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.002131/0.07205, allocations: 0.7833 MB / 0.5546 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001792/0.07384, allocations: 1.393 MB / 0.556 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.07384, allocations: 0 / 0.556 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000369/0.07421, allocations: 312.5 kB / 0.5563 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.07454, allocations: 43.19 kB / 0.5563 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/0.07678, allocations: 1.598 MB / 0.5579 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.07717, allocations: 349.6 kB / 0.5582 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000135/0.0773, allocations: 34.66 kB / 0.5582 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.07741, allocations: 28.47 kB / 0.5582 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of SimCode: time 1.122e-06/0.07741, allocations: 0 / 0.5582 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of Templates: time 0.02689/0.1043, allocations: 14.09 MB / 0.572 GB, free: 12.63 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=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: 7.124929425073788]