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_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.001317/0.001317, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.00137/0.00137, allocations: 220.1 kB / 23.03 MB, free: 4.941 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.37/1.37, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.669/2.669, allocations: 476.8 MB / 0.7715 GB, free: 3.891 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.001914/0.001914, allocations: 71.06 kB / 1.118 GB, free: 8.738 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3448, allocations: 169.9 MB / 1.284 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003411/0.3482, allocations: 1.733 MB / 1.286 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008196/0.3564, allocations: 4.888 MB / 1.291 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.3565, allocations: 3.938 kB / 1.291 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.3578, allocations: 338.5 kB / 1.291 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001667/0.358, allocations: 59.67 kB / 1.291 GB, free: 12.22 MB / 0.9981 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/Buildings 11.1.1-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.004082/0.362, allocations: 1.592 MB / 1.293 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002982/0.3623, allocations: 163.4 kB / 1.293 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.147e-05/0.3624, allocations: 9.688 kB / 1.293 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.5e-05/0.3625, allocations: 63.77 kB / 1.293 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002472/0.3627, allocations: 171.4 kB / 1.293 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.431e-05/0.3628, allocations: 12 kB / 1.293 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003755/0.3665, allocations: 2.508 MB / 1.295 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002475/0.3668, allocations: 283.8 kB / 1.296 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002528/0.367, allocations: 250.6 kB / 1.296 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002757/0.3698, allocations: 2.216 MB / 1.298 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.3698, allocations: 0 / 1.298 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.193e-06/0.3698, allocations: 0 / 1.298 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.3698, allocations: 0 / 1.298 GB, free: 4.953 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.008257/0.3781, allocations: 1.333 MB / 1.299 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.3781, allocations: 8.031 kB / 1.299 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.703e-05/0.3781, allocations: 8.188 kB / 1.299 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.556e-05/0.3781, allocations: 34.75 kB / 1.299 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003976/0.3785, allocations: 108.1 kB / 1.3 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005691/0.3791, allocations: 348.5 kB / 1.3 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.3791, allocations: 384 / 1.3 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.554e-05/0.3792, allocations: 16.36 kB / 1.3 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004711/0.3796, allocations: 399 kB / 1.3 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.3797, allocations: 0 / 1.3 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.3797, allocations: 0 / 1.3 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3797, allocations: 0 / 1.3 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004612/0.3801, allocations: 435.7 kB / 1.301 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006535/0.3808, allocations: 0.6143 MB / 1.301 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005583/0.3813, allocations: 0.5632 MB / 1.302 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000352/0.3817, allocations: 337.7 kB / 1.302 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005887/0.3823, allocations: 139.6 kB / 1.302 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004355/0.3827, allocations: 408.8 kB / 1.303 GB, free: 76 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.693e-06/0.3827, allocations: 0 / 1.303 GB, free: 76 kB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.001465/0.3842, allocations: 1.305 MB / 1.304 GB, free: 14.76 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.485e-05/0.3842, allocations: 81.11 kB / 1.304 GB, free: 14.66 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.3856, allocations: 1.298 MB / 1.305 GB, free: 13.36 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/0.3856, allocations: 25.7 kB / 1.305 GB, free: 13.32 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/0.3859, allocations: 289.9 kB / 1.306 GB, free: 13.04 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/0.3859, allocations: 23.84 kB / 1.306 GB, free: 13.01 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003459/0.3862, allocations: 351.6 kB / 1.306 GB, free: 12.66 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3864, allocations: 318 kB / 1.306 GB, free: 12.35 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/0.3877, allocations: 1.373 MB / 1.308 GB, free: 10.97 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001437/0.3892, allocations: 1.505 MB / 1.309 GB, free: 9.457 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007128/0.3963, allocations: 3.564 MB / 1.313 GB, free: 5.801 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3963, allocations: 0 / 1.313 GB, free: 5.801 MB / 1.014 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004582/0.4009, allocations: 4.023 MB / 1.316 GB, free: 1.742 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.4009, allocations: 4 kB / 1.316 GB, free: 1.738 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/0.4009, allocations: 4 kB / 1.316 GB, free: 1.734 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.4009, allocations: 0 / 1.316 GB, free: 1.734 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.4011, allocations: 15.98 kB / 1.317 GB, free: 1.719 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.4011, allocations: 320 / 1.317 GB, free: 1.719 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005157/0.4016, allocations: 241.4 kB / 1.317 GB, free: 1.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.361e-05/0.4017, allocations: 27.98 kB / 1.317 GB, free: 1.453 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.0003374/0.402, allocations: 255.1 kB / 1.317 GB, free: 1.195 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.701e-05/0.4021, allocations: 83.19 kB / 1.317 GB, free: 1.113 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.4031, allocations: 0.9523 MB / 1.318 GB, free: 156 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.4031, allocations: 0 / 1.318 GB, free: 156 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4031, allocations: 0 / 1.318 GB, free: 156 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.4031, allocations: 4 kB / 1.318 GB, free: 152 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004939/0.4036, allocations: 497.4 kB / 1.318 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.4036, allocations: 4 kB / 1.319 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.293e-05/0.4037, allocations: 12.02 kB / 1.319 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.4037, allocations: 0 / 1.319 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.4037, allocations: 4 kB / 1.319 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.4037, allocations: 0 / 1.319 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4037, allocations: 0 / 1.319 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009821/0.4047, allocations: 1.022 MB / 1.32 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.4048, allocations: 83.3 kB / 1.32 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.426e-05/0.4049, allocations: 4 kB / 1.32 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.405, allocations: 11.98 kB / 1.32 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.4051, allocations: 4 kB / 1.32 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.68e-05/0.4051, allocations: 15.97 kB / 1.32 GB, free: 14.45 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000827/0.4059, allocations: 0.7183 MB / 1.32 GB, free: 13.72 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4059, allocations: 0 / 1.32 GB, free: 13.72 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001477/0.4074, allocations: 0.6001 MB / 1.321 GB, free: 13.12 MB / 1.029 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.003091/0.4105, allocations: 2.17 MB / 1.323 GB, free: 10.94 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002154/0.4126, allocations: 1.997 MB / 1.325 GB, free: 8.93 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4126, allocations: 0 / 1.325 GB, free: 8.93 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000371/0.413, allocations: 331.8 kB / 1.325 GB, free: 8.605 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004726/0.4135, allocations: 57.7 kB / 1.325 GB, free: 8.547 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01645/0.4299, allocations: 15.3 MB / 1.34 GB, free: 9.07 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.4303, allocations: 397.8 kB / 1.341 GB, free: 8.656 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001547/0.4305, allocations: 37.41 kB / 1.341 GB, free: 8.621 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003615/0.4309, allocations: 295.3 kB / 1.341 GB, free: 8.332 MB / 1.045 GB Notification: Performance of SimCode: time 1.112e-06/0.4309, allocations: 0 / 1.341 GB, free: 8.332 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05613/0.487, allocations: 25.19 MB / 1.366 GB, free: 15.44 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/13.55, allocations: 4.734 kB / 1.366 GB, free: 15.44 MB / 1.076 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat --tempDir=temp_Buildings_11_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_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 20.376049434999004] Failed to read output from testmodel.py, exit status != 0: 13.724612861056812 13.749719085 13.375442453 Calling exit ...