Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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.001416/0.001416, allocations: 110.8 kB / 17.54 MB, free: 4.641 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.00144/0.00144, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.296/1.296, allocations: 225.6 MB / 249.3 MB, free: 3.199 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.471/2.471, allocations: 476.7 MB / 0.7628 GB, free: 15.3 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002628/0.002628, allocations: 72.12 kB / 1.107 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8048/0.8074, allocations: 168.7 MB / 1.271 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002033/0.8094, allocations: 1.453 MB / 1.273 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004929/0.8144, allocations: 4.262 MB / 1.277 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.122e-05/0.8144, allocations: 0 / 1.277 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 9.419e-05/0.8145, allocations: 12.34 kB / 1.277 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.8147, allocations: 34.45 kB / 1.277 GB, free: 3.859 MB / 0.9981 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/Buildings 11.1.0-maint.11.x/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.003077/0.8178, allocations: 1.507 MB / 1.279 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.8179, allocations: 92.27 kB / 1.279 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.618e-05/0.8179, allocations: 3.453 kB / 1.279 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.762e-05/0.818, allocations: 50.75 kB / 1.279 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.8182, allocations: 146.2 kB / 1.279 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.208e-05/0.8183, allocations: 18 kB / 1.279 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00319/0.8214, allocations: 2.312 MB / 1.281 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001978/0.8216, allocations: 274.7 kB / 1.281 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.8218, allocations: 277 kB / 1.282 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002392/0.8242, allocations: 2.12 MB / 1.284 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.8242, allocations: 0.6094 kB / 1.284 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8242, allocations: 0 / 1.284 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.8242, allocations: 2.469 kB / 1.284 GB, free: 1.629 MB / 0.9981 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.009489/0.8337, allocations: 1.341 MB / 1.285 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.8338, allocations: 9.406 kB / 1.285 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.462e-05/0.8338, allocations: 37.45 kB / 1.285 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000336/0.8341, allocations: 95.66 kB / 1.285 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.8344, allocations: 359 kB / 1.285 GB, free: 272 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.8344, allocations: 12.81 kB / 1.286 GB, free: 264 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.97e-05/0.8345, allocations: 6.266 kB / 1.286 GB, free: 264 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003844/0.8349, allocations: 394.5 kB / 1.286 GB, free: 200 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.8349, allocations: 0 / 1.286 GB, free: 200 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.8349, allocations: 0.6562 kB / 1.286 GB, free: 200 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.8349, allocations: 0 / 1.286 GB, free: 200 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004019/0.8353, allocations: 436.6 kB / 1.286 GB, free: 192 kB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006005/0.8359, allocations: 0.6406 MB / 1.287 GB, free: 15.79 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005129/0.8364, allocations: 0.5632 MB / 1.287 GB, free: 15.73 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002914/0.8367, allocations: 335.3 kB / 1.288 GB, free: 15.71 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001083/0.8378, allocations: 1.028 MB / 1.289 GB, free: 14.57 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003579/0.8381, allocations: 403.2 kB / 1.289 GB, free: 14.5 MB / 1.014 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.8381, allocations: 0 / 1.289 GB, free: 14.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.001281/0.8394, allocations: 1.3 MB / 1.29 GB, free: 14.38 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.8395, allocations: 84.36 kB / 1.291 GB, free: 14.28 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/0.841, allocations: 1.222 MB / 1.292 GB, free: 13.78 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.816e-05/0.8411, allocations: 27.11 kB / 1.292 GB, free: 13.75 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.8413, allocations: 269 kB / 1.292 GB, free: 13.54 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.474e-05/0.8414, allocations: 24.55 kB / 1.292 GB, free: 13.52 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003641/0.8417, allocations: 359.5 kB / 1.292 GB, free: 13.42 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.8419, allocations: 313.6 kB / 1.293 GB, free: 13.11 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001509/0.8434, allocations: 1.37 MB / 1.294 GB, free: 12.66 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/0.845, allocations: 1.503 MB / 1.295 GB, free: 12.14 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007001/0.852, allocations: 3.562 MB / 1.299 GB, free: 10.29 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.852, allocations: 0 / 1.299 GB, free: 10.29 MB / 1.014 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004413/0.8564, allocations: 4.006 MB / 1.303 GB, free: 8.309 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.8565, allocations: 7.844 kB / 1.303 GB, free: 8.309 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.8565, allocations: 3.953 kB / 1.303 GB, free: 8.309 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.8565, allocations: 1.062 kB / 1.303 GB, free: 8.309 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.8566, allocations: 23.48 kB / 1.303 GB, free: 8.301 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.8566, allocations: 5.188 kB / 1.303 GB, free: 8.297 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005649/0.8572, allocations: 241.1 kB / 1.303 GB, free: 8.102 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.821e-05/0.8572, allocations: 28.27 kB / 1.303 GB, free: 8.098 MB / 1.014 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.0003218/0.8576, allocations: 238.5 kB / 1.303 GB, free: 7.98 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.791e-05/0.8576, allocations: 77.72 kB / 1.303 GB, free: 7.918 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.8586, allocations: 0.9477 MB / 1.304 GB, free: 7.832 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.8586, allocations: 1.25 kB / 1.304 GB, free: 7.832 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.8586, allocations: 1.594 kB / 1.304 GB, free: 7.832 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.8586, allocations: 1.703 kB / 1.304 GB, free: 7.832 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005428/0.8592, allocations: 0.4904 MB / 1.305 GB, free: 7.555 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.8592, allocations: 5.938 kB / 1.305 GB, free: 7.551 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.623e-05/0.8593, allocations: 7.141 kB / 1.305 GB, free: 7.551 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.8593, allocations: 0 / 1.305 GB, free: 7.551 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.8593, allocations: 8.516 kB / 1.305 GB, free: 7.547 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.8593, allocations: 1.469 kB / 1.305 GB, free: 7.547 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.8593, allocations: 12.52 kB / 1.305 GB, free: 7.535 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009478/0.8602, allocations: 0.9951 MB / 1.306 GB, free: 7.391 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.8604, allocations: 166.2 kB / 1.306 GB, free: 7.23 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.829e-05/0.8604, allocations: 3.328 kB / 1.306 GB, free: 7.23 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.8606, allocations: 8.688 kB / 1.306 GB, free: 7.227 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.432e-05/0.8606, allocations: 6.016 kB / 1.306 GB, free: 7.227 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.8606, allocations: 12.38 kB / 1.306 GB, free: 7.227 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007913/0.8614, allocations: 0.6711 MB / 1.307 GB, free: 7 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.8614, allocations: 0 / 1.307 GB, free: 7 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001833/0.8632, allocations: 0.5848 MB / 1.307 GB, free: 6.891 MB / 1.014 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.002897/0.8661, allocations: 2.149 MB / 1.309 GB, free: 6.031 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00197/0.8681, allocations: 2.004 MB / 1.311 GB, free: 5.48 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8681, allocations: 0 / 1.311 GB, free: 5.48 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002912/0.8684, allocations: 337.1 kB / 1.312 GB, free: 5.473 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.8687, allocations: 32.69 kB / 1.312 GB, free: 5.445 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01507/0.8838, allocations: 15.29 MB / 1.327 GB, free: 14.54 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005685/0.8843, allocations: 0.9651 MB / 1.328 GB, free: 13.84 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001236/0.8845, allocations: 32.17 kB / 1.328 GB, free: 13.84 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003119/0.8848, allocations: 265.7 kB / 1.328 GB, free: 13.62 MB / 1.029 GB Notification: Performance of SimCode: time 8.72e-07/0.8848, allocations: 3.938 kB / 1.328 GB, free: 13.61 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05496/0.9397, allocations: 23.9 MB / 1.351 GB, free: 2.773 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.193/10.13, allocations: 11.62 kB / 1.351 GB, free: 2.766 MB / 1.029 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.556352958001298]