Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001935/0.001935, allocations: 88.17 kB / 20.21 MB, free: 4.207 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.001959/0.001959, allocations: 169.2 kB / 23.53 MB, free: 0.8906 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.556/1.556, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.018/1.018, allocations: 115 MB / 375.3 MB, free: 7.594 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 480.9 MB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.7e-05/2.881e-05, allocations: 3.062 kB / 480.9 MB, free: 11.83 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002076/0.002104, allocations: 1.436 MB / 482.3 MB, free: 10.87 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005312/0.007417, allocations: 4.032 MB / 486.3 MB, free: 8.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.533e-05/0.007472, allocations: 3.938 kB / 486.3 MB, free: 8.426 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.007579, allocations: 11.77 kB / 486.4 MB, free: 8.418 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002107/0.00779, allocations: 35.64 kB / 486.4 MB, free: 8.398 MB / 410.7 MB [/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.003753/0.01154, allocations: 1.608 MB / 488 MB, free: 7.793 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.01168, allocations: 97.59 kB / 488.1 MB, free: 7.762 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.686e-05/0.01172, allocations: 3.531 kB / 488.1 MB, free: 7.762 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.445e-05/0.01181, allocations: 59.39 kB / 488.2 MB, free: 7.742 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002024/0.01201, allocations: 139 kB / 488.3 MB, free: 7.715 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.776e-05/0.01206, allocations: 15.03 kB / 488.3 MB, free: 7.715 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003644/0.01571, allocations: 2.407 MB / 490.7 MB, free: 7.078 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001978/0.0159, allocations: 280.3 kB / 491 MB, free: 6.973 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.01608, allocations: 146.9 kB / 491.1 MB, free: 6.922 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003919/0.02, allocations: 2.455 MB / 493.6 MB, free: 6.199 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.02, allocations: 4 kB / 493.6 MB, free: 6.195 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.02, allocations: 0.9375 kB / 493.6 MB, free: 6.195 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.02002, allocations: 0 / 493.6 MB, free: 6.195 MB / 410.7 MB 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.01153/0.03155, allocations: 1.396 MB / 495 MB, free: 5.203 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.03159, allocations: 10.5 kB / 495 MB, free: 5.203 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003807/0.03197, allocations: 96.33 kB / 495.1 MB, free: 5.145 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004305/0.0324, allocations: 301.9 kB / 495.4 MB, free: 4.914 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.03241, allocations: 12.5 kB / 495.4 MB, free: 4.906 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/0.03245, allocations: 8.547 kB / 495.4 MB, free: 4.902 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004213/0.03288, allocations: 366.4 kB / 495.8 MB, free: 4.836 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.03289, allocations: 0.6875 kB / 495.8 MB, free: 4.836 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.0329, allocations: 1.875 kB / 495.8 MB, free: 4.836 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.0329, allocations: 0.9062 kB / 495.8 MB, free: 4.836 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004272/0.03333, allocations: 396.1 kB / 496.2 MB, free: 4.828 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006577/0.03399, allocations: 0.6423 MB / 496.8 MB, free: 4.445 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005174/0.0345, allocations: 0.5219 MB / 497.3 MB, free: 4.371 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002985/0.0348, allocations: 308.4 kB / 497.6 MB, free: 4.344 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006228/0.03543, allocations: 140.1 kB / 497.8 MB, free: 4.332 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003712/0.0358, allocations: 387.9 kB / 498.1 MB, free: 4.238 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.0358, allocations: 0 / 498.1 MB, free: 4.238 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.00139/0.03719, allocations: 1.186 MB / 499.3 MB, free: 4.125 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.03722, allocations: 81.14 kB / 499.4 MB, free: 4.031 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.03837, allocations: 1.196 MB / 0.4889 GB, free: 3.312 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/0.03841, allocations: 32.11 kB / 0.4889 GB, free: 3.277 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/0.03867, allocations: 342.9 kB / 0.4892 GB, free: 18.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.0387, allocations: 18.06 kB / 0.4892 GB, free: 18.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003366/0.03903, allocations: 407 kB / 0.4896 GB, free: 18.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002363/0.03927, allocations: 492.2 kB / 0.4901 GB, free: 18.13 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005155/0.03979, allocations: 0.6565 MB / 0.4907 GB, free: 17.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006312/0.04042, allocations: 0.8229 MB / 0.4915 GB, free: 16.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00745/0.04787, allocations: 3.908 MB / 0.4954 GB, free: 13.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/0.04787, allocations: 0 / 0.4954 GB, free: 13.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005904/0.05378, allocations: 4.201 MB / 0.4995 GB, free: 9.367 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.0538, allocations: 8.906 kB / 0.4995 GB, free: 9.359 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.072e-05/0.05382, allocations: 4 kB / 0.4995 GB, free: 9.355 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.05384, allocations: 0 / 0.4995 GB, free: 9.355 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.05399, allocations: 24.98 kB / 0.4995 GB, free: 9.332 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.05399, allocations: 0 / 0.4995 GB, free: 9.332 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008543/0.05485, allocations: 238.3 kB / 0.4997 GB, free: 9.098 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.075e-05/0.05491, allocations: 23.98 kB / 0.4997 GB, free: 9.074 MB / 426.7 MB 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.0002889/0.0552, allocations: 169.8 kB / 0.4999 GB, free: 8.898 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.0553, allocations: 75.28 kB / 0.5 GB, free: 8.824 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/0.05645, allocations: 0.8592 MB / 0.5008 GB, free: 7.961 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.05645, allocations: 0 / 0.5008 GB, free: 7.961 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.05646, allocations: 4.484 kB / 0.5008 GB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.05646, allocations: 0.8438 kB / 0.5008 GB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007048/0.05717, allocations: 0.5 MB / 0.5013 GB, free: 7.426 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.05717, allocations: 4 kB / 0.5013 GB, free: 7.422 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.025e-05/0.05724, allocations: 5.531 kB / 0.5013 GB, free: 7.418 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.05724, allocations: 0 / 0.5013 GB, free: 7.418 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.05726, allocations: 7.938 kB / 0.5013 GB, free: 7.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.05726, allocations: 1.281 kB / 0.5013 GB, free: 7.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/0.05727, allocations: 3.984 kB / 0.5013 GB, free: 7.406 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.05839, allocations: 0.935 MB / 0.5022 GB, free: 6.445 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.05849, allocations: 79.34 kB / 0.5023 GB, free: 6.367 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.228e-05/0.05856, allocations: 4.625 kB / 0.5023 GB, free: 6.363 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.05869, allocations: 9.469 kB / 0.5023 GB, free: 6.355 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/0.05874, allocations: 11.97 kB / 0.5023 GB, free: 6.344 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.014e-05/0.05879, allocations: 15.97 kB / 0.5024 GB, free: 6.328 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007785/0.05957, allocations: 0.5557 MB / 0.5029 GB, free: 5.766 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.05957, allocations: 1.344 kB / 0.5029 GB, free: 5.766 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002059/0.06163, allocations: 0.5845 MB / 0.5035 GB, free: 5.18 MB / 426.7 MB 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.002345/0.06397, allocations: 0.7952 MB / 0.5043 GB, free: 4.422 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002005/0.06598, allocations: 1.387 MB / 0.5056 GB, free: 3.012 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.06598, allocations: 0 / 0.5056 GB, free: 3.012 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000394/0.06637, allocations: 319.4 kB / 0.5059 GB, free: 2.695 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.06673, allocations: 40.59 kB / 0.506 GB, free: 2.656 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00248/0.06921, allocations: 1.577 MB / 0.5075 GB, free: 1.047 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.06962, allocations: 355.6 kB / 0.5078 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001386/0.06976, allocations: 26.44 kB / 0.5079 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.06988, allocations: 26.11 kB / 0.5079 GB, free: 0.6328 MB / 426.7 MB Notification: Performance of SimCode: time 8.11e-07/0.06988, allocations: 3.938 kB / 0.5079 GB, free: 0.6289 MB / 426.7 MB Notification: Performance of Templates: time 0.0281/0.09798, allocations: 14.1 MB / 0.5217 GB, free: 2.691 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.580076080048457]