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.001987/0.001987, allocations: 102.2 kB / 16.45 MB, free: 6.449 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.0024/0.0024, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.491/1.491, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.149/3.149, allocations: 0.49 GB / 0.7916 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_SmallScaleValidation,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",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="me",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.001946/0.001946, allocations: 69.25 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3585, allocations: 176.1 MB / 1.321 GB, free: 3.293 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003717/0.3622, allocations: 1.777 MB / 1.323 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009272/0.3715, allocations: 5.458 MB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000218/0.3717, allocations: 11.94 kB / 1.328 GB, free: 12.01 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001678/0.3734, allocations: 366.4 kB / 1.328 GB, free: 11.65 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002162/0.3736, allocations: 67.59 kB / 1.328 GB, free: 11.59 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.004867/0.3785, allocations: 1.519 MB / 1.33 GB, free: 10.07 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003718/0.3789, allocations: 156 kB / 1.33 GB, free: 9.914 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.506e-05/0.3789, allocations: 9.562 kB / 1.33 GB, free: 9.902 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.3791, allocations: 67.77 kB / 1.33 GB, free: 9.836 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002697/0.3793, allocations: 175.4 kB / 1.33 GB, free: 9.664 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.956e-05/0.3794, allocations: 16 kB / 1.33 GB, free: 9.648 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00472/0.3841, allocations: 2.34 MB / 1.333 GB, free: 7.305 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003077/0.3844, allocations: 275.8 kB / 1.333 GB, free: 7.031 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003789/0.3848, allocations: 310.1 kB / 1.333 GB, free: 6.727 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00461/0.3894, allocations: 2.208 MB / 1.335 GB, free: 4.512 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3894, allocations: 0 / 1.335 GB, free: 4.512 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3894, allocations: 0 / 1.335 GB, free: 4.512 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.67e-05/0.3894, allocations: 0 / 1.335 GB, free: 4.512 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.01096/0.4004, allocations: 1.414 MB / 1.337 GB, free: 3.043 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.4005, allocations: 12.03 kB / 1.337 GB, free: 3.031 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.192e-05/0.4005, allocations: 38.73 kB / 1.337 GB, free: 2.984 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004964/0.401, allocations: 108.2 kB / 1.337 GB, free: 2.879 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007211/0.4017, allocations: 406.4 kB / 1.337 GB, free: 2.434 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.4017, allocations: 384 / 1.337 GB, free: 2.434 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.808e-05/0.4018, allocations: 16.36 kB / 1.337 GB, free: 2.418 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005157/0.4023, allocations: 391.3 kB / 1.338 GB, free: 2.023 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.4023, allocations: 4 kB / 1.338 GB, free: 2.02 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.4023, allocations: 0 / 1.338 GB, free: 2.02 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.4023, allocations: 0 / 1.338 GB, free: 2.02 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000526/0.4029, allocations: 443.6 kB / 1.338 GB, free: 1.586 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008497/0.4037, allocations: 0.662 MB / 1.339 GB, free: 0.875 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005948/0.4043, allocations: 0.5633 MB / 1.339 GB, free: 300 kB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003858/0.4047, allocations: 333.7 kB / 1.34 GB, free: 15.96 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001226/0.4059, allocations: 1.028 MB / 1.341 GB, free: 14.71 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004778/0.4064, allocations: 404.8 kB / 1.341 GB, free: 14.3 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.552e-06/0.4064, allocations: 0 / 1.341 GB, free: 14.3 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.00159/0.408, allocations: 1.305 MB / 1.342 GB, free: 12.98 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.476e-05/0.4081, allocations: 89.22 kB / 1.342 GB, free: 12.88 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001592/0.4097, allocations: 1.29 MB / 1.344 GB, free: 11.58 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.092e-05/0.4097, allocations: 33.69 kB / 1.344 GB, free: 11.54 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002684/0.41, allocations: 285.9 kB / 1.344 GB, free: 11.25 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.335e-05/0.41, allocations: 23.8 kB / 1.344 GB, free: 11.23 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000418/0.4105, allocations: 355.6 kB / 1.344 GB, free: 10.88 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.4106, allocations: 325.9 kB / 1.345 GB, free: 10.55 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/0.4121, allocations: 1.377 MB / 1.346 GB, free: 9.176 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001564/0.4136, allocations: 1.501 MB / 1.347 GB, free: 7.664 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007567/0.4212, allocations: 3.553 MB / 1.351 GB, free: 4.02 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.4212, allocations: 4 kB / 1.351 GB, free: 4.016 MB / 1.045 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005295/0.4265, allocations: 4.019 MB / 1.355 GB, free: 15.96 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/0.4265, allocations: 10.34 kB / 1.355 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.139e-05/0.4265, allocations: 4 kB / 1.355 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.4266, allocations: 7.938 kB / 1.355 GB, free: 15.94 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.4267, allocations: 15.98 kB / 1.355 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.046e-06/0.4267, allocations: 0 / 1.355 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005833/0.4273, allocations: 241.3 kB / 1.355 GB, free: 15.69 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.573e-05/0.4274, allocations: 24.02 kB / 1.355 GB, free: 15.66 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.0004157/0.4278, allocations: 257 kB / 1.355 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.4279, allocations: 79.23 kB / 1.355 GB, free: 15.33 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003493/0.4282, allocations: 79.81 kB / 1.355 GB, free: 15.24 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.4283, allocations: 4 kB / 1.355 GB, free: 15.24 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.4283, allocations: 0 / 1.355 GB, free: 15.24 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.4283, allocations: 4.031 kB / 1.355 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005759/0.4288, allocations: 0.5102 MB / 1.356 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.4288, allocations: 7.875 kB / 1.356 GB, free: 14.67 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.503e-05/0.4289, allocations: 7.984 kB / 1.356 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.325e-06/0.4289, allocations: 4 kB / 1.356 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.4289, allocations: 0 / 1.356 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.4289, allocations: 7.984 kB / 1.356 GB, free: 14.65 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.4289, allocations: 0 / 1.356 GB, free: 14.65 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.43, allocations: 1.018 MB / 1.357 GB, free: 13.61 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/0.4302, allocations: 168.3 kB / 1.357 GB, free: 13.43 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.376e-05/0.4303, allocations: 3.984 kB / 1.357 GB, free: 13.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.4304, allocations: 4 kB / 1.357 GB, free: 13.42 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/0.4305, allocations: 15.92 kB / 1.357 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.53e-05/0.4305, allocations: 11.98 kB / 1.357 GB, free: 13.39 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009343/0.4314, allocations: 0.7261 MB / 1.358 GB, free: 12.66 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4314, allocations: 0 / 1.358 GB, free: 12.66 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001946/0.4334, allocations: 0.5884 MB / 1.358 GB, free: 12.07 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.00376/0.4372, allocations: 2.167 MB / 1.361 GB, free: 9.891 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00233/0.4395, allocations: 1.993 MB / 1.362 GB, free: 7.883 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.4395, allocations: 0 / 1.362 GB, free: 7.883 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003927/0.4399, allocations: 343.8 kB / 1.363 GB, free: 7.547 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004917/0.4404, allocations: 59.58 kB / 1.363 GB, free: 7.488 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01791/0.4583, allocations: 15.29 MB / 1.378 GB, free: 8.012 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006823/0.459, allocations: 0.9879 MB / 1.379 GB, free: 6.992 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001759/0.4591, allocations: 41.39 kB / 1.379 GB, free: 6.953 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003812/0.4595, allocations: 287.3 kB / 1.379 GB, free: 6.672 MB / 1.076 GB Notification: Performance of SimCode: time 1.283e-06/0.4595, allocations: 4 kB / 1.379 GB, free: 6.668 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06114/0.5207, allocations: 24.37 MB / 1.403 GB, free: 14.52 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/10.72, allocations: 17.48 kB / 1.403 GB, free: 14.5 MB / 1.107 GB " [Timeout remaining time 289] (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: 17.37015249300748] Failed to read output from testmodel.py, exit status != 0: 10.803019631886855 10.826569348 10.432705209 Calling exit ...