Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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.001257/0.001257, allocations: 110.5 kB / 17.6 MB, free: 4.684 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.002003/0.002003, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.534/1.534, allocations: 225.6 MB / 249.4 MB, free: 3.023 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.9843/0.9843, allocations: 145.2 MB / 449.7 MB, free: 13.24 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 74.59 kB / 0.6233 GB, free: 34.98 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1637, allocations: 86.64 MB / 0.7079 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002643/0.1664, allocations: 1.451 MB / 0.7093 GB, free: 352 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007097/0.1735, allocations: 4.27 MB / 0.7135 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.385e-05/0.1735, allocations: 4 kB / 0.7135 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.1737, allocations: 11.86 kB / 0.7135 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002573/0.1739, allocations: 27.83 kB / 0.7135 GB, free: 12.01 MB / 0.5294 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/BuildSysPro 3.6.0-master/IBPSA/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.004128/0.178, allocations: 1.504 MB / 0.715 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.1782, allocations: 87.73 kB / 0.7151 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.086e-05/0.1783, allocations: 7.984 kB / 0.7151 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.165e-05/0.1783, allocations: 51.78 kB / 0.7151 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002533/0.1786, allocations: 151.6 kB / 0.7153 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.851e-05/0.1786, allocations: 12 kB / 0.7153 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003527/0.1822, allocations: 2.313 MB / 0.7175 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002409/0.1824, allocations: 267.8 kB / 0.7178 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002482/0.1827, allocations: 278.3 kB / 0.718 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003038/0.1857, allocations: 2.124 MB / 0.7201 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1857, allocations: 0 / 0.7201 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1857, allocations: 0 / 0.7201 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.1857, allocations: 0 / 0.7201 GB, free: 5.219 MB / 0.5294 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.008672/0.1944, allocations: 1.344 MB / 0.7214 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.1944, allocations: 8.031 kB / 0.7214 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003906/0.1948, allocations: 92.25 kB / 0.7215 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000423/0.1952, allocations: 368.9 kB / 0.7219 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.1953, allocations: 12.31 kB / 0.7219 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.745e-05/0.1953, allocations: 4.375 kB / 0.7219 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004649/0.1958, allocations: 395.5 kB / 0.7223 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1958, allocations: 0 / 0.7223 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.1958, allocations: 0 / 0.7223 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1958, allocations: 4 kB / 0.7223 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004539/0.1962, allocations: 427.8 kB / 0.7227 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000642/0.1969, allocations: 0.6565 MB / 0.7233 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006058/0.1975, allocations: 0.5555 MB / 0.7239 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003376/0.1978, allocations: 337.7 kB / 0.7242 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001263/0.1991, allocations: 1.025 MB / 0.7252 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004418/0.1995, allocations: 408.8 kB / 0.7256 GB, free: 15.19 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.1995, allocations: 0 / 0.7256 GB, free: 15.19 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.001422/0.201, allocations: 1.297 MB / 0.7268 GB, free: 13.89 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.591e-05/0.201, allocations: 81.11 kB / 0.7269 GB, free: 13.79 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.2023, allocations: 1.223 MB / 0.7281 GB, free: 12.55 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.958e-05/0.2023, allocations: 29.69 kB / 0.7281 GB, free: 12.52 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/0.2025, allocations: 269.9 kB / 0.7284 GB, free: 12.25 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.2026, allocations: 23.8 kB / 0.7284 GB, free: 12.22 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003609/0.2029, allocations: 351.6 kB / 0.7288 GB, free: 11.88 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.203, allocations: 314.1 kB / 0.7291 GB, free: 11.56 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.2044, allocations: 1.369 MB / 0.7304 GB, free: 10.19 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001508/0.2059, allocations: 1.501 MB / 0.7319 GB, free: 8.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007476/0.2134, allocations: 3.572 MB / 0.7354 GB, free: 5.016 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.2134, allocations: 0 / 0.7354 GB, free: 5.016 MB / 0.545 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.00469/0.2181, allocations: 4.011 MB / 0.7393 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.2181, allocations: 4 kB / 0.7393 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/0.2181, allocations: 4 kB / 0.7393 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.2181, allocations: 0 / 0.7393 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.2183, allocations: 15.98 kB / 0.7393 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.2183, allocations: 4 kB / 0.7393 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000493/0.2188, allocations: 241.4 kB / 0.7395 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-05/0.2188, allocations: 23.98 kB / 0.7396 GB, free: 0.6797 MB / 0.545 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.0003228/0.2191, allocations: 242.5 kB / 0.7398 GB, free: 444 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.957e-05/0.2192, allocations: 75.28 kB / 0.7399 GB, free: 368 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/0.2203, allocations: 0.9477 MB / 0.7408 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2203, allocations: 0 / 0.7408 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.2203, allocations: 0 / 0.7408 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.2203, allocations: 7.984 kB / 0.7408 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005122/0.2208, allocations: 492.9 kB / 0.7413 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2208, allocations: 0 / 0.7413 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.356e-05/0.2209, allocations: 7.938 kB / 0.7413 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.2209, allocations: 4 kB / 0.7413 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.2209, allocations: 3.984 kB / 0.7413 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.2209, allocations: 400 / 0.7413 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2209, allocations: 4 kB / 0.7413 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.222, allocations: 1.01 MB / 0.7423 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.2221, allocations: 168.4 kB / 0.7424 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.691e-05/0.2221, allocations: 0 / 0.7424 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.2223, allocations: 4 kB / 0.7424 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.2223, allocations: 11.98 kB / 0.7424 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.432e-05/0.2224, allocations: 11.98 kB / 0.7425 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007727/0.2231, allocations: 0.6728 MB / 0.7431 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2231, allocations: 0 / 0.7431 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00143/0.2246, allocations: 0.5845 MB / 0.7437 GB, free: 12.33 MB / 0.5606 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.001763/0.2263, allocations: 0.698 MB / 0.7444 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002171/0.2285, allocations: 2 MB / 0.7463 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2285, allocations: 4 kB / 0.7463 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003821/0.2289, allocations: 335.7 kB / 0.7466 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.2292, allocations: 36.55 kB / 0.7467 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/0.2316, allocations: 1.789 MB / 0.7484 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006052/0.2322, allocations: 0.9646 MB / 0.7494 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001431/0.2323, allocations: 44.48 kB / 0.7494 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.2324, allocations: 23.42 kB / 0.7494 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of SimCode: time 6.21e-07/0.2324, allocations: 0 / 0.7494 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of Templates: time 0.02445/0.2569, allocations: 13.83 MB / 0.7629 GB, free: 8.594 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.3301273211836815]