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_SmallScaleValidation.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.001536/0.001536, 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.00152/0.00152, allocations: 211.4 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.396/1.396, allocations: 230.6 MB / 256 MB, free: 7.82 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.8968/0.8968, allocations: 145 MB / 457.4 MB, free: 15.33 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_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [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.002245/0.002245, allocations: 71.83 kB / 0.6336 GB, free: 6.219 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1692, allocations: 87.88 MB / 0.7195 GB, free: 14.35 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003221/0.1724, allocations: 1.719 MB / 0.7212 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007997/0.1804, allocations: 4.897 MB / 0.7259 GB, free: 7.695 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.1805, allocations: 0 / 0.7259 GB, free: 7.695 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.1817, allocations: 334.5 kB / 0.7263 GB, free: 7.367 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.1818, allocations: 63.66 kB / 0.7263 GB, free: 7.305 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.003992/0.1858, allocations: 1.577 MB / 0.7279 GB, free: 5.727 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000268/0.1861, allocations: 159.4 kB / 0.728 GB, free: 5.57 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.933e-05/0.1862, allocations: 5.75 kB / 0.728 GB, free: 5.559 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.359e-05/0.1863, allocations: 63.77 kB / 0.7281 GB, free: 5.496 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000237/0.1865, allocations: 171.4 kB / 0.7282 GB, free: 5.328 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.664e-05/0.1865, allocations: 12 kB / 0.7282 GB, free: 5.316 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003805/0.1903, allocations: 2.367 MB / 0.7306 GB, free: 2.945 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002608/0.1906, allocations: 287.7 kB / 0.7308 GB, free: 2.664 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002514/0.1909, allocations: 238.8 kB / 0.7311 GB, free: 2.43 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003264/0.1941, allocations: 2.208 MB / 0.7332 GB, free: 220 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1941, allocations: 3.938 kB / 0.7332 GB, free: 216 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1941, allocations: 0 / 0.7332 GB, free: 216 kB / 0.545 GB Notification: Performance of Transformations before backend: time 7.393e-06/0.1941, allocations: 0 / 0.7332 GB, free: 216 kB / 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.009906/0.204, allocations: 1.336 MB / 0.7345 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.2041, allocations: 12.03 kB / 0.7345 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003876/0.2045, allocations: 104.2 kB / 0.7346 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005876/0.205, allocations: 352.4 kB / 0.735 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.2051, allocations: 8.375 kB / 0.735 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.93e-05/0.2051, allocations: 8.359 kB / 0.735 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004717/0.2056, allocations: 395.4 kB / 0.7354 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.2056, allocations: 0 / 0.7354 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.2056, allocations: 0 / 0.7354 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2056, allocations: 8 kB / 0.7354 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004888/0.2061, allocations: 431.7 kB / 0.7358 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006333/0.2067, allocations: 0.5937 MB / 0.7364 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006117/0.2073, allocations: 0.5632 MB / 0.7369 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003561/0.2077, allocations: 333.7 kB / 0.7372 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005912/0.2083, allocations: 131.9 kB / 0.7374 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000457/0.2087, allocations: 404.8 kB / 0.7377 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.2087, allocations: 0 / 0.7377 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001518/0.2103, allocations: 1.305 MB / 0.739 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.2103, allocations: 85.23 kB / 0.7391 GB, free: 10 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001336/0.2116, allocations: 1.298 MB / 0.7404 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.2117, allocations: 29.7 kB / 0.7404 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/0.2119, allocations: 285.9 kB / 0.7407 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.212, allocations: 23.84 kB / 0.7407 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003403/0.2123, allocations: 355.6 kB / 0.741 GB, free: 8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.2124, allocations: 318 kB / 0.7413 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.2138, allocations: 1.369 MB / 0.7427 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/0.2153, allocations: 1.511 MB / 0.7441 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007424/0.2227, allocations: 3.564 MB / 0.7476 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.2227, allocations: 0 / 0.7476 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.3035/0.5262, allocations: 4.011 MB / 0.7515 GB, free: 28.66 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.5262, allocations: 8.719 kB / 0.7516 GB, free: 28.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/0.5262, allocations: 3.047 kB / 0.7516 GB, free: 28.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.5263, allocations: 2.812 kB / 0.7516 GB, free: 28.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.5264, allocations: 14.81 kB / 0.7516 GB, free: 28.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.5264, allocations: 2.188 kB / 0.7516 GB, free: 28.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004427/0.5268, allocations: 245 kB / 0.7518 GB, free: 28.56 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.479e-05/0.5269, allocations: 23.53 kB / 0.7518 GB, free: 28.56 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.0003447/0.5272, allocations: 247.7 kB / 0.7521 GB, free: 28.45 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.821e-05/0.5273, allocations: 82.98 kB / 0.7521 GB, free: 28.38 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.5285, allocations: 0.9511 MB / 0.7531 GB, free: 28.33 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.5285, allocations: 3.328 kB / 0.7531 GB, free: 28.33 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.5286, allocations: 0 / 0.7531 GB, free: 28.33 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.5286, allocations: 6.25 kB / 0.7531 GB, free: 28.33 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004287/0.529, allocations: 467.6 kB / 0.7535 GB, free: 28.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.529, allocations: 1 kB / 0.7535 GB, free: 28.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.191e-05/0.5291, allocations: 7.719 kB / 0.7535 GB, free: 28.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.5291, allocations: 0 / 0.7535 GB, free: 28.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.5291, allocations: 7.844 kB / 0.7535 GB, free: 28.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.5291, allocations: 2.875 kB / 0.7535 GB, free: 28.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5291, allocations: 0 / 0.7535 GB, free: 28.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.5301, allocations: 1.013 MB / 0.7545 GB, free: 28.07 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.955e-05/0.5302, allocations: 96 kB / 0.7546 GB, free: 28.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.421e-05/0.5303, allocations: 2.031 kB / 0.7546 GB, free: 28.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.5304, allocations: 6.234 kB / 0.7546 GB, free: 28.01 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.5305, allocations: 10.02 kB / 0.7546 GB, free: 28.01 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.882e-05/0.5305, allocations: 13.14 kB / 0.7547 GB, free: 28.01 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008295/0.5313, allocations: 0.7259 MB / 0.7554 GB, free: 27.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.5313, allocations: 0 / 0.7554 GB, free: 27.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001396/0.5327, allocations: 0.5895 MB / 0.7559 GB, free: 27.9 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.001643/0.5344, allocations: 0.707 MB / 0.7566 GB, free: 27.79 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002236/0.5366, allocations: 2.006 MB / 0.7586 GB, free: 27.71 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5366, allocations: 0.8438 kB / 0.7586 GB, free: 27.71 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005413/0.5372, allocations: 336.1 kB / 0.7589 GB, free: 27.71 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.5375, allocations: 64.06 kB / 0.759 GB, free: 27.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.5397, allocations: 1.894 MB / 0.7608 GB, free: 27.12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.5401, allocations: 398.2 kB / 0.7612 GB, free: 27.03 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001432/0.5403, allocations: 42.19 kB / 0.7612 GB, free: 27.03 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.688e-05/0.5404, allocations: 27.27 kB / 0.7613 GB, free: 27.02 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.5404, allocations: 0 / 0.7613 GB, free: 27.02 MB / 0.5606 GB Notification: Performance of Templates: time 0.02269/0.563, allocations: 15.79 MB / 0.7767 GB, free: 22.3 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.7725783828645945] Failed to read output from testmodel.py, exit status != 0: 0.5710792001336813 0.57939084 0.38317517900000003 Calling exit ...