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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 113.9 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 190.8 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.671/2.671, allocations: 476.7 MB / 0.7629 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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="me",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="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 71.89 kB / 1.107 GB, free: 5.035 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9421/0.944, allocations: 168.7 MB / 1.272 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002812/0.9469, allocations: 1.789 MB / 1.273 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00661/0.9535, allocations: 5.458 MB / 1.279 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.9536, allocations: 1.531 kB / 1.279 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.9548, allocations: 363.7 kB / 1.279 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.9549, allocations: 65.44 kB / 1.279 GB, free: 2.582 MB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0-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.004051/0.959, allocations: 1.501 MB / 1.281 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003171/0.9593, allocations: 161.7 kB / 1.281 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.915e-05/0.9593, allocations: 10.64 kB / 1.281 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.097e-05/0.9594, allocations: 65.02 kB / 1.281 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.9597, allocations: 168.8 kB / 1.281 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.023e-05/0.9597, allocations: 16.12 kB / 1.281 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003835/0.9635, allocations: 2.308 MB / 1.283 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002451/0.9638, allocations: 283 kB / 1.283 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002298/0.964, allocations: 309.1 kB / 1.284 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003803/0.9678, allocations: 2.19 MB / 1.286 GB, free: 260 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.9678, allocations: 0 / 1.286 GB, free: 260 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.9678, allocations: 0 / 1.286 GB, free: 260 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.9678, allocations: 4.453 kB / 1.286 GB, free: 256 kB / 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.01044/0.9783, allocations: 1.413 MB / 1.287 GB, free: 15.23 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.9783, allocations: 11.19 kB / 1.287 GB, free: 15.23 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.921e-05/0.9784, allocations: 31.55 kB / 1.287 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000389/0.9787, allocations: 107.8 kB / 1.287 GB, free: 15.13 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005955/0.9793, allocations: 410.6 kB / 1.288 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.9793, allocations: 2.531 kB / 1.288 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.249e-05/0.9794, allocations: 8.766 kB / 1.288 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004592/0.9799, allocations: 398.5 kB / 1.288 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.9799, allocations: 5.469 kB / 1.288 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.9799, allocations: 0.6562 kB / 1.288 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.9799, allocations: 1.125 kB / 1.288 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004477/0.9803, allocations: 432.7 kB / 1.289 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007535/0.9811, allocations: 0.6662 MB / 1.289 GB, free: 14.33 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004962/0.9816, allocations: 0.5665 MB / 1.29 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003092/0.9819, allocations: 331.6 kB / 1.29 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/0.983, allocations: 1.022 MB / 1.291 GB, free: 13.12 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004062/0.9834, allocations: 425.1 kB / 1.292 GB, free: 13.02 MB / 1.014 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.9834, allocations: 0 / 1.292 GB, free: 13.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.001733/0.9851, allocations: 1.297 MB / 1.293 GB, free: 12.9 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.893e-05/0.9852, allocations: 84.75 kB / 1.293 GB, free: 12.8 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/0.9868, allocations: 1.298 MB / 1.294 GB, free: 12.29 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.122e-05/0.9868, allocations: 31.44 kB / 1.294 GB, free: 12.25 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/0.9871, allocations: 286.6 kB / 1.294 GB, free: 12.04 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.368e-05/0.9871, allocations: 26.41 kB / 1.294 GB, free: 12.02 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003777/0.9875, allocations: 354.3 kB / 1.295 GB, free: 11.91 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.9877, allocations: 321.3 kB / 1.295 GB, free: 11.6 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001406/0.9891, allocations: 1.375 MB / 1.296 GB, free: 11.14 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0015/0.9906, allocations: 1.506 MB / 1.298 GB, free: 10.62 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00742/0.998, allocations: 3.558 MB / 1.301 GB, free: 8.773 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.998, allocations: 0 / 1.301 GB, free: 8.773 MB / 1.014 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004968/1.003, allocations: 4.022 MB / 1.305 GB, free: 6.781 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/1.003, allocations: 5.844 kB / 1.305 GB, free: 6.781 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/1.003, allocations: 2.234 kB / 1.305 GB, free: 6.781 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/1.003, allocations: 1.375 kB / 1.305 GB, free: 6.781 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/1.003, allocations: 15.16 kB / 1.305 GB, free: 6.781 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/1.003, allocations: 1.281 kB / 1.305 GB, free: 6.781 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006854/1.004, allocations: 241.2 kB / 1.306 GB, free: 6.586 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.449e-05/1.004, allocations: 28.31 kB / 1.306 GB, free: 6.582 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.0004113/1.004, allocations: 247.7 kB / 1.306 GB, free: 6.457 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.797e-05/1.004, allocations: 89.16 kB / 1.306 GB, free: 6.387 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/1.005, allocations: 0.9477 MB / 1.307 GB, free: 6.301 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/1.005, allocations: 1.531 kB / 1.307 GB, free: 6.301 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.005, allocations: 0.7031 kB / 1.307 GB, free: 6.301 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/1.005, allocations: 6.609 kB / 1.307 GB, free: 6.297 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006093/1.006, allocations: 0.5115 MB / 1.307 GB, free: 6.016 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/1.006, allocations: 5.125 kB / 1.307 GB, free: 6.012 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.014e-05/1.006, allocations: 7.828 kB / 1.307 GB, free: 6.012 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/1.006, allocations: 1.188 kB / 1.307 GB, free: 6.012 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/1.006, allocations: 7.734 kB / 1.307 GB, free: 6.008 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/1.006, allocations: 0.75 kB / 1.307 GB, free: 6.008 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/1.006, allocations: 1.344 kB / 1.307 GB, free: 6.008 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/1.007, allocations: 1.01 MB / 1.308 GB, free: 5.852 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/1.007, allocations: 173.6 kB / 1.309 GB, free: 5.688 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.753e-05/1.007, allocations: 6.062 kB / 1.309 GB, free: 5.684 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/1.008, allocations: 6.234 kB / 1.309 GB, free: 5.684 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/1.008, allocations: 9.188 kB / 1.309 GB, free: 5.68 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-05/1.008, allocations: 15.83 kB / 1.309 GB, free: 5.676 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009318/1.009, allocations: 0.7238 MB / 1.309 GB, free: 5.434 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.009, allocations: 1.094 kB / 1.309 GB, free: 5.434 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002216/1.011, allocations: 0.5934 MB / 1.31 GB, free: 5.32 MB / 1.014 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.003761/1.015, allocations: 2.167 MB / 1.312 GB, free: 4.457 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002385/1.017, allocations: 1.993 MB / 1.314 GB, free: 3.914 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.017, allocations: 0 / 1.314 GB, free: 3.914 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003679/1.017, allocations: 340 kB / 1.314 GB, free: 3.902 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005146/1.018, allocations: 50.28 kB / 1.314 GB, free: 3.871 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01896/1.037, allocations: 15.31 MB / 1.329 GB, free: 12.8 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007097/1.038, allocations: 0.989 MB / 1.33 GB, free: 12.1 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001968/1.038, allocations: 42.73 kB / 1.33 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003677/1.038, allocations: 291.5 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of SimCode: time 8.92e-07/1.038, allocations: 0 / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06261/1.101, allocations: 24.17 MB / 1.354 GB, free: 15.92 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/11.43, allocations: 12.38 kB / 1.354 GB, free: 15.91 MB / 1.045 GB " [Timeout remaining time 288] (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 --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: 17.915394670009846] Failed to read output from testmodel.py, exit status != 0: 11.51317820197437 11.540040736 10.566992935 Calling exit ...