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.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.001309/0.001309, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001511/0.001511, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 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.41/1.41, allocations: 230.6 MB / 256 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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.7.0/package.mo): time 0.8889/0.8889, allocations: 145 MB / 457.4 MB, free: 15.29 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(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: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 63.03 kB / 0.6336 GB, free: 6.129 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1558, allocations: 87.89 MB / 0.7195 GB, free: 14.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002755/0.1586, allocations: 1.431 MB / 0.7209 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006645/0.1652, allocations: 3.85 MB / 0.7246 GB, free: 8.945 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.51e-05/0.1653, allocations: 3.938 kB / 0.7246 GB, free: 8.941 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.1654, allocations: 15.8 kB / 0.7246 GB, free: 8.926 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002312/0.1656, allocations: 31.84 kB / 0.7247 GB, free: 8.895 MB / 0.545 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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.004009/0.1696, allocations: 1.577 MB / 0.7262 GB, free: 7.316 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.1698, allocations: 95.67 kB / 0.7263 GB, free: 7.223 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.567e-05/0.1698, allocations: 0 / 0.7263 GB, free: 7.223 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.831e-05/0.1699, allocations: 47.89 kB / 0.7264 GB, free: 7.176 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.1701, allocations: 147.6 kB / 0.7265 GB, free: 7.031 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.813e-05/0.1702, allocations: 20 kB / 0.7265 GB, free: 7.012 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003918/0.1741, allocations: 2.367 MB / 0.7288 GB, free: 4.641 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002433/0.1743, allocations: 275.8 kB / 0.7291 GB, free: 4.367 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002337/0.1746, allocations: 218.8 kB / 0.7293 GB, free: 4.152 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003269/0.1778, allocations: 2.13 MB / 0.7314 GB, free: 2.016 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1778, allocations: 4 kB / 0.7314 GB, free: 2.012 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1778, allocations: 0 / 0.7314 GB, free: 2.012 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.763e-05/0.1779, allocations: 0 / 0.7314 GB, free: 2.012 MB / 0.545 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.009957/0.1878, allocations: 1.268 MB / 0.7326 GB, free: 0.707 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.1878, allocations: 8.031 kB / 0.7326 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000397/0.1882, allocations: 96.2 kB / 0.7327 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004403/0.1887, allocations: 307.2 kB / 0.733 GB, free: 276 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.1887, allocations: 384 / 0.733 GB, free: 276 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.322e-05/0.1887, allocations: 12.38 kB / 0.733 GB, free: 264 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004927/0.1892, allocations: 399.4 kB / 0.7334 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.1892, allocations: 0 / 0.7334 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.1892, allocations: 0 / 0.7334 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.1893, allocations: 0 / 0.7334 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004873/0.1897, allocations: 435.7 kB / 0.7338 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006156/0.1904, allocations: 0.5693 MB / 0.7344 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005894/0.191, allocations: 0.5671 MB / 0.7349 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003473/0.1913, allocations: 329.7 kB / 0.7352 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006451/0.1919, allocations: 135.9 kB / 0.7354 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004569/0.1924, allocations: 404.8 kB / 0.7358 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.233e-06/0.1924, allocations: 4 kB / 0.7358 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001512/0.1939, allocations: 1.293 MB / 0.737 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.194, allocations: 85.09 kB / 0.7371 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.1953, allocations: 1.219 MB / 0.7383 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.993e-05/0.1953, allocations: 29.7 kB / 0.7383 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.1955, allocations: 269.9 kB / 0.7386 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.831e-05/0.1956, allocations: 19.89 kB / 0.7386 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003636/0.1959, allocations: 355.8 kB / 0.7389 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.1961, allocations: 313.9 kB / 0.7392 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/0.1975, allocations: 1.369 MB / 0.7406 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001514/0.199, allocations: 1.503 MB / 0.742 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007564/0.2065, allocations: 3.564 MB / 0.7455 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2065, allocations: 0 / 0.7455 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.2902/0.4967, allocations: 4.007 MB / 0.7494 GB, free: 28.91 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.4968, allocations: 7.156 kB / 0.7494 GB, free: 28.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/0.4968, allocations: 5.875 kB / 0.7495 GB, free: 28.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.4968, allocations: 5.453 kB / 0.7495 GB, free: 28.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.4969, allocations: 19.61 kB / 0.7495 GB, free: 28.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.4969, allocations: 1.969 kB / 0.7495 GB, free: 28.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004514/0.4974, allocations: 230.7 kB / 0.7497 GB, free: 28.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-05/0.4974, allocations: 24.42 kB / 0.7497 GB, free: 28.83 MB / 0.5606 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.0002489/0.4977, allocations: 241.3 kB / 0.75 GB, free: 28.72 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.815e-05/0.4977, allocations: 77.48 kB / 0.75 GB, free: 28.66 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009694/0.4987, allocations: 0.94 MB / 0.7509 GB, free: 28.61 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.4987, allocations: 1.719 kB / 0.7509 GB, free: 28.61 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4987, allocations: 1.656 kB / 0.7509 GB, free: 28.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4987, allocations: 5.047 kB / 0.751 GB, free: 28.61 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004093/0.4991, allocations: 448.5 kB / 0.7514 GB, free: 28.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.4991, allocations: 0.5156 kB / 0.7514 GB, free: 28.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.054e-05/0.4992, allocations: 8.109 kB / 0.7514 GB, free: 28.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.4992, allocations: 3.391 kB / 0.7514 GB, free: 28.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.4992, allocations: 7.281 kB / 0.7514 GB, free: 28.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.4992, allocations: 3.984 kB / 0.7514 GB, free: 28.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.4992, allocations: 0.7812 kB / 0.7514 GB, free: 28.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000937/0.5002, allocations: 1.005 MB / 0.7524 GB, free: 28.35 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.369e-05/0.5002, allocations: 83.23 kB / 0.7525 GB, free: 28.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.667e-05/0.5003, allocations: 2.375 kB / 0.7525 GB, free: 28.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.5004, allocations: 5.844 kB / 0.7525 GB, free: 28.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.5005, allocations: 11.38 kB / 0.7525 GB, free: 28.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-05/0.5005, allocations: 15.95 kB / 0.7525 GB, free: 28.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006717/0.5012, allocations: 0.669 MB / 0.7532 GB, free: 28.18 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.5012, allocations: 0 / 0.7532 GB, free: 28.18 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001305/0.5025, allocations: 0.5889 MB / 0.7537 GB, free: 28.15 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.001646/0.5041, allocations: 0.7103 MB / 0.7544 GB, free: 27.97 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00206/0.5062, allocations: 1.995 MB / 0.7564 GB, free: 27.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.5062, allocations: 4.875 kB / 0.7564 GB, free: 27.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003806/0.5066, allocations: 336.6 kB / 0.7567 GB, free: 27.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.5069, allocations: 37 kB / 0.7567 GB, free: 27.89 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/0.509, allocations: 1.775 MB / 0.7585 GB, free: 27.35 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005025/0.5095, allocations: 371.6 kB / 0.7588 GB, free: 27.26 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001316/0.5096, allocations: 37 kB / 0.7589 GB, free: 27.26 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.947e-05/0.5097, allocations: 23.53 kB / 0.7589 GB, free: 27.25 MB / 0.5606 GB Notification: Performance of SimCode: time 8.52e-07/0.5097, allocations: 0.6562 kB / 0.7589 GB, free: 27.25 MB / 0.5606 GB Notification: Performance of Templates: time 0.02293/0.5327, allocations: 15 MB / 0.7735 GB, free: 23.06 MB / 0.5606 GB " [Timeout remaining time 659] 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: 6.753625858575106] Failed to read output from testmodel.py, exit status != 0: 0.5413472503423691 0.5504567499999999 0.37050298099999995 Calling exit ...