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.001308/0.001308, allocations: 101.5 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.001394/0.001394, 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.433/1.433, allocations: 230.6 MB / 252.8 MB, free: 9.133 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.044/3.044, allocations: 0.49 GB / 0.7916 GB, free: 33.33 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="me",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="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.002014/0.002014, allocations: 74.98 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.332, allocations: 176.1 MB / 1.321 GB, free: 3.312 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002555/0.3345, allocations: 1.438 MB / 1.322 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006598/0.3411, allocations: 4.269 MB / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.047e-05/0.3412, allocations: 3.938 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.3413, allocations: 11.92 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002364/0.3415, allocations: 35.78 kB / 1.327 GB, free: 13.53 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.00403/0.3456, allocations: 1.518 MB / 1.328 GB, free: 12.01 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00016/0.3457, allocations: 87.73 kB / 1.328 GB, free: 11.92 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.262e-05/0.3458, allocations: 4 kB / 1.328 GB, free: 11.92 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.705e-05/0.3459, allocations: 51.83 kB / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000233/0.3461, allocations: 151.6 kB / 1.328 GB, free: 11.72 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.245e-05/0.3461, allocations: 16 kB / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003772/0.3499, allocations: 2.34 MB / 1.331 GB, free: 9.359 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.00023/0.3501, allocations: 275.8 kB / 1.331 GB, free: 9.086 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002845/0.3504, allocations: 282.3 kB / 1.331 GB, free: 8.809 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003314/0.3537, allocations: 2.133 MB / 1.333 GB, free: 6.672 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3537, allocations: 0 / 1.333 GB, free: 6.672 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3537, allocations: 0 / 1.333 GB, free: 6.672 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.793e-05/0.3538, allocations: 3.938 kB / 1.333 GB, free: 6.668 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.01049/0.3643, allocations: 1.344 MB / 1.335 GB, free: 5.27 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.3643, allocations: 16.02 kB / 1.335 GB, free: 5.254 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.267e-05/0.3643, allocations: 30.75 kB / 1.335 GB, free: 5.215 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004199/0.3648, allocations: 88.25 kB / 1.335 GB, free: 5.129 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004557/0.3652, allocations: 372.9 kB / 1.335 GB, free: 4.715 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.3652, allocations: 8.359 kB / 1.335 GB, free: 4.707 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.655e-05/0.3653, allocations: 8.375 kB / 1.335 GB, free: 4.699 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004731/0.3657, allocations: 395.3 kB / 1.335 GB, free: 4.301 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.3658, allocations: 0 / 1.335 GB, free: 4.301 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.3658, allocations: 0 / 1.335 GB, free: 4.301 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3658, allocations: 0 / 1.335 GB, free: 4.301 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004749/0.3662, allocations: 439.7 kB / 1.336 GB, free: 3.871 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006639/0.3669, allocations: 0.6487 MB / 1.336 GB, free: 3.172 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005594/0.3675, allocations: 0.5556 MB / 1.337 GB, free: 2.598 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003618/0.3678, allocations: 333.6 kB / 1.337 GB, free: 2.266 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001137/0.369, allocations: 1.028 MB / 1.338 GB, free: 1.016 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004252/0.3694, allocations: 412.8 kB / 1.339 GB, free: 0.5938 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.683e-06/0.3694, allocations: 0 / 1.339 GB, free: 0.5938 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.001584/0.371, allocations: 1.297 MB / 1.34 GB, free: 15.29 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/0.371, allocations: 77.11 kB / 1.34 GB, free: 15.2 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/0.3723, allocations: 1.219 MB / 1.341 GB, free: 13.96 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.189e-05/0.3724, allocations: 29.7 kB / 1.341 GB, free: 13.93 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.3726, allocations: 265.9 kB / 1.342 GB, free: 13.66 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.537e-05/0.3726, allocations: 23.83 kB / 1.342 GB, free: 13.64 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005054/0.3731, allocations: 351.7 kB / 1.342 GB, free: 13.29 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3733, allocations: 314 kB / 1.342 GB, free: 12.98 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001333/0.3746, allocations: 1.373 MB / 1.344 GB, free: 11.6 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/0.3761, allocations: 1.505 MB / 1.345 GB, free: 10.09 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007272/0.3833, allocations: 3.56 MB / 1.348 GB, free: 6.434 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.3833, allocations: 0 / 1.348 GB, free: 6.434 MB / 1.045 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004858/0.3882, allocations: 4.019 MB / 1.352 GB, free: 2.379 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/0.3882, allocations: 4 kB / 1.352 GB, free: 2.375 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.784e-05/0.3882, allocations: 4 kB / 1.352 GB, free: 2.371 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.785e-05/0.3883, allocations: 0 / 1.352 GB, free: 2.371 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.3884, allocations: 15.98 kB / 1.352 GB, free: 2.355 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.3885, allocations: 4.031 kB / 1.352 GB, free: 2.352 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006227/0.3891, allocations: 249.3 kB / 1.353 GB, free: 2.105 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.789e-05/0.3891, allocations: 23.98 kB / 1.353 GB, free: 2.082 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.0004048/0.3895, allocations: 238.5 kB / 1.353 GB, free: 1.84 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.3896, allocations: 71.28 kB / 1.353 GB, free: 1.77 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003705/0.39, allocations: 83 kB / 1.353 GB, free: 1.68 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.39, allocations: 4 kB / 1.353 GB, free: 1.676 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.39, allocations: 0 / 1.353 GB, free: 1.676 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.39, allocations: 0 / 1.353 GB, free: 1.676 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005634/0.3906, allocations: 0.4891 MB / 1.354 GB, free: 1.141 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.3906, allocations: 3.938 kB / 1.354 GB, free: 1.137 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.863e-05/0.3907, allocations: 15.92 kB / 1.354 GB, free: 1.121 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.3907, allocations: 0 / 1.354 GB, free: 1.121 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.3907, allocations: 4 kB / 1.354 GB, free: 1.117 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3907, allocations: 0 / 1.354 GB, free: 1.117 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3907, allocations: 4.031 kB / 1.354 GB, free: 1.113 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.3918, allocations: 1.006 MB / 1.355 GB, free: 88 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001995/0.392, allocations: 156.4 kB / 1.355 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.307e-05/0.3921, allocations: 0 / 1.355 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.3922, allocations: 7.984 kB / 1.355 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.228e-05/0.3923, allocations: 8 kB / 1.355 GB, free: 15.9 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-05/0.3923, allocations: 23.91 kB / 1.355 GB, free: 15.88 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008657/0.3932, allocations: 0.6689 MB / 1.355 GB, free: 15.2 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3932, allocations: 0 / 1.355 GB, free: 15.2 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001985/0.3952, allocations: 0.5845 MB / 1.356 GB, free: 14.61 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.003861/0.3991, allocations: 2.16 MB / 1.358 GB, free: 12.44 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002229/0.4013, allocations: 1.997 MB / 1.36 GB, free: 10.43 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.4013, allocations: 4.062 kB / 1.36 GB, free: 10.42 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000376/0.4017, allocations: 335.8 kB / 1.36 GB, free: 10.09 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.402, allocations: 37.25 kB / 1.36 GB, free: 10.05 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01715/0.4192, allocations: 15.28 MB / 1.375 GB, free: 10.59 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006828/0.4199, allocations: 0.9679 MB / 1.376 GB, free: 9.602 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001647/0.42, allocations: 40.52 kB / 1.376 GB, free: 9.562 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003472/0.4204, allocations: 264.5 kB / 1.377 GB, free: 9.305 MB / 1.076 GB Notification: Performance of SimCode: time 1.072e-06/0.4204, allocations: 0 / 1.377 GB, free: 9.305 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05979/0.4802, allocations: 24.11 MB / 1.4 GB, free: 1.398 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/10.76, allocations: 9.156 kB / 1.4 GB, free: 1.387 MB / 1.092 GB " [Timeout remaining time 289] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.csv --start-time 0 --stop-time 4.12e+08 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 164800 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: 17.194357730215415] Failed to read output from testmodel.py, exit status != 0: 10.847322785994038 10.861658153 10.504837454 Calling exit ...