Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001491/0.001491, allocations: 98.08 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.00166/0.00166, allocations: 217.8 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.381/1.381, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.085/3.085, allocations: 0.49 GB / 0.7959 GB, free: 33.4 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.001938/0.001938, allocations: 70.61 kB / 1.155 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3336, allocations: 176.1 MB / 1.327 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003202/0.3368, allocations: 1.796 MB / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008138/0.345, allocations: 5.5 MB / 1.334 GB, free: 10.61 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.3451, allocations: 7.938 kB / 1.334 GB, free: 10.6 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.3463, allocations: 374.4 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.3465, allocations: 59.72 kB / 1.334 GB, free: 10.17 MB / 1.029 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.004028/0.3505, allocations: 1.617 MB / 1.336 GB, free: 8.555 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002935/0.3508, allocations: 166.4 kB / 1.336 GB, free: 8.395 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.797e-05/0.3508, allocations: 5.75 kB / 1.336 GB, free: 8.387 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.162e-05/0.3509, allocations: 63.7 kB / 1.336 GB, free: 8.324 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002415/0.3512, allocations: 175.4 kB / 1.336 GB, free: 8.152 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.826e-05/0.3512, allocations: 16 kB / 1.336 GB, free: 8.137 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004114/0.3553, allocations: 2.66 MB / 1.339 GB, free: 5.473 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002573/0.3556, allocations: 275.8 kB / 1.339 GB, free: 5.203 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002923/0.3559, allocations: 310.1 kB / 1.339 GB, free: 4.898 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003489/0.3594, allocations: 2.239 MB / 1.342 GB, free: 2.652 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3594, allocations: 0 / 1.342 GB, free: 2.652 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3594, allocations: 4 kB / 1.342 GB, free: 2.648 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.3594, allocations: 0 / 1.342 GB, free: 2.648 MB / 1.029 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.01078/0.3702, allocations: 1.335 MB / 1.343 GB, free: 1.277 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.3702, allocations: 12.02 kB / 1.343 GB, free: 1.266 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.97e-05/0.3702, allocations: 4.188 kB / 1.343 GB, free: 1.262 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.383e-05/0.3703, allocations: 34.75 kB / 1.343 GB, free: 1.219 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004128/0.3707, allocations: 104.2 kB / 1.343 GB, free: 1.117 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006064/0.3713, allocations: 344.6 kB / 1.343 GB, free: 0.7461 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.3713, allocations: 8.375 kB / 1.343 GB, free: 0.7383 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.802e-05/0.3713, allocations: 4.375 kB / 1.343 GB, free: 0.7344 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004697/0.3718, allocations: 391.1 kB / 1.344 GB, free: 348 kB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.3718, allocations: 0 / 1.344 GB, free: 348 kB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.3718, allocations: 7.984 kB / 1.344 GB, free: 340 kB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.3718, allocations: 7.938 kB / 1.344 GB, free: 332 kB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005016/0.3723, allocations: 431.8 kB / 1.344 GB, free: 15.9 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007563/0.3731, allocations: 0.6455 MB / 1.345 GB, free: 15.21 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006093/0.3737, allocations: 0.5594 MB / 1.345 GB, free: 14.64 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003423/0.374, allocations: 333.7 kB / 1.346 GB, free: 14.3 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006046/0.3747, allocations: 135.8 kB / 1.346 GB, free: 14.17 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004252/0.3751, allocations: 408.8 kB / 1.346 GB, free: 13.75 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.3751, allocations: 0 / 1.346 GB, free: 13.75 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.001433/0.3765, allocations: 1.301 MB / 1.347 GB, free: 12.45 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.3766, allocations: 85.22 kB / 1.348 GB, free: 12.34 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/0.3779, allocations: 1.298 MB / 1.349 GB, free: 11.04 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.976e-05/0.378, allocations: 33.69 kB / 1.349 GB, free: 11 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002279/0.3782, allocations: 285.9 kB / 1.349 GB, free: 10.71 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.835e-05/0.3782, allocations: 27.78 kB / 1.349 GB, free: 10.68 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003519/0.3786, allocations: 355.6 kB / 1.35 GB, free: 10.33 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.3787, allocations: 318 kB / 1.35 GB, free: 10.02 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/0.38, allocations: 1.373 MB / 1.351 GB, free: 8.641 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/0.3815, allocations: 1.507 MB / 1.353 GB, free: 7.125 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007074/0.3886, allocations: 3.56 MB / 1.356 GB, free: 3.473 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.3886, allocations: 3.984 kB / 1.356 GB, free: 3.469 MB / 1.045 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004567/0.3931, allocations: 4.015 MB / 1.36 GB, free: 15.42 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.3932, allocations: 8 kB / 1.36 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/0.3932, allocations: 3.984 kB / 1.36 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.3932, allocations: 4 kB / 1.36 GB, free: 15.4 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.3933, allocations: 12 kB / 1.36 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.3933, allocations: 0 / 1.36 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005419/0.3939, allocations: 249.2 kB / 1.36 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.136e-05/0.3939, allocations: 19.98 kB / 1.36 GB, free: 15.12 MB / 1.061 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.0003429/0.3943, allocations: 254.2 kB / 1.361 GB, free: 14.87 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.193e-05/0.3944, allocations: 83.23 kB / 1.361 GB, free: 14.79 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.3954, allocations: 0.9485 MB / 1.362 GB, free: 13.83 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.3954, allocations: 0 / 1.362 GB, free: 13.83 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.3954, allocations: 0 / 1.362 GB, free: 13.83 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3954, allocations: 0 / 1.362 GB, free: 13.83 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004993/0.3959, allocations: 0.4975 MB / 1.362 GB, free: 13.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3959, allocations: 0 / 1.362 GB, free: 13.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.097e-05/0.396, allocations: 8 kB / 1.362 GB, free: 13.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.396, allocations: 0 / 1.362 GB, free: 13.29 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.396, allocations: 7.984 kB / 1.362 GB, free: 13.28 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.396, allocations: 0 / 1.362 GB, free: 13.28 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.396, allocations: 0 / 1.362 GB, free: 13.28 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009962/0.397, allocations: 1.01 MB / 1.363 GB, free: 12.25 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.3971, allocations: 95.28 kB / 1.363 GB, free: 12.15 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.243e-05/0.3972, allocations: 3.938 kB / 1.363 GB, free: 12.15 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.3974, allocations: 8 kB / 1.363 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.3975, allocations: 7.984 kB / 1.363 GB, free: 12.13 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.829e-05/0.3975, allocations: 11.97 kB / 1.363 GB, free: 12.12 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008465/0.3983, allocations: 0.7261 MB / 1.364 GB, free: 11.39 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3983, allocations: 0 / 1.364 GB, free: 11.39 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001622/0.4, allocations: 0.6001 MB / 1.364 GB, free: 10.79 MB / 1.061 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.003247/0.4032, allocations: 2.158 MB / 1.367 GB, free: 8.613 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002206/0.4054, allocations: 2.004 MB / 1.369 GB, free: 6.598 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.4054, allocations: 0 / 1.369 GB, free: 6.598 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003854/0.4058, allocations: 335.8 kB / 1.369 GB, free: 6.27 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005617/0.4064, allocations: 70.61 kB / 1.369 GB, free: 6.199 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01777/0.4241, allocations: 15.3 MB / 1.384 GB, free: 6.715 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006242/0.4248, allocations: 0.9839 MB / 1.385 GB, free: 5.703 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001724/0.4249, allocations: 41.41 kB / 1.385 GB, free: 5.66 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003647/0.4253, allocations: 287.3 kB / 1.385 GB, free: 5.379 MB / 1.076 GB Notification: Performance of SimCode: time 1.493e-06/0.4253, allocations: 4 kB / 1.385 GB, free: 5.375 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05616/0.4815, allocations: 24.5 MB / 1.409 GB, free: 13.09 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.31, allocations: 8.062 kB / 1.409 GB, free: 13.08 MB / 1.107 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --stepSize=7.2e+08 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 20.407180192007218] Failed to read output from testmodel.py, exit status != 0: 13.480368040967733 13.495034482 13.132676868 Calling exit ...