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.001996/0.001996, allocations: 103.3 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.00217/0.00217, 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.465/1.465, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.178/3.178, allocations: 0.49 GB / 0.7916 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 176] 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.002062/0.002062, allocations: 72 kB / 1.149 GB, free: 26.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3524, allocations: 176.1 MB / 1.321 GB, free: 3.281 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002979/0.3554, allocations: 1.461 MB / 1.322 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006729/0.3621, allocations: 4.27 MB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.391e-05/0.3622, allocations: 3.938 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.3623, allocations: 11.86 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002446/0.3625, allocations: 35.84 kB / 1.327 GB, free: 13.47 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.004391/0.3669, allocations: 1.515 MB / 1.328 GB, free: 11.95 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.3671, allocations: 95.72 kB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.738e-05/0.3671, allocations: 4 kB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.258e-05/0.3672, allocations: 59.77 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002348/0.3675, allocations: 147.6 kB / 1.328 GB, free: 11.65 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.938e-05/0.3675, allocations: 16 kB / 1.328 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004155/0.3717, allocations: 2.34 MB / 1.331 GB, free: 9.293 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002709/0.3719, allocations: 267.8 kB / 1.331 GB, free: 9.027 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002993/0.3722, allocations: 274.3 kB / 1.331 GB, free: 8.758 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004319/0.3765, allocations: 2.138 MB / 1.333 GB, free: 6.613 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3766, allocations: 0 / 1.333 GB, free: 6.613 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3766, allocations: 3.938 kB / 1.333 GB, free: 6.609 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.297e-05/0.3766, allocations: 3.938 kB / 1.333 GB, free: 6.605 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.01063/0.3872, allocations: 1.344 MB / 1.335 GB, free: 5.207 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.389e-05/0.3873, allocations: 8.031 kB / 1.335 GB, free: 5.199 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.695e-05/0.3873, allocations: 34.73 kB / 1.335 GB, free: 5.156 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000489/0.3878, allocations: 100.2 kB / 1.335 GB, free: 5.059 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005196/0.3883, allocations: 357 kB / 1.335 GB, free: 4.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.3884, allocations: 8.375 kB / 1.335 GB, free: 4.652 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.852e-05/0.3884, allocations: 8.359 kB / 1.335 GB, free: 4.645 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005392/0.3889, allocations: 391.3 kB / 1.335 GB, free: 4.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.389, allocations: 7.938 kB / 1.335 GB, free: 4.242 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.389, allocations: 0 / 1.335 GB, free: 4.242 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.389, allocations: 4 kB / 1.335 GB, free: 4.238 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004756/0.3895, allocations: 431.7 kB / 1.336 GB, free: 3.816 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007604/0.3902, allocations: 0.6448 MB / 1.336 GB, free: 3.121 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005861/0.3908, allocations: 0.5633 MB / 1.337 GB, free: 2.539 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003487/0.3912, allocations: 333.7 kB / 1.337 GB, free: 2.207 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001246/0.3924, allocations: 1.028 MB / 1.338 GB, free: 0.957 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004803/0.3929, allocations: 408.8 kB / 1.339 GB, free: 0.5391 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.684e-06/0.3929, allocations: 0 / 1.339 GB, free: 0.5391 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.001494/0.3944, allocations: 1.29 MB / 1.34 GB, free: 15.24 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.405e-05/0.3944, allocations: 93.16 kB / 1.34 GB, free: 15.13 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/0.3958, allocations: 1.219 MB / 1.341 GB, free: 13.9 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.972e-05/0.3958, allocations: 25.7 kB / 1.341 GB, free: 13.87 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002319/0.3961, allocations: 265.9 kB / 1.342 GB, free: 13.6 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.272e-05/0.3961, allocations: 23.83 kB / 1.342 GB, free: 13.58 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003863/0.3965, allocations: 351.6 kB / 1.342 GB, free: 13.23 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.3966, allocations: 306 kB / 1.342 GB, free: 12.93 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/0.398, allocations: 1.373 MB / 1.344 GB, free: 11.55 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001466/0.3994, allocations: 1.505 MB / 1.345 GB, free: 10.04 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007287/0.4067, allocations: 3.557 MB / 1.348 GB, free: 6.387 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.4067, allocations: 7.875 kB / 1.348 GB, free: 6.379 MB / 1.045 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004713/0.4114, allocations: 4.015 MB / 1.352 GB, free: 2.328 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.4115, allocations: 4 kB / 1.352 GB, free: 2.324 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/0.4115, allocations: 4 kB / 1.352 GB, free: 2.32 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.4115, allocations: 0 / 1.352 GB, free: 2.32 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.4117, allocations: 19.92 kB / 1.352 GB, free: 2.301 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/0.4117, allocations: 12.06 kB / 1.352 GB, free: 2.289 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005224/0.4122, allocations: 241.3 kB / 1.353 GB, free: 2.051 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.412e-05/0.4123, allocations: 28.02 kB / 1.353 GB, free: 2.023 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.0003375/0.4126, allocations: 238.4 kB / 1.353 GB, free: 1.781 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.809e-05/0.4127, allocations: 71.28 kB / 1.353 GB, free: 1.711 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002994/0.413, allocations: 82.94 kB / 1.353 GB, free: 1.621 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.413, allocations: 0 / 1.353 GB, free: 1.621 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.413, allocations: 0 / 1.353 GB, free: 1.621 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.413, allocations: 4.031 kB / 1.353 GB, free: 1.617 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000502/0.4135, allocations: 0.4891 MB / 1.354 GB, free: 1.082 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.4135, allocations: 3.938 kB / 1.354 GB, free: 1.078 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.892e-05/0.4136, allocations: 7.984 kB / 1.354 GB, free: 1.07 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.4136, allocations: 4 kB / 1.354 GB, free: 1.066 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.4136, allocations: 0 / 1.354 GB, free: 1.066 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.4136, allocations: 0 / 1.354 GB, free: 1.066 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.4136, allocations: 3.984 kB / 1.354 GB, free: 1.062 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009778/0.4146, allocations: 1.014 MB / 1.355 GB, free: 28 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.4147, allocations: 156.4 kB / 1.355 GB, free: 15.86 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.685e-05/0.4148, allocations: 4 kB / 1.355 GB, free: 15.85 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.4149, allocations: 7.984 kB / 1.355 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.4149, allocations: 8 kB / 1.355 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.713e-05/0.415, allocations: 19.91 kB / 1.355 GB, free: 15.82 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007585/0.4157, allocations: 0.6689 MB / 1.355 GB, free: 15.14 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4157, allocations: 0 / 1.355 GB, free: 15.14 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00165/0.4174, allocations: 0.5884 MB / 1.356 GB, free: 14.55 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.003487/0.4209, allocations: 2.161 MB / 1.358 GB, free: 12.38 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002178/0.4231, allocations: 1.993 MB / 1.36 GB, free: 10.37 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.4231, allocations: 4 kB / 1.36 GB, free: 10.36 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003588/0.4234, allocations: 339.9 kB / 1.36 GB, free: 10.03 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.4238, allocations: 33.2 kB / 1.36 GB, free: 9.996 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01682/0.4406, allocations: 15.29 MB / 1.375 GB, free: 10.53 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006175/0.4412, allocations: 0.964 MB / 1.376 GB, free: 9.535 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001556/0.4414, allocations: 36.52 kB / 1.376 GB, free: 9.5 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003542/0.4417, allocations: 272.5 kB / 1.377 GB, free: 9.234 MB / 1.076 GB Notification: Performance of SimCode: time 1.092e-06/0.4417, allocations: 0 / 1.377 GB, free: 9.234 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06027/0.502, allocations: 24.11 MB / 1.4 GB, free: 1.332 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/10.71, allocations: 6.719 kB / 1.4 GB, free: 1.324 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 & /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: 17.532566756010056] Failed to read output from testmodel.py, exit status != 0: 10.807540017180145 10.822773088 10.443047598 Calling exit ...