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.001325/0.001325, allocations: 97.92 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.001448/0.001448, allocations: 223.9 kB / 23.03 MB, free: 4.945 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.354/1.354, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.942/2.942, allocations: 0.49 GB / 0.7959 GB, free: 35.44 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.001866/0.001866, allocations: 70.38 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.322, allocations: 176.1 MB / 1.327 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002506/0.3245, allocations: 1.431 MB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00658/0.3311, allocations: 3.862 MB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.165e-05/0.3312, allocations: 0 / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.3313, allocations: 11.86 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002528/0.3316, allocations: 39.78 kB / 1.332 GB, free: 12.06 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.003836/0.3354, allocations: 1.602 MB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.3355, allocations: 103.7 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.872e-05/0.3356, allocations: 4 kB / 1.334 GB, free: 10.35 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.409e-05/0.3356, allocations: 47.89 kB / 1.334 GB, free: 10.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.3359, allocations: 151.6 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.092e-05/0.3359, allocations: 16 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003419/0.3393, allocations: 2.543 MB / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002174/0.3395, allocations: 267.8 kB / 1.337 GB, free: 7.328 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002148/0.3398, allocations: 226.9 kB / 1.337 GB, free: 7.105 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002415/0.3422, allocations: 2.15 MB / 1.339 GB, free: 4.949 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3422, allocations: 3.984 kB / 1.339 GB, free: 4.945 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.002e-06/0.3422, allocations: 0 / 1.339 GB, free: 4.945 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.3422, allocations: 0 / 1.339 GB, free: 4.945 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.008316/0.3505, allocations: 1.272 MB / 1.34 GB, free: 3.637 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.3505, allocations: 8.031 kB / 1.34 GB, free: 3.629 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.264e-05/0.3506, allocations: 192 / 1.34 GB, free: 3.629 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.195e-05/0.3506, allocations: 38.75 kB / 1.34 GB, free: 3.582 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003591/0.3509, allocations: 92.23 kB / 1.34 GB, free: 3.492 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003836/0.3513, allocations: 303.2 kB / 1.34 GB, free: 3.16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.3513, allocations: 8.359 kB / 1.341 GB, free: 3.152 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.034e-05/0.3514, allocations: 8.375 kB / 1.341 GB, free: 3.145 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004329/0.3518, allocations: 399 kB / 1.341 GB, free: 2.742 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3518, allocations: 0 / 1.341 GB, free: 2.742 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.3518, allocations: 4 kB / 1.341 GB, free: 2.738 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.3518, allocations: 0 / 1.341 GB, free: 2.738 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004341/0.3523, allocations: 435.7 kB / 1.341 GB, free: 2.312 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005669/0.3528, allocations: 0.601 MB / 1.342 GB, free: 1.668 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005264/0.3534, allocations: 0.5672 MB / 1.342 GB, free: 1.082 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/0.3537, allocations: 333.7 kB / 1.343 GB, free: 0.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006398/0.3543, allocations: 139.8 kB / 1.343 GB, free: 0.6133 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003977/0.3547, allocations: 400.8 kB / 1.343 GB, free: 208 kB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.183e-06/0.3547, allocations: 0 / 1.343 GB, free: 208 kB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.001328/0.356, allocations: 1.301 MB / 1.345 GB, free: 14.89 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.3561, allocations: 77.11 kB / 1.345 GB, free: 14.8 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.3572, allocations: 1.215 MB / 1.346 GB, free: 13.57 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/0.3573, allocations: 33.7 kB / 1.346 GB, free: 13.53 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.3575, allocations: 269.9 kB / 1.346 GB, free: 13.26 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.3575, allocations: 19.84 kB / 1.346 GB, free: 13.24 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003277/0.3578, allocations: 347.6 kB / 1.346 GB, free: 12.9 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.358, allocations: 318 kB / 1.347 GB, free: 12.58 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/0.3592, allocations: 1.369 MB / 1.348 GB, free: 11.21 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/0.3606, allocations: 1.505 MB / 1.35 GB, free: 9.695 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006888/0.3675, allocations: 3.56 MB / 1.353 GB, free: 6.043 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.3675, allocations: 0 / 1.353 GB, free: 6.043 MB / 1.045 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004316/0.3718, allocations: 4.015 MB / 1.357 GB, free: 1.992 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.3718, allocations: 5.562 kB / 1.357 GB, free: 1.988 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.3718, allocations: 8.031 kB / 1.357 GB, free: 1.98 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.3719, allocations: 0 / 1.357 GB, free: 1.98 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.372, allocations: 15.98 kB / 1.357 GB, free: 1.965 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.372, allocations: 4 kB / 1.357 GB, free: 1.961 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004664/0.3725, allocations: 233.4 kB / 1.357 GB, free: 1.73 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.505e-05/0.3725, allocations: 31.92 kB / 1.357 GB, free: 1.699 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.0002999/0.3728, allocations: 246.1 kB / 1.357 GB, free: 1.449 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.602e-05/0.3729, allocations: 71.28 kB / 1.358 GB, free: 1.379 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.3739, allocations: 0.9438 MB / 1.358 GB, free: 436 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3739, allocations: 0 / 1.358 GB, free: 436 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3739, allocations: 0 / 1.358 GB, free: 436 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.3739, allocations: 3.984 kB / 1.358 GB, free: 432 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004364/0.3744, allocations: 479.8 kB / 1.359 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3744, allocations: 0 / 1.359 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.693e-05/0.3744, allocations: 4 kB / 1.359 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.3744, allocations: 4 kB / 1.359 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.3744, allocations: 8.016 kB / 1.359 GB, free: 15.9 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3744, allocations: 4 kB / 1.359 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3745, allocations: 4 kB / 1.359 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00092/0.3754, allocations: 1.002 MB / 1.36 GB, free: 14.87 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.51e-05/0.3755, allocations: 87.33 kB / 1.36 GB, free: 14.78 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.738e-05/0.3755, allocations: 0 / 1.36 GB, free: 14.78 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.3756, allocations: 4 kB / 1.36 GB, free: 14.78 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.3757, allocations: 7.984 kB / 1.36 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.408e-05/0.3757, allocations: 15.98 kB / 1.36 GB, free: 14.75 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007093/0.3764, allocations: 0.6728 MB / 1.361 GB, free: 14.07 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3764, allocations: 0 / 1.361 GB, free: 14.07 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001611/0.378, allocations: 0.5845 MB / 1.361 GB, free: 13.49 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.003216/0.3813, allocations: 2.158 MB / 1.363 GB, free: 11.32 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002054/0.3833, allocations: 2.005 MB / 1.365 GB, free: 9.301 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3833, allocations: 0 / 1.365 GB, free: 9.301 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003352/0.3836, allocations: 331.8 kB / 1.366 GB, free: 8.977 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.384, allocations: 33.31 kB / 1.366 GB, free: 8.941 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01531/0.3993, allocations: 15.3 MB / 1.381 GB, free: 9.465 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.3996, allocations: 372.1 kB / 1.381 GB, free: 9.074 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001379/0.3998, allocations: 40.45 kB / 1.381 GB, free: 9.031 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003185/0.4001, allocations: 263.3 kB / 1.381 GB, free: 8.773 MB / 1.076 GB Notification: Performance of SimCode: time 1.012e-06/0.4001, allocations: 0 / 1.381 GB, free: 8.773 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05473/0.4548, allocations: 24.9 MB / 1.406 GB, free: 136 kB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/13.67, allocations: 4.422 kB / 1.406 GB, free: 136 kB / 1.092 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.74543528095819] Failed to read output from testmodel.py, exit status != 0: 13.84099638799671 13.856074826 13.510880994 Calling exit ...