Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.001744/0.001744, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.001366/0.001366, allocations: 217 kB / 23.04 MB, free: 5.074 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.383/1.383, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.987/2.987, allocations: 0.5003 GB / 0.8062 GB, free: 26.73 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.001825/0.001825, allocations: 71.36 kB / 1.171 GB, free: 19.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.314, allocations: 179 MB / 1.345 GB, free: 456 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003021/0.317, allocations: 1.805 MB / 1.347 GB, free: 14.62 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.007883/0.3249, allocations: 5.483 MB / 1.353 GB, free: 9.117 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.325, allocations: 3.938 kB / 1.353 GB, free: 9.113 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001161/0.3262, allocations: 382.4 kB / 1.353 GB, free: 8.738 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.3263, allocations: 59.66 kB / 1.353 GB, free: 8.68 MB / 1.045 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'. Notification: Performance of NFTyping.typeClassSections: time 0.004091/0.3304, allocations: 1.608 MB / 1.355 GB, free: 7.07 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003278/0.3307, allocations: 166.3 kB / 1.355 GB, free: 6.91 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.884e-05/0.3308, allocations: 5.75 kB / 1.355 GB, free: 6.906 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.992e-05/0.3309, allocations: 59.77 kB / 1.355 GB, free: 6.848 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002541/0.3311, allocations: 175.4 kB / 1.355 GB, free: 6.676 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.831e-05/0.3312, allocations: 16 kB / 1.355 GB, free: 6.66 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004542/0.3357, allocations: 2.648 MB / 1.357 GB, free: 4.008 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000288/0.336, allocations: 291.7 kB / 1.358 GB, free: 3.723 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0004093/0.3364, allocations: 302.2 kB / 1.358 GB, free: 3.422 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004033/0.3404, allocations: 2.227 MB / 1.36 GB, free: 1.188 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3404, allocations: 0 / 1.36 GB, free: 1.188 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3404, allocations: 0 / 1.36 GB, free: 1.188 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.895e-05/0.3405, allocations: 4 kB / 1.36 GB, free: 1.184 MB / 1.045 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.01043/0.3509, allocations: 1.335 MB / 1.362 GB, free: 15.81 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.3509, allocations: 12.03 kB / 1.362 GB, free: 15.8 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.365e-05/0.3509, allocations: 192 / 1.362 GB, free: 15.8 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.375e-05/0.351, allocations: 34.75 kB / 1.362 GB, free: 15.75 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004396/0.3514, allocations: 104.1 kB / 1.362 GB, free: 15.65 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005423/0.352, allocations: 348.5 kB / 1.362 GB, free: 15.28 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.352, allocations: 4.375 kB / 1.362 GB, free: 15.27 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.292e-05/0.352, allocations: 19.69 kB / 1.362 GB, free: 15.25 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004718/0.3525, allocations: 391.2 kB / 1.362 GB, free: 14.86 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.3525, allocations: 0 / 1.362 GB, free: 14.86 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.3525, allocations: 0 / 1.362 GB, free: 14.86 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3525, allocations: 0 / 1.362 GB, free: 14.86 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004673/0.353, allocations: 439.7 kB / 1.363 GB, free: 14.43 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007302/0.3537, allocations: 0.6454 MB / 1.363 GB, free: 13.74 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005911/0.3543, allocations: 0.5633 MB / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003408/0.3546, allocations: 333.7 kB / 1.364 GB, free: 12.83 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006129/0.3553, allocations: 131.9 kB / 1.364 GB, free: 12.7 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004369/0.3557, allocations: 404.8 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.3557, allocations: 4 kB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.001443/0.3571, allocations: 1.309 MB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/0.3572, allocations: 77.11 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/0.3586, allocations: 1.294 MB / 1.367 GB, free: 9.566 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.87e-05/0.3586, allocations: 33.7 kB / 1.367 GB, free: 9.527 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002448/0.3589, allocations: 290 kB / 1.368 GB, free: 9.238 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.729e-05/0.3589, allocations: 31.78 kB / 1.368 GB, free: 9.207 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003687/0.3593, allocations: 347.6 kB / 1.368 GB, free: 8.863 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3594, allocations: 322 kB / 1.368 GB, free: 8.543 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001349/0.3608, allocations: 1.369 MB / 1.37 GB, free: 7.172 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001483/0.3623, allocations: 1.505 MB / 1.371 GB, free: 5.656 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007314/0.3696, allocations: 3.564 MB / 1.375 GB, free: 2 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.3696, allocations: 0 / 1.375 GB, free: 2 MB / 1.061 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004651/0.3742, allocations: 4.019 MB / 1.379 GB, free: 13.94 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.3743, allocations: 4 kB / 1.379 GB, free: 13.94 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.647e-05/0.3743, allocations: 4 kB / 1.379 GB, free: 13.93 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.3743, allocations: 4.031 kB / 1.379 GB, free: 13.93 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.3744, allocations: 15.98 kB / 1.379 GB, free: 13.91 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.3744, allocations: 4 kB / 1.379 GB, free: 13.91 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005287/0.375, allocations: 237.4 kB / 1.379 GB, free: 13.68 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.45e-05/0.375, allocations: 23.98 kB / 1.379 GB, free: 13.65 MB / 1.076 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.0003488/0.3754, allocations: 257.3 kB / 1.379 GB, free: 13.39 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.417e-05/0.3755, allocations: 83.28 kB / 1.379 GB, free: 13.31 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/0.3765, allocations: 0.9449 MB / 1.38 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.3765, allocations: 4 kB / 1.38 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3765, allocations: 0 / 1.38 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3765, allocations: 0 / 1.38 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005009/0.377, allocations: 0.4897 MB / 1.381 GB, free: 11.83 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.377, allocations: 0 / 1.381 GB, free: 11.83 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.164e-05/0.3771, allocations: 7.984 kB / 1.381 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3771, allocations: 4.031 kB / 1.381 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.3771, allocations: 8 kB / 1.381 GB, free: 11.81 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3771, allocations: 80 / 1.381 GB, free: 11.81 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.3771, allocations: 3.984 kB / 1.381 GB, free: 11.8 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000997/0.3781, allocations: 1.018 MB / 1.382 GB, free: 10.77 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.3782, allocations: 91.23 kB / 1.382 GB, free: 10.68 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.843e-05/0.3783, allocations: 8 kB / 1.382 GB, free: 10.67 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.3785, allocations: 3.984 kB / 1.382 GB, free: 10.66 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.3785, allocations: 7.984 kB / 1.382 GB, free: 10.66 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.804e-05/0.3785, allocations: 11.98 kB / 1.382 GB, free: 10.64 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008538/0.3794, allocations: 0.7222 MB / 1.383 GB, free: 9.918 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.3794, allocations: 4 kB / 1.383 GB, free: 9.914 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001506/0.3809, allocations: 0.5923 MB / 1.383 GB, free: 9.32 MB / 1.076 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.003462/0.3844, allocations: 2.166 MB / 1.385 GB, free: 7.141 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002194/0.3865, allocations: 2.001 MB / 1.387 GB, free: 5.125 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3865, allocations: 0 / 1.387 GB, free: 5.125 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003552/0.3869, allocations: 331.8 kB / 1.387 GB, free: 4.801 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.3873, allocations: 52.97 kB / 1.388 GB, free: 4.75 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01695/0.4043, allocations: 15.31 MB / 1.402 GB, free: 5.25 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006804/0.4049, allocations: 0.9918 MB / 1.403 GB, free: 4.234 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001759/0.4051, allocations: 41.39 kB / 1.403 GB, free: 4.191 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003617/0.4055, allocations: 291.3 kB / 1.404 GB, free: 3.906 MB / 1.092 GB Notification: Performance of SimCode: time 1.092e-06/0.4055, allocations: 0 / 1.404 GB, free: 3.906 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05504/0.4605, allocations: 24.49 MB / 1.428 GB, free: 11.63 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/13.53, allocations: 4.062 kB / 1.428 GB, free: 11.62 MB / 1.123 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --stepSize=7.2e+08 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 20.327829825051595] Failed to read output from testmodel.py, exit status != 0: 13.699067695997655 13.714402675 13.370972882 Calling exit ...