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.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.001413/0.001413, allocations: 105.7 kB / 19.59 MB, free: 2.211 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.001579/0.001579, allocations: 192.6 kB / 22.85 MB, free: 4.602 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.443/1.443, allocations: 225.6 MB / 251.5 MB, free: 13.05 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.913/0.913, allocations: 144.9 MB / 451.7 MB, free: 5.496 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.7.0/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_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: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 69.05 kB / 0.6257 GB, free: 15.46 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1984, allocations: 86.71 MB / 0.7104 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003508/0.2019, allocations: 1.772 MB / 0.7121 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.009288/0.2112, allocations: 5.456 MB / 0.7174 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001864/0.2114, allocations: 4 kB / 0.7174 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0015/0.2129, allocations: 374.3 kB / 0.7178 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.2131, allocations: 59.67 kB / 0.7179 GB, free: 1.059 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.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.004973/0.218, allocations: 1.589 MB / 0.7194 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003404/0.2184, allocations: 162.1 kB / 0.7196 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.421e-05/0.2184, allocations: 9.734 kB / 0.7196 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.847e-05/0.2185, allocations: 67.7 kB / 0.7196 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002899/0.2188, allocations: 167.4 kB / 0.7198 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.265e-05/0.2189, allocations: 20 kB / 0.7198 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004928/0.2238, allocations: 2.511 MB / 0.7223 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002938/0.2241, allocations: 283.7 kB / 0.7225 GB, free: 12.26 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004163/0.2245, allocations: 298.2 kB / 0.7228 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004556/0.2291, allocations: 2.2 MB / 0.725 GB, free: 9.758 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.2291, allocations: 8 kB / 0.725 GB, free: 9.75 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2291, allocations: 0 / 0.725 GB, free: 9.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.308e-06/0.2291, allocations: 0 / 0.725 GB, free: 9.75 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.009364/0.2385, allocations: 1.333 MB / 0.7263 GB, free: 8.383 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.2385, allocations: 12.03 kB / 0.7263 GB, free: 8.371 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004262/0.2389, allocations: 96.2 kB / 0.7264 GB, free: 8.277 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006477/0.2396, allocations: 360.4 kB / 0.7267 GB, free: 7.891 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.2396, allocations: 8.375 kB / 0.7267 GB, free: 7.883 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.93e-05/0.2396, allocations: 4.375 kB / 0.7267 GB, free: 7.879 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005907/0.2402, allocations: 395.4 kB / 0.7271 GB, free: 7.48 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.2402, allocations: 0 / 0.7271 GB, free: 7.48 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.2402, allocations: 3.984 kB / 0.7271 GB, free: 7.477 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.2402, allocations: 0 / 0.7271 GB, free: 7.477 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004839/0.2407, allocations: 439.8 kB / 0.7275 GB, free: 7.047 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007352/0.2415, allocations: 0.6377 MB / 0.7282 GB, free: 6.367 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000588/0.242, allocations: 0.5555 MB / 0.7287 GB, free: 5.793 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003672/0.2424, allocations: 333.7 kB / 0.729 GB, free: 5.461 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006242/0.243, allocations: 135.9 kB / 0.7292 GB, free: 5.328 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004784/0.2435, allocations: 416.8 kB / 0.7296 GB, free: 4.902 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.2435, allocations: 0 / 0.7296 GB, free: 4.902 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.001562/0.2451, allocations: 1.301 MB / 0.7308 GB, free: 3.594 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.227e-05/0.2452, allocations: 89.09 kB / 0.7309 GB, free: 3.488 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/0.2466, allocations: 1.286 MB / 0.7322 GB, free: 2.191 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.632e-05/0.2467, allocations: 41.81 kB / 0.7322 GB, free: 2.145 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002539/0.2469, allocations: 285.9 kB / 0.7325 GB, free: 1.859 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.247, allocations: 15.91 kB / 0.7325 GB, free: 1.844 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003942/0.2474, allocations: 359.6 kB / 0.7328 GB, free: 1.488 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.2475, allocations: 318 kB / 0.7331 GB, free: 1.172 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001456/0.249, allocations: 1.373 MB / 0.7345 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001591/0.2506, allocations: 1.505 MB / 0.736 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007628/0.2582, allocations: 3.556 MB / 0.7394 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.2582, allocations: 0 / 0.7394 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005122/0.2633, allocations: 4.026 MB / 0.7434 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.2634, allocations: 8.031 kB / 0.7434 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.151e-05/0.2634, allocations: 7.984 kB / 0.7434 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.2634, allocations: 3.984 kB / 0.7434 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.2635, allocations: 12 kB / 0.7434 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.2635, allocations: 0 / 0.7434 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005497/0.2641, allocations: 249.2 kB / 0.7436 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-05/0.2642, allocations: 27.98 kB / 0.7437 GB, free: 6.266 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.0003513/0.2645, allocations: 249.6 kB / 0.7439 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.391e-05/0.2646, allocations: 83.23 kB / 0.744 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/0.2657, allocations: 0.9446 MB / 0.7449 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.2657, allocations: 4 kB / 0.7449 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2657, allocations: 0 / 0.7449 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.2657, allocations: 0 / 0.7449 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005384/0.2663, allocations: 0.4897 MB / 0.7454 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2663, allocations: 0 / 0.7454 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.685e-05/0.2664, allocations: 15.97 kB / 0.7454 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.2664, allocations: 0 / 0.7454 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.2664, allocations: 3.984 kB / 0.7454 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.2664, allocations: 4 kB / 0.7454 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2664, allocations: 0 / 0.7454 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.2675, allocations: 1.01 MB / 0.7464 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.2676, allocations: 95.17 kB / 0.7465 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.62e-05/0.2676, allocations: 0 / 0.7465 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.2678, allocations: 8 kB / 0.7465 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.2678, allocations: 7.984 kB / 0.7465 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.92e-05/0.2679, allocations: 15.97 kB / 0.7465 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009712/0.2688, allocations: 0.7183 MB / 0.7472 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2688, allocations: 0 / 0.7472 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001904/0.2707, allocations: 0.5962 MB / 0.7478 GB, free: 1.941 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.001845/0.2726, allocations: 0.6978 MB / 0.7485 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.3453/0.6179, allocations: 2 MB / 0.7504 GB, free: 39.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.6179, allocations: 0 / 0.7504 GB, free: 39.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005258/0.6184, allocations: 333.6 kB / 0.7507 GB, free: 39.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005406/0.619, allocations: 56.5 kB / 0.7508 GB, free: 39.51 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/0.6215, allocations: 1.931 MB / 0.7527 GB, free: 38.89 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005309/0.622, allocations: 0.9879 MB / 0.7536 GB, free: 38.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.6221, allocations: 28.91 kB / 0.7537 GB, free: 38.19 MB / 0.5606 GB Notification: Performance of SimCode: time 1.172e-06/0.6221, allocations: 0 / 0.7537 GB, free: 38.19 MB / 0.5606 GB Notification: Performance of Templates: time 0.02888/0.651, allocations: 14.76 MB / 0.7681 GB, free: 34.61 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: 13.181687253003474] Failed to read output from testmodel.py, exit status != 0: 0.6589588269998785 0.67049529 0.43883643000000006 Calling exit ...