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_1borehole_5meters.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.001479/0.001479, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001691/0.001691, allocations: 216 kB / 23.04 MB, free: 5.078 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.349/1.349, allocations: 230.6 MB / 256.8 MB, free: 8.02 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 2.959/2.959, allocations: 0.49 GB / 0.7959 GB, free: 33.35 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_1borehole_5meters,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",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.001867/0.001867, allocations: 64.14 kB / 1.155 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3108, allocations: 176.1 MB / 1.327 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002503/0.3133, allocations: 1.459 MB / 1.328 GB, free: 468 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006459/0.3197, allocations: 4.305 MB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.829e-05/0.3198, allocations: 4 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.3199, allocations: 15.86 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.3201, allocations: 31.84 kB / 1.332 GB, free: 12.08 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.003853/0.324, allocations: 1.622 MB / 1.334 GB, free: 10.46 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.3241, allocations: 87.8 kB / 1.334 GB, free: 10.37 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.984e-05/0.3242, allocations: 4 kB / 1.334 GB, free: 10.37 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.231e-05/0.3242, allocations: 51.77 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.3245, allocations: 155.6 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.42e-05/0.3245, allocations: 12 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003759/0.3283, allocations: 2.656 MB / 1.337 GB, free: 7.492 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002233/0.3285, allocations: 267.8 kB / 1.337 GB, free: 7.227 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002444/0.3287, allocations: 282.3 kB / 1.337 GB, free: 6.949 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002766/0.3315, allocations: 2.165 MB / 1.34 GB, free: 4.777 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3315, allocations: 0 / 1.34 GB, free: 4.777 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.637e-06/0.3315, allocations: 7.922 kB / 1.34 GB, free: 4.77 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.3315, allocations: 0 / 1.34 GB, free: 4.77 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.009849/0.3414, allocations: 1.264 MB / 1.341 GB, free: 3.469 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.3414, allocations: 8.031 kB / 1.341 GB, free: 3.461 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.027e-05/0.3414, allocations: 4.188 kB / 1.341 GB, free: 3.457 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.127e-05/0.3414, allocations: 34.75 kB / 1.341 GB, free: 3.414 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003716/0.3418, allocations: 88.25 kB / 1.341 GB, free: 3.328 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003975/0.3422, allocations: 311.2 kB / 1.341 GB, free: 2.988 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.3422, allocations: 12.36 kB / 1.341 GB, free: 2.977 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.3423, allocations: 4.375 kB / 1.341 GB, free: 2.973 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000441/0.3427, allocations: 395.1 kB / 1.342 GB, free: 2.574 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.3427, allocations: 0 / 1.342 GB, free: 2.574 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.3427, allocations: 0 / 1.342 GB, free: 2.574 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3427, allocations: 0 / 1.342 GB, free: 2.574 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004481/0.3432, allocations: 435.7 kB / 1.342 GB, free: 2.148 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006092/0.3438, allocations: 0.6166 MB / 1.343 GB, free: 1.488 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005462/0.3443, allocations: 0.5672 MB / 1.343 GB, free: 0.9023 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003176/0.3447, allocations: 333.7 kB / 1.343 GB, free: 0.5703 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006433/0.3453, allocations: 139.8 kB / 1.344 GB, free: 444 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004011/0.3457, allocations: 408.8 kB / 1.344 GB, free: 16 kB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.3457, allocations: 4 kB / 1.344 GB, free: 12 kB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.001353/0.3471, allocations: 1.289 MB / 1.345 GB, free: 14.71 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.3471, allocations: 81.11 kB / 1.345 GB, free: 14.62 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.3483, allocations: 1.211 MB / 1.347 GB, free: 13.39 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.926e-05/0.3483, allocations: 29.7 kB / 1.347 GB, free: 13.36 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.3485, allocations: 273.9 kB / 1.347 GB, free: 13.08 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.178e-05/0.3485, allocations: 19.84 kB / 1.347 GB, free: 13.06 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003267/0.3488, allocations: 351.6 kB / 1.347 GB, free: 12.71 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.349, allocations: 314 kB / 1.347 GB, free: 12.4 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/0.3502, allocations: 1.377 MB / 1.349 GB, free: 11.02 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001366/0.3516, allocations: 1.501 MB / 1.35 GB, free: 9.512 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006886/0.3585, allocations: 3.564 MB / 1.354 GB, free: 5.855 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.3585, allocations: 0 / 1.354 GB, free: 5.855 MB / 1.045 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004442/0.3629, allocations: 4.015 MB / 1.358 GB, free: 1.805 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.3629, allocations: 8 kB / 1.358 GB, free: 1.797 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/0.3629, allocations: 4 kB / 1.358 GB, free: 1.793 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.363, allocations: 4 kB / 1.358 GB, free: 1.789 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.3631, allocations: 19.92 kB / 1.358 GB, free: 1.77 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.3631, allocations: 0 / 1.358 GB, free: 1.77 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004952/0.3636, allocations: 233.4 kB / 1.358 GB, free: 1.539 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.227e-05/0.3637, allocations: 27.98 kB / 1.358 GB, free: 1.512 MB / 1.045 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.0003096/0.364, allocations: 250.1 kB / 1.358 GB, free: 1.258 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.626e-05/0.364, allocations: 71.28 kB / 1.358 GB, free: 1.188 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009893/0.365, allocations: 0.9399 MB / 1.359 GB, free: 244 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.365, allocations: 0 / 1.359 GB, free: 244 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.365, allocations: 8.031 kB / 1.359 GB, free: 236 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.365, allocations: 0 / 1.359 GB, free: 236 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004362/0.3655, allocations: 471.9 kB / 1.36 GB, free: 15.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3655, allocations: 3.938 kB / 1.36 GB, free: 15.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.486e-05/0.3655, allocations: 8 kB / 1.36 GB, free: 15.72 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.3655, allocations: 3.984 kB / 1.36 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.3656, allocations: 8 kB / 1.36 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3656, allocations: 0 / 1.36 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3656, allocations: 0 / 1.36 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000925/0.3665, allocations: 1.01 MB / 1.361 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.825e-05/0.3666, allocations: 75.34 kB / 1.361 GB, free: 14.6 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.798e-05/0.3666, allocations: 4 kB / 1.361 GB, free: 14.6 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.3668, allocations: 0 / 1.361 GB, free: 14.6 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.3668, allocations: 15.92 kB / 1.361 GB, free: 14.58 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.771e-05/0.3668, allocations: 19.97 kB / 1.361 GB, free: 14.56 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007109/0.3676, allocations: 0.6689 MB / 1.361 GB, free: 13.89 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3676, allocations: 0 / 1.361 GB, free: 13.89 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001489/0.369, allocations: 0.5923 MB / 1.362 GB, free: 13.29 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.003235/0.3723, allocations: 2.159 MB / 1.364 GB, free: 11.12 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002101/0.3744, allocations: 1.997 MB / 1.366 GB, free: 9.109 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3744, allocations: 0 / 1.366 GB, free: 9.109 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000352/0.3747, allocations: 343.8 kB / 1.366 GB, free: 8.773 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.3751, allocations: 32.59 kB / 1.366 GB, free: 8.738 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01569/0.3908, allocations: 15.28 MB / 1.381 GB, free: 9.277 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005543/0.3913, allocations: 0.9718 MB / 1.382 GB, free: 8.277 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001378/0.3915, allocations: 36.59 kB / 1.382 GB, free: 8.238 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003071/0.3918, allocations: 263.3 kB / 1.383 GB, free: 7.98 MB / 1.076 GB Notification: Performance of SimCode: time 8.31e-07/0.3918, allocations: 4 kB / 1.383 GB, free: 7.977 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04955/0.4413, allocations: 24.25 MB / 1.406 GB, free: 15.92 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.34, allocations: 0 / 1.406 GB, free: 15.92 MB / 1.107 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --stepSize=164800 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 20.382804167980794] Failed to read output from testmodel.py, exit status != 0: 13.506994555005804 13.522712239 13.188174388 Calling exit ...