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.001236/0.001236, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.00145/0.00145, allocations: 216.9 kB / 23.03 MB, free: 4.922 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.353/1.353, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.956/2.956, allocations: 0.49 GB / 0.7959 GB, free: 35.55 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.001947/0.001947, allocations: 61.44 kB / 1.155 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3361, allocations: 176.1 MB / 1.327 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002992/0.3391, allocations: 1.744 MB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007647/0.3467, allocations: 4.892 MB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.3468, allocations: 7.938 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001191/0.348, allocations: 338.5 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.3481, allocations: 59.66 kB / 1.334 GB, free: 10.39 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.003946/0.3521, allocations: 1.607 MB / 1.335 GB, free: 8.785 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000274/0.3524, allocations: 165 kB / 1.335 GB, free: 8.625 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.694e-05/0.3524, allocations: 5.75 kB / 1.335 GB, free: 8.617 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.265e-05/0.3525, allocations: 59.77 kB / 1.335 GB, free: 8.559 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002351/0.3527, allocations: 171.4 kB / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.384e-05/0.3528, allocations: 19.94 kB / 1.336 GB, free: 8.371 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004008/0.3568, allocations: 2.543 MB / 1.338 GB, free: 5.824 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000265/0.3571, allocations: 291.7 kB / 1.338 GB, free: 5.539 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002574/0.3573, allocations: 238.8 kB / 1.339 GB, free: 5.305 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003457/0.3608, allocations: 2.22 MB / 1.341 GB, free: 3.078 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3608, allocations: 0 / 1.341 GB, free: 3.078 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3608, allocations: 0 / 1.341 GB, free: 3.078 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.838e-06/0.3608, allocations: 0 / 1.341 GB, free: 3.078 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.008474/0.3693, allocations: 1.338 MB / 1.342 GB, free: 1.703 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3693, allocations: 8.031 kB / 1.342 GB, free: 1.695 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.966e-05/0.3693, allocations: 4.188 kB / 1.342 GB, free: 1.691 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.573e-05/0.3694, allocations: 34.75 kB / 1.342 GB, free: 1.648 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004118/0.3698, allocations: 100.2 kB / 1.342 GB, free: 1.551 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005958/0.3704, allocations: 356.4 kB / 1.342 GB, free: 1.168 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.3704, allocations: 4.312 kB / 1.342 GB, free: 1.164 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.448e-05/0.3704, allocations: 12.38 kB / 1.342 GB, free: 1.152 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004696/0.3709, allocations: 395.1 kB / 1.343 GB, free: 0.7539 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.3709, allocations: 0 / 1.343 GB, free: 0.7539 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.3709, allocations: 3.984 kB / 1.343 GB, free: 0.75 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3709, allocations: 0 / 1.343 GB, free: 0.75 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004529/0.3714, allocations: 431.8 kB / 1.343 GB, free: 336 kB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006857/0.3721, allocations: 0.6221 MB / 1.344 GB, free: 15.66 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005604/0.3726, allocations: 0.5594 MB / 1.344 GB, free: 15.09 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003438/0.373, allocations: 337.7 kB / 1.345 GB, free: 14.75 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006151/0.3736, allocations: 131.8 kB / 1.345 GB, free: 14.62 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000451/0.374, allocations: 408.8 kB / 1.345 GB, free: 14.2 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.462e-06/0.374, allocations: 0 / 1.345 GB, free: 14.2 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.001462/0.3755, allocations: 1.309 MB / 1.347 GB, free: 12.89 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.282e-05/0.3756, allocations: 81.11 kB / 1.347 GB, free: 12.79 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.3769, allocations: 1.298 MB / 1.348 GB, free: 11.48 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.362e-05/0.377, allocations: 25.7 kB / 1.348 GB, free: 11.45 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/0.3772, allocations: 289.9 kB / 1.348 GB, free: 11.16 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.99e-05/0.3773, allocations: 27.78 kB / 1.348 GB, free: 11.13 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003674/0.3776, allocations: 351.6 kB / 1.349 GB, free: 10.79 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3778, allocations: 322.1 kB / 1.349 GB, free: 10.46 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001365/0.3791, allocations: 1.369 MB / 1.35 GB, free: 9.094 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001462/0.3806, allocations: 1.505 MB / 1.352 GB, free: 7.578 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007326/0.3879, allocations: 3.564 MB / 1.355 GB, free: 3.922 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.3879, allocations: 0 / 1.355 GB, free: 3.922 MB / 1.045 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004651/0.3926, allocations: 4.023 MB / 1.359 GB, free: 15.86 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.3926, allocations: 7.938 kB / 1.359 GB, free: 15.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.3926, allocations: 4 kB / 1.359 GB, free: 15.85 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.3926, allocations: 0 / 1.359 GB, free: 15.85 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.3928, allocations: 15.98 kB / 1.359 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.3928, allocations: 0 / 1.359 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005385/0.3933, allocations: 245.3 kB / 1.359 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-05/0.3934, allocations: 23.98 kB / 1.359 GB, free: 15.57 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.0003432/0.3937, allocations: 250.2 kB / 1.36 GB, free: 15.32 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.991e-05/0.3938, allocations: 83.22 kB / 1.36 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/0.3949, allocations: 0.9446 MB / 1.361 GB, free: 14.28 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3949, allocations: 3.938 kB / 1.361 GB, free: 14.28 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.3949, allocations: 0 / 1.361 GB, free: 14.28 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3949, allocations: 4 kB / 1.361 GB, free: 14.27 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004976/0.3954, allocations: 497.4 kB / 1.361 GB, free: 13.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.3954, allocations: 8.031 kB / 1.361 GB, free: 13.74 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.058e-05/0.3955, allocations: 4 kB / 1.361 GB, free: 13.74 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3955, allocations: 0 / 1.361 GB, free: 13.74 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.3955, allocations: 7.984 kB / 1.361 GB, free: 13.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3955, allocations: 0 / 1.361 GB, free: 13.73 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3955, allocations: 0 / 1.361 GB, free: 13.73 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009992/0.3965, allocations: 1.018 MB / 1.362 GB, free: 12.69 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.3966, allocations: 87.28 kB / 1.362 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.412e-05/0.3967, allocations: 4 kB / 1.362 GB, free: 12.6 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.3968, allocations: 8 kB / 1.362 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.3969, allocations: 7.984 kB / 1.362 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.559e-05/0.3969, allocations: 11.98 kB / 1.362 GB, free: 12.57 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008671/0.3978, allocations: 0.7222 MB / 1.363 GB, free: 11.85 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3978, allocations: 0 / 1.363 GB, free: 11.85 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001537/0.3993, allocations: 0.5962 MB / 1.363 GB, free: 11.25 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.003322/0.4026, allocations: 2.184 MB / 1.366 GB, free: 9.055 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002184/0.4048, allocations: 1.997 MB / 1.368 GB, free: 7.043 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4048, allocations: 0 / 1.368 GB, free: 7.043 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003605/0.4052, allocations: 327.8 kB / 1.368 GB, free: 6.723 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.4056, allocations: 62.92 kB / 1.368 GB, free: 6.66 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01678/0.4224, allocations: 15.3 MB / 1.383 GB, free: 7.184 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.4228, allocations: 393.8 kB / 1.383 GB, free: 6.773 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001745/0.423, allocations: 41.39 kB / 1.383 GB, free: 6.73 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003626/0.4233, allocations: 295.3 kB / 1.384 GB, free: 6.441 MB / 1.076 GB Notification: Performance of SimCode: time 9.41e-07/0.4233, allocations: 0 / 1.384 GB, free: 6.441 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05668/0.48, allocations: 25.27 MB / 1.408 GB, free: 13.46 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/13.76, allocations: 4.062 kB / 1.408 GB, free: 13.46 MB / 1.107 GB " [Timeout remaining time 286] (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: 20.63525488798041] Failed to read output from testmodel.py, exit status != 0: 13.945765658980235 13.962228498 13.598202325 Calling exit ...