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_1borehole_5meters.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.001319/0.001319, allocations: 114.7 kB / 17.6 MB, free: 4.699 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.001499/0.001499, allocations: 186 kB / 20.78 MB, free: 1.539 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.428/1.428, allocations: 225.6 MB / 249.4 MB, free: 3.16 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.71/2.71, allocations: 476.7 MB / 0.7629 GB, free: 15.12 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_1borehole_5meters,fileNamePrefix="Buildings_11_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_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 63.89 kB / 1.107 GB, free: 5.023 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8878/0.8899, 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_1borehole_5meters): time 0.002445/0.8924, allocations: 1.453 MB / 1.273 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005974/0.8983, allocations: 4.254 MB / 1.277 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.984e-05/0.8984, allocations: 4 kB / 1.277 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.8986, allocations: 13.98 kB / 1.277 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002599/0.8988, allocations: 34.34 kB / 1.277 GB, free: 3.836 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.004171/0.903, allocations: 1.507 MB / 1.279 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.9032, allocations: 91.78 kB / 1.279 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.666e-05/0.9032, allocations: 2.656 kB / 1.279 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.9033, allocations: 55.39 kB / 1.279 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002828/0.9036, allocations: 154 kB / 1.279 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.461e-05/0.9037, allocations: 14.31 kB / 1.279 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004217/0.9079, allocations: 2.307 MB / 1.281 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002739/0.9082, allocations: 268.3 kB / 1.281 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003226/0.9085, allocations: 281.1 kB / 1.282 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004536/0.913, allocations: 2.116 MB / 1.284 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.913, allocations: 0.9375 kB / 1.284 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.913, allocations: 0 / 1.284 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.436e-05/0.913, allocations: 0 / 1.284 GB, free: 1.609 MB / 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.01073/0.9238, allocations: 1.344 MB / 1.285 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.9238, allocations: 13.47 kB / 1.285 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.253e-05/0.9239, allocations: 41.27 kB / 1.285 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004147/0.9243, allocations: 101.2 kB / 1.285 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/0.9246, allocations: 357.2 kB / 1.286 GB, free: 240 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.9247, allocations: 7.766 kB / 1.286 GB, free: 236 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.473e-05/0.9247, allocations: 5.797 kB / 1.286 GB, free: 236 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004836/0.9252, allocations: 394.8 kB / 1.286 GB, free: 172 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.9252, allocations: 0 / 1.286 GB, free: 172 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.9252, allocations: 4.562 kB / 1.286 GB, free: 168 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.9252, allocations: 1.531 kB / 1.286 GB, free: 168 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004645/0.9257, allocations: 435.8 kB / 1.286 GB, free: 160 kB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007832/0.9265, allocations: 0.6366 MB / 1.287 GB, free: 15.77 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005653/0.927, allocations: 0.5679 MB / 1.288 GB, free: 15.7 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003139/0.9274, allocations: 335.4 kB / 1.288 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001171/0.9285, allocations: 1.023 MB / 1.289 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004157/0.9289, allocations: 403.9 kB / 1.289 GB, free: 14.47 MB / 1.014 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.9289, allocations: 1.812 kB / 1.289 GB, free: 14.47 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.00142/0.9304, allocations: 1.298 MB / 1.291 GB, free: 14.35 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.182e-05/0.9304, allocations: 84.84 kB / 1.291 GB, free: 14.25 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001912/0.9324, allocations: 1.222 MB / 1.292 GB, free: 13.75 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.821e-05/0.9324, allocations: 27.8 kB / 1.292 GB, free: 13.72 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002671/0.9327, allocations: 268 kB / 1.292 GB, free: 13.52 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.249e-05/0.9327, allocations: 26.72 kB / 1.292 GB, free: 13.5 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004424/0.9332, allocations: 353.3 kB / 1.293 GB, free: 13.4 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.9333, allocations: 312.8 kB / 1.293 GB, free: 13.09 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00148/0.9348, allocations: 1.367 MB / 1.294 GB, free: 12.64 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001643/0.9364, allocations: 1.507 MB / 1.296 GB, free: 12.11 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007689/0.9441, allocations: 3.557 MB / 1.299 GB, free: 10.27 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.9441, allocations: 1.156 kB / 1.299 GB, free: 10.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005261/0.9494, allocations: 4.015 MB / 1.303 GB, free: 8.281 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.9494, allocations: 6.516 kB / 1.303 GB, free: 8.281 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.261e-05/0.9495, allocations: 6.141 kB / 1.303 GB, free: 8.277 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.9495, allocations: 1.125 kB / 1.303 GB, free: 8.277 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.9496, allocations: 18.62 kB / 1.303 GB, free: 8.273 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.9496, allocations: 6.188 kB / 1.303 GB, free: 8.27 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006287/0.9502, allocations: 241 kB / 1.303 GB, free: 8.074 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.887e-05/0.9503, allocations: 23.02 kB / 1.303 GB, free: 8.074 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.0004026/0.9507, allocations: 241.1 kB / 1.304 GB, free: 7.953 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.9508, allocations: 77.48 kB / 1.304 GB, free: 7.891 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001141/0.952, allocations: 0.9438 MB / 1.305 GB, free: 7.809 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.952, allocations: 5.094 kB / 1.305 GB, free: 7.805 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.952, allocations: 1.25 kB / 1.305 GB, free: 7.805 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.952, allocations: 0.7812 kB / 1.305 GB, free: 7.805 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000651/0.9526, allocations: 0.4951 MB / 1.305 GB, free: 7.523 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.9526, allocations: 5.062 kB / 1.305 GB, free: 7.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.55e-05/0.9527, allocations: 10.7 kB / 1.305 GB, free: 7.516 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.9527, allocations: 2.125 kB / 1.305 GB, free: 7.516 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.9527, allocations: 3.406 kB / 1.305 GB, free: 7.516 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.9527, allocations: 1.922 kB / 1.305 GB, free: 7.516 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.9527, allocations: 3.938 kB / 1.305 GB, free: 7.512 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.9538, allocations: 1.003 MB / 1.306 GB, free: 7.359 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/0.954, allocations: 163.9 kB / 1.306 GB, free: 7.203 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.903e-05/0.9541, allocations: 1.812 kB / 1.306 GB, free: 7.203 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.9542, allocations: 5.531 kB / 1.306 GB, free: 7.203 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.9543, allocations: 5.141 kB / 1.306 GB, free: 7.203 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-05/0.9543, allocations: 12.81 kB / 1.306 GB, free: 7.203 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009804/0.9553, allocations: 0.6749 MB / 1.307 GB, free: 6.973 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9553, allocations: 0 / 1.307 GB, free: 6.973 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002125/0.9574, allocations: 0.5843 MB / 1.307 GB, free: 6.863 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.004333/0.9617, allocations: 2.152 MB / 1.31 GB, free: 6.008 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002412/0.9642, allocations: 1.995 MB / 1.311 GB, free: 5.461 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.9642, allocations: 1.281 kB / 1.311 GB, free: 5.461 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003271/0.9645, allocations: 340.6 kB / 1.312 GB, free: 5.449 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.9649, allocations: 36.86 kB / 1.312 GB, free: 5.418 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01983/0.9847, allocations: 15.3 MB / 1.327 GB, free: 14.52 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007471/0.9855, allocations: 0.9676 MB / 1.328 GB, free: 13.82 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001552/0.9856, allocations: 37.72 kB / 1.328 GB, free: 13.8 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003655/0.986, allocations: 272 kB / 1.328 GB, free: 13.58 MB / 1.029 GB Notification: Performance of SimCode: time 1.062e-06/0.986, allocations: 0 / 1.328 GB, free: 13.58 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06673/1.053, allocations: 23.9 MB / 1.351 GB, free: 2.738 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/11.26, allocations: 6.047 kB / 1.351 GB, free: 2.734 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.086159541999223] Failed to read output from testmodel.py, exit status != 0: 11.34756547800498 11.364936709 10.44885417 Calling exit ...