Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 103.6 kB / 16.45 MB, free: 6.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 198.8 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002552/0.002552, allocations: 292.2 kB / 303 MB, free: 9.492 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.199/1.199, allocations: 180.9 MB / 0.5261 GB, free: 14.61 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002884/0.002884, allocations: 101.6 kB / 0.7253 GB, free: 39.9 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1513, allocations: 94.15 MB / 0.8173 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002576/0.1539, allocations: 1.433 MB / 0.8187 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006653/0.1606, allocations: 4.24 MB / 0.8228 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.212e-05/0.1606, allocations: 0 / 0.8228 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.1607, allocations: 11.86 kB / 0.8228 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002018/0.1609, allocations: 27.83 kB / 0.8228 GB, free: 15.07 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.003586/0.1645, allocations: 1.508 MB / 0.8243 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.1647, allocations: 99.66 kB / 0.8244 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.725e-05/0.1647, allocations: 0 / 0.8244 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.143e-05/0.1648, allocations: 55.77 kB / 0.8245 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.165, allocations: 155.6 kB / 0.8246 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.604e-05/0.165, allocations: 12 kB / 0.8246 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003379/0.1684, allocations: 2.309 MB / 0.8269 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002578/0.1687, allocations: 267.8 kB / 0.8271 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002777/0.169, allocations: 282.3 kB / 0.8274 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002911/0.1719, allocations: 2.118 MB / 0.8295 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1719, allocations: 0 / 0.8295 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.61e-07/0.1719, allocations: 4 kB / 0.8295 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.1719, allocations: 4 kB / 0.8295 GB, free: 8.266 MB / 0.5762 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.01057/0.1825, allocations: 1.336 MB / 0.8308 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.1825, allocations: 12.03 kB / 0.8308 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004024/0.1829, allocations: 92.23 kB / 0.8309 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004398/0.1833, allocations: 365 kB / 0.8312 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.1833, allocations: 8.359 kB / 0.8312 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.254e-05/0.1834, allocations: 8.375 kB / 0.8312 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004983/0.1839, allocations: 391.5 kB / 0.8316 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.1839, allocations: 0 / 0.8316 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.1839, allocations: 4 kB / 0.8316 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.1839, allocations: 0 / 0.8316 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005006/0.1844, allocations: 435.7 kB / 0.832 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006707/0.1851, allocations: 0.6449 MB / 0.8327 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005905/0.1857, allocations: 0.5555 MB / 0.8332 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000356/0.186, allocations: 333.7 kB / 0.8335 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001185/0.1872, allocations: 1.032 MB / 0.8345 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004597/0.1877, allocations: 404.8 kB / 0.8349 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.783e-06/0.1877, allocations: 4 kB / 0.8349 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.001516/0.1892, allocations: 1.297 MB / 0.8362 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.1893, allocations: 81.11 kB / 0.8363 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/0.1906, allocations: 1.223 MB / 0.8375 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/0.1906, allocations: 25.7 kB / 0.8375 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.1908, allocations: 269.9 kB / 0.8378 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.949e-05/0.1909, allocations: 23.92 kB / 0.8378 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003796/0.1912, allocations: 359.6 kB / 0.8381 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1914, allocations: 310 kB / 0.8384 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/0.1928, allocations: 1.377 MB / 0.8398 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/0.1944, allocations: 1.505 MB / 0.8412 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007506/0.2019, allocations: 3.56 MB / 0.8447 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.2019, allocations: 0 / 0.8447 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004834/0.2067, allocations: 4.007 MB / 0.8486 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.2067, allocations: 8 kB / 0.8486 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.2067, allocations: 0 / 0.8486 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.2068, allocations: 7.938 kB / 0.8486 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.2069, allocations: 20.02 kB / 0.8487 GB, free: 4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.2069, allocations: 320 / 0.8487 GB, free: 4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005261/0.2074, allocations: 237.4 kB / 0.8489 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.603e-05/0.2075, allocations: 23.98 kB / 0.8489 GB, free: 3.742 MB / 0.5919 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.0003286/0.2078, allocations: 241.6 kB / 0.8491 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.194e-05/0.2079, allocations: 75.23 kB / 0.8492 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002835/0.2082, allocations: 83.05 kB / 0.8493 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.2082, allocations: 0 / 0.8493 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2082, allocations: 0 / 0.8493 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.2082, allocations: 4 kB / 0.8493 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004883/0.2087, allocations: 0.4929 MB / 0.8498 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2087, allocations: 3.938 kB / 0.8498 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.049e-05/0.2087, allocations: 11.92 kB / 0.8498 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2087, allocations: 4 kB / 0.8498 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.2088, allocations: 0 / 0.8498 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.2088, allocations: 8.016 kB / 0.8498 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.2088, allocations: 7.984 kB / 0.8498 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.2098, allocations: 0.9941 MB / 0.8508 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.2099, allocations: 160.4 kB / 0.8509 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.21e-05/0.21, allocations: 3.984 kB / 0.8509 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.2101, allocations: 8 kB / 0.8509 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.2102, allocations: 11.92 kB / 0.8509 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.57e-05/0.2102, allocations: 15.98 kB / 0.851 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007889/0.211, allocations: 0.665 MB / 0.8516 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.211, allocations: 4 kB / 0.8516 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001463/0.2125, allocations: 0.5806 MB / 0.8522 GB, free: 268 kB / 0.5919 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.001861/0.2143, allocations: 0.7022 MB / 0.8529 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002241/0.2166, allocations: 1.993 MB / 0.8548 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2166, allocations: 0 / 0.8548 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003695/0.2169, allocations: 339.8 kB / 0.8551 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.2172, allocations: 41.09 kB / 0.8552 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.2194, allocations: 1.782 MB / 0.8569 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006215/0.2201, allocations: 0.9679 MB / 0.8579 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001288/0.2202, allocations: 36.55 kB / 0.8579 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.2203, allocations: 23.42 kB / 0.8579 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of SimCode: time 3.9e-07/0.2203, allocations: 0 / 0.8579 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of Templates: time 0.02379/0.2441, allocations: 13.7 MB / 0.8713 GB, free: 12.66 MB / 0.6231 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.138695215806365]