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.001331/0.001331, allocations: 116.1 kB / 17.17 MB, free: 6 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.001491/0.001491, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.403/1.403, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.752/2.752, allocations: 0.49 GB / 0.7923 GB, free: 1.316 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.001942/0.001942, allocations: 63.91 kB / 1.15 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9082/0.9101, allocations: 176.1 MB / 1.322 GB, free: 7.559 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003858/0.914, allocations: 1.789 MB / 1.323 GB, free: 6.16 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00904/0.923, allocations: 5.46 MB / 1.329 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001854/0.9232, allocations: 5.938 kB / 1.329 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001427/0.9246, allocations: 378.8 kB / 1.329 GB, free: 1.633 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002038/0.9248, allocations: 57.66 kB / 1.329 GB, free: 1.59 MB / 1.014 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.004758/0.9296, allocations: 1.53 MB / 1.331 GB, free: 0.625 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003409/0.9299, allocations: 159 kB / 1.331 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.495e-05/0.93, allocations: 5.094 kB / 1.331 GB, free: 0.543 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.9301, allocations: 66.52 kB / 1.331 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002561/0.9303, allocations: 170.3 kB / 1.331 GB, free: 424 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.036e-05/0.9304, allocations: 15.12 kB / 1.331 GB, free: 424 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00434/0.9347, allocations: 2.345 MB / 1.333 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002961/0.935, allocations: 286.1 kB / 1.334 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000379/0.9354, allocations: 305.8 kB / 1.334 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004537/0.9399, allocations: 2.204 MB / 1.336 GB, free: 13.42 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.94, allocations: 1.125 kB / 1.336 GB, free: 13.42 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.813e-06/0.94, allocations: 4 kB / 1.336 GB, free: 13.41 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.33e-05/0.94, allocations: 0 / 1.336 GB, free: 13.41 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.01133/0.9513, allocations: 1.412 MB / 1.337 GB, free: 12.29 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.9514, allocations: 10.22 kB / 1.337 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.15e-05/0.9514, allocations: 1.312 kB / 1.337 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.418e-05/0.9514, allocations: 31.97 kB / 1.337 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000512/0.9519, allocations: 105 kB / 1.337 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008015/0.9527, allocations: 411.6 kB / 1.338 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.9527, allocations: 2.719 kB / 1.338 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.978e-05/0.9528, allocations: 10.23 kB / 1.338 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005412/0.9533, allocations: 398.2 kB / 1.338 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.9533, allocations: 0 / 1.338 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.9534, allocations: 1.062 kB / 1.338 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.9534, allocations: 5.125 kB / 1.338 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005242/0.9539, allocations: 434.5 kB / 1.339 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.9549, allocations: 0.6719 MB / 1.339 GB, free: 11.1 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006452/0.9555, allocations: 0.5635 MB / 1.34 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003849/0.9559, allocations: 332.1 kB / 1.34 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/0.9571, allocations: 1.031 MB / 1.341 GB, free: 9.715 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004752/0.9576, allocations: 407.4 kB / 1.342 GB, free: 9.574 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/0.9576, allocations: 0 / 1.342 GB, free: 9.574 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.001708/0.9593, allocations: 1.307 MB / 1.343 GB, free: 9.27 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.276e-05/0.9593, allocations: 79.73 kB / 1.343 GB, free: 9.176 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001878/0.9612, allocations: 1.299 MB / 1.344 GB, free: 8.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.92e-05/0.9613, allocations: 27.11 kB / 1.344 GB, free: 8.398 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003426/0.9616, allocations: 289.5 kB / 1.345 GB, free: 8.145 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.321e-05/0.9617, allocations: 23.94 kB / 1.345 GB, free: 8.125 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004449/0.9621, allocations: 349.6 kB / 1.345 GB, free: 7.961 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.9623, allocations: 325.4 kB / 1.345 GB, free: 7.641 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001546/0.9638, allocations: 1.37 MB / 1.347 GB, free: 7.066 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001805/0.9656, allocations: 1.51 MB / 1.348 GB, free: 6.387 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008001/0.9736, allocations: 3.56 MB / 1.351 GB, free: 4.305 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-06/0.9737, allocations: 1.094 kB / 1.351 GB, free: 4.305 MB / 1.029 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005322/0.979, allocations: 4.029 MB / 1.355 GB, free: 2.043 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.979, allocations: 5.625 kB / 1.355 GB, free: 2.043 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/0.979, allocations: 2.188 kB / 1.355 GB, free: 2.043 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.979, allocations: 1.156 kB / 1.355 GB, free: 2.043 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.9792, allocations: 15.39 kB / 1.355 GB, free: 2.039 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.9792, allocations: 6.406 kB / 1.355 GB, free: 2.035 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007347/0.9799, allocations: 243.2 kB / 1.356 GB, free: 1.836 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.763e-05/0.98, allocations: 22.42 kB / 1.356 GB, free: 1.832 MB / 1.029 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.0003988/0.9804, allocations: 251.5 kB / 1.356 GB, free: 1.66 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.747e-05/0.9805, allocations: 84.53 kB / 1.356 GB, free: 1.594 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003068/0.9808, allocations: 76.64 kB / 1.356 GB, free: 1.527 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.9808, allocations: 6.234 kB / 1.356 GB, free: 1.523 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.9808, allocations: 0 / 1.356 GB, free: 1.523 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.9808, allocations: 1.188 kB / 1.356 GB, free: 1.523 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005461/0.9813, allocations: 0.5125 MB / 1.357 GB, free: 1.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.9813, allocations: 5.531 kB / 1.357 GB, free: 1.156 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.921e-05/0.9814, allocations: 5.25 kB / 1.357 GB, free: 1.156 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.9814, allocations: 1.406 kB / 1.357 GB, free: 1.156 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.9814, allocations: 5.391 kB / 1.357 GB, free: 1.152 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.9814, allocations: 1.281 kB / 1.357 GB, free: 1.152 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.9814, allocations: 3.938 kB / 1.357 GB, free: 1.148 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.9825, allocations: 1.018 MB / 1.358 GB, free: 412 kB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.9826, allocations: 168.4 kB / 1.358 GB, free: 224 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.54e-05/0.9827, allocations: 0 / 1.358 GB, free: 224 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.9829, allocations: 4 kB / 1.358 GB, free: 220 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.9829, allocations: 7.984 kB / 1.358 GB, free: 212 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/0.9829, allocations: 11.98 kB / 1.358 GB, free: 200 kB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009278/0.9839, allocations: 0.7261 MB / 1.359 GB, free: 15.46 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.9839, allocations: 0 / 1.359 GB, free: 15.46 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00269/0.9865, allocations: 0.6001 MB / 1.359 GB, free: 14.86 MB / 1.045 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.004215/0.9908, allocations: 2.159 MB / 1.361 GB, free: 12.69 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002394/0.9932, allocations: 2.005 MB / 1.363 GB, free: 10.67 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.9932, allocations: 3.938 kB / 1.363 GB, free: 10.66 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003479/0.9935, allocations: 339.7 kB / 1.363 GB, free: 10.33 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005304/0.994, allocations: 57.14 kB / 1.364 GB, free: 10.27 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01679/1.011, allocations: 15.29 MB / 1.378 GB, free: 10.8 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006073/1.011, allocations: 0.9879 MB / 1.379 GB, free: 9.789 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001879/1.012, allocations: 41.39 kB / 1.379 GB, free: 9.75 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003602/1.012, allocations: 291.3 kB / 1.38 GB, free: 9.465 MB / 1.061 GB Notification: Performance of SimCode: time 1.343e-06/1.012, allocations: 4 kB / 1.38 GB, free: 9.461 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05064/1.063, allocations: 24.42 MB / 1.404 GB, free: 1.305 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/11.39, allocations: 13.83 kB / 1.404 GB, free: 1.297 MB / 1.076 GB " [Timeout remaining time 288] (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.31754193501547] Failed to read output from testmodel.py, exit status != 0: 11.541769476025365 11.559630037 10.616595272 Calling exit ...