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.001341/0.001341, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001655/0.001655, allocations: 215.9 kB / 22.99 MB, free: 4.945 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.398/1.398, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.9064/0.9064, allocations: 145 MB / 458.2 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_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.002058/0.002058, allocations: 66.39 kB / 0.6344 GB, free: 6.125 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1839, allocations: 87.89 MB / 0.7202 GB, free: 14.24 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003122/0.187, allocations: 1.723 MB / 0.7219 GB, free: 12.51 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007863/0.1949, allocations: 4.889 MB / 0.7267 GB, free: 7.594 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.195, allocations: 7.938 kB / 0.7267 GB, free: 7.586 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.1963, allocations: 334.5 kB / 0.727 GB, free: 7.258 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.1964, allocations: 71.59 kB / 0.7271 GB, free: 7.188 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.004099/0.2005, allocations: 1.566 MB / 0.7286 GB, free: 5.621 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002847/0.2008, allocations: 169.8 kB / 0.7288 GB, free: 5.457 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.009e-05/0.2008, allocations: 5.75 kB / 0.7288 GB, free: 5.449 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.324e-05/0.2009, allocations: 63.77 kB / 0.7288 GB, free: 5.387 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.2012, allocations: 167.4 kB / 0.729 GB, free: 5.223 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.541e-05/0.2012, allocations: 20 kB / 0.729 GB, free: 5.203 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003692/0.2049, allocations: 2.363 MB / 0.7313 GB, free: 2.836 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002303/0.2052, allocations: 279.8 kB / 0.7316 GB, free: 2.562 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002252/0.2054, allocations: 238.7 kB / 0.7318 GB, free: 2.328 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002936/0.2083, allocations: 2.216 MB / 0.734 GB, free: 108 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2083, allocations: 0 / 0.734 GB, free: 108 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2083, allocations: 4 kB / 0.734 GB, free: 104 kB / 0.545 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.2083, allocations: 0 / 0.734 GB, free: 104 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.009591/0.2179, allocations: 1.333 MB / 0.7353 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.218, allocations: 11.97 kB / 0.7353 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003852/0.2183, allocations: 96.2 kB / 0.7354 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000607/0.219, allocations: 360.5 kB / 0.7357 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.219, allocations: 4.375 kB / 0.7357 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.356e-05/0.219, allocations: 12.36 kB / 0.7357 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004719/0.2195, allocations: 399.4 kB / 0.7361 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.2195, allocations: 0 / 0.7361 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.2195, allocations: 4 kB / 0.7361 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.2195, allocations: 0 / 0.7361 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004603/0.22, allocations: 431.8 kB / 0.7365 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005968/0.2206, allocations: 0.5976 MB / 0.7371 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005648/0.2211, allocations: 0.5594 MB / 0.7377 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003304/0.2215, allocations: 333.7 kB / 0.738 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005853/0.222, allocations: 131.9 kB / 0.7381 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004369/0.2225, allocations: 404.8 kB / 0.7385 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.2225, allocations: 4 kB / 0.7385 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001448/0.2239, allocations: 1.301 MB / 0.7398 GB, free: 10 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/0.224, allocations: 81.09 kB / 0.7398 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.2253, allocations: 1.298 MB / 0.7411 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.935e-05/0.2254, allocations: 33.7 kB / 0.7411 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002268/0.2256, allocations: 289.9 kB / 0.7414 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.2256, allocations: 23.97 kB / 0.7414 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000333/0.226, allocations: 355.6 kB / 0.7418 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.2261, allocations: 322 kB / 0.7421 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001348/0.2275, allocations: 1.369 MB / 0.7434 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001452/0.2289, allocations: 1.505 MB / 0.7449 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007355/0.2363, allocations: 3.56 MB / 0.7484 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.2363, allocations: 7.938 kB / 0.7484 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.3798/0.6161, allocations: 4.005 MB / 0.7523 GB, free: 28.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.6161, allocations: 10.03 kB / 0.7523 GB, free: 28.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/0.6161, allocations: 3.844 kB / 0.7523 GB, free: 28.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.6162, allocations: 1.656 kB / 0.7523 GB, free: 28.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.6163, allocations: 17.55 kB / 0.7523 GB, free: 28.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.6163, allocations: 0.7188 kB / 0.7523 GB, free: 28.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004416/0.6167, allocations: 244.3 kB / 0.7526 GB, free: 28.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.377e-05/0.6168, allocations: 24.06 kB / 0.7526 GB, free: 28.48 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.0003296/0.6171, allocations: 243.9 kB / 0.7528 GB, free: 28.37 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.499e-05/0.6172, allocations: 87.41 kB / 0.7529 GB, free: 28.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/0.6183, allocations: 0.947 MB / 0.7538 GB, free: 28.25 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.6183, allocations: 3.281 kB / 0.7538 GB, free: 28.25 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.6183, allocations: 5.469 kB / 0.7538 GB, free: 28.25 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.6183, allocations: 0 / 0.7538 GB, free: 28.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003924/0.6187, allocations: 470.9 kB / 0.7543 GB, free: 28.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.6187, allocations: 1.375 kB / 0.7543 GB, free: 28.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.7e-05/0.6188, allocations: 8.078 kB / 0.7543 GB, free: 28.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.6188, allocations: 1.375 kB / 0.7543 GB, free: 28.12 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.6188, allocations: 4.25 kB / 0.7543 GB, free: 28.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.6188, allocations: 1.375 kB / 0.7543 GB, free: 28.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.6188, allocations: 0.7031 kB / 0.7543 GB, free: 28.12 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.6198, allocations: 1.013 MB / 0.7553 GB, free: 27.99 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.242e-05/0.6199, allocations: 90.12 kB / 0.7554 GB, free: 27.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.478e-05/0.62, allocations: 4.766 kB / 0.7554 GB, free: 27.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.6201, allocations: 6.266 kB / 0.7554 GB, free: 27.93 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.6201, allocations: 14.28 kB / 0.7554 GB, free: 27.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.631e-05/0.6202, allocations: 14.09 kB / 0.7554 GB, free: 27.93 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008719/0.6211, allocations: 0.7217 MB / 0.7561 GB, free: 27.82 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6211, allocations: 2.062 kB / 0.7561 GB, free: 27.82 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00141/0.6225, allocations: 0.5935 MB / 0.7567 GB, free: 27.82 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.001623/0.6241, allocations: 0.7137 MB / 0.7574 GB, free: 27.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002216/0.6263, allocations: 1.999 MB / 0.7593 GB, free: 27.63 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6263, allocations: 3.438 kB / 0.7593 GB, free: 27.63 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004732/0.6268, allocations: 336.7 kB / 0.7597 GB, free: 27.63 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.6272, allocations: 56.41 kB / 0.7597 GB, free: 27.62 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002503/0.6297, allocations: 1.939 MB / 0.7616 GB, free: 27 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/0.6301, allocations: 395.8 kB / 0.762 GB, free: 26.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.6302, allocations: 30.39 kB / 0.762 GB, free: 26.9 MB / 0.5606 GB Notification: Performance of SimCode: time 7.51e-07/0.6302, allocations: 1.25 kB / 0.762 GB, free: 26.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.02375/0.6539, allocations: 15.11 MB / 0.7768 GB, free: 22.42 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: 12.257333040237427] Failed to read output from testmodel.py, exit status != 0: 0.6627509696409106 0.672975891 0.46233490800000004 Calling exit ...