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.001318/0.001318, allocations: 117.7 kB / 17.13 MB, free: 5.918 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.001322/0.001322, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.478/1.478, allocations: 225.6 MB / 248.5 MB, free: 3.629 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.925/0.925, allocations: 145.2 MB / 448.5 MB, free: 13.98 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.001966/0.001966, allocations: 68.62 kB / 0.6212 GB, free: 34.87 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1741, allocations: 86.64 MB / 0.7058 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.003335/0.1774, allocations: 1.433 MB / 0.7072 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007607/0.185, allocations: 4.238 MB / 0.7113 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.1851, allocations: 3.938 kB / 0.7113 GB, free: 13 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001414/0.1853, allocations: 11.92 kB / 0.7113 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000268/0.1856, allocations: 27.77 kB / 0.7114 GB, free: 12.96 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.004633/0.1902, allocations: 1.504 MB / 0.7128 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.1904, allocations: 99.66 kB / 0.7129 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.157e-05/0.1905, allocations: 0 / 0.7129 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.82e-05/0.1905, allocations: 43.91 kB / 0.713 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003071/0.1908, allocations: 155.6 kB / 0.7131 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.622e-05/0.1909, allocations: 16 kB / 0.7131 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00462/0.1955, allocations: 2.301 MB / 0.7154 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002872/0.1958, allocations: 271.8 kB / 0.7156 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002978/0.1961, allocations: 286.3 kB / 0.7159 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003948/0.2, allocations: 2.122 MB / 0.718 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2, allocations: 0 / 0.718 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2, allocations: 0 / 0.718 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.588e-05/0.2001, allocations: 0 / 0.718 GB, free: 6.168 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.01034/0.2104, allocations: 1.34 MB / 0.7193 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.2104, allocations: 15.91 kB / 0.7193 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004603/0.2109, allocations: 100.2 kB / 0.7194 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000498/0.2114, allocations: 365 kB / 0.7198 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.2114, allocations: 4.375 kB / 0.7198 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.459e-05/0.2115, allocations: 8.375 kB / 0.7198 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005126/0.212, allocations: 399.5 kB / 0.7202 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.212, allocations: 4 kB / 0.7202 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.212, allocations: 3.938 kB / 0.7202 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.212, allocations: 0 / 0.7202 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005108/0.2125, allocations: 431.8 kB / 0.7206 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007449/0.2133, allocations: 0.641 MB / 0.7212 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006187/0.2139, allocations: 0.5633 MB / 0.7217 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003547/0.2142, allocations: 337.7 kB / 0.7221 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001301/0.2155, allocations: 1.021 MB / 0.7231 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004934/0.216, allocations: 412.8 kB / 0.7235 GB, free: 136 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.216, allocations: 0 / 0.7235 GB, free: 136 kB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001562/0.2176, allocations: 1.293 MB / 0.7247 GB, free: 14.83 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.2177, allocations: 85.05 kB / 0.7248 GB, free: 14.73 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/0.219, allocations: 1.223 MB / 0.726 GB, free: 13.49 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.304e-05/0.219, allocations: 29.7 kB / 0.726 GB, free: 13.46 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.2193, allocations: 269.9 kB / 0.7263 GB, free: 13.19 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.2193, allocations: 19.86 kB / 0.7263 GB, free: 13.17 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003651/0.2197, allocations: 351.6 kB / 0.7266 GB, free: 12.82 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.2198, allocations: 314 kB / 0.7269 GB, free: 12.51 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0014/0.2212, allocations: 1.373 MB / 0.7283 GB, free: 11.13 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/0.2228, allocations: 1.504 MB / 0.7297 GB, free: 9.621 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007422/0.2302, allocations: 3.56 MB / 0.7332 GB, free: 5.969 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/0.2302, allocations: 0 / 0.7332 GB, free: 5.969 MB / 0.545 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004882/0.2351, allocations: 4.019 MB / 0.7371 GB, free: 1.914 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.2351, allocations: 4 kB / 0.7372 GB, free: 1.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.2351, allocations: 0 / 0.7372 GB, free: 1.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.2352, allocations: 4 kB / 0.7372 GB, free: 1.906 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.2353, allocations: 19.92 kB / 0.7372 GB, free: 1.887 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.2353, allocations: 0 / 0.7372 GB, free: 1.887 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005386/0.2358, allocations: 241.4 kB / 0.7374 GB, free: 1.648 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.257e-05/0.2359, allocations: 24.02 kB / 0.7374 GB, free: 1.625 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.0003321/0.2362, allocations: 241.5 kB / 0.7377 GB, free: 1.383 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-05/0.2363, allocations: 71.28 kB / 0.7377 GB, free: 1.312 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002912/0.2366, allocations: 82.95 kB / 0.7378 GB, free: 1.215 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2366, allocations: 0 / 0.7378 GB, free: 1.215 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.2366, allocations: 4 kB / 0.7378 GB, free: 1.211 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.2366, allocations: 7.969 kB / 0.7378 GB, free: 1.203 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00048/0.2371, allocations: 492.9 kB / 0.7383 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2371, allocations: 0 / 0.7383 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.782e-05/0.2372, allocations: 15.92 kB / 0.7383 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.2372, allocations: 0 / 0.7383 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.2372, allocations: 0 / 0.7383 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.2372, allocations: 8 kB / 0.7383 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.2372, allocations: 3.984 kB / 0.7383 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.2382, allocations: 1.01 MB / 0.7393 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.2383, allocations: 160.4 kB / 0.7395 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.344e-05/0.2384, allocations: 0 / 0.7395 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.2385, allocations: 7.984 kB / 0.7395 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/0.2386, allocations: 15.92 kB / 0.7395 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.2e-05/0.2386, allocations: 15.98 kB / 0.7395 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007905/0.2394, allocations: 0.6689 MB / 0.7401 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2394, allocations: 0 / 0.7401 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001678/0.2411, allocations: 0.5845 MB / 0.7407 GB, free: 14.14 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.001959/0.2431, allocations: 0.696 MB / 0.7414 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002237/0.2453, allocations: 1.997 MB / 0.7433 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2453, allocations: 0 / 0.7433 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003644/0.2457, allocations: 335.8 kB / 0.7437 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.246, allocations: 37.28 kB / 0.7437 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002385/0.2484, allocations: 1.824 MB / 0.7455 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006186/0.249, allocations: 0.9723 MB / 0.7464 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.2491, allocations: 23.42 kB / 0.7465 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of SimCode: time 8.72e-07/0.2491, allocations: 0 / 0.7465 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of Templates: time 0.02486/0.274, allocations: 14.1 MB / 0.7602 GB, free: 10.11 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: 12.959826535079628] Failed to read output from testmodel.py, exit status != 0: 0.2819836970884353 0.29587510699999997 0.092845198 Calling exit ...