Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001238/0.001238, allocations: 93.92 kB / 19.73 MB, free: 2.129 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.001357/0.001357, allocations: 216.2 kB / 23.03 MB, free: 4.953 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.345/1.345, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.977/2.977, allocations: 0.5003 GB / 0.8062 GB, free: 28.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.00196/0.00196, allocations: 69.39 kB / 1.171 GB, free: 19.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.341, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002518/0.3435, allocations: 1.425 MB / 1.347 GB, free: 14.52 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.006375/0.3499, allocations: 3.849 MB / 1.351 GB, free: 10.65 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.716e-05/0.3499, allocations: 0 / 1.351 GB, free: 10.65 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.3501, allocations: 11.86 kB / 1.351 GB, free: 10.64 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002607/0.3503, allocations: 35.78 kB / 1.351 GB, free: 10.61 MB / 1.045 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.003886/0.3542, allocations: 1.609 MB / 1.352 GB, free: 8.992 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.3543, allocations: 95.67 kB / 1.352 GB, free: 8.898 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.288e-05/0.3544, allocations: 0 / 1.352 GB, free: 8.898 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.545e-05/0.3545, allocations: 47.89 kB / 1.352 GB, free: 8.852 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002387/0.3547, allocations: 155.6 kB / 1.352 GB, free: 8.699 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.186e-05/0.3547, allocations: 16 kB / 1.352 GB, free: 8.684 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003505/0.3582, allocations: 2.547 MB / 1.355 GB, free: 6.133 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002213/0.3585, allocations: 259.9 kB / 1.355 GB, free: 5.879 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002196/0.3587, allocations: 226.9 kB / 1.355 GB, free: 5.656 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002465/0.3612, allocations: 2.142 MB / 1.357 GB, free: 3.508 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3612, allocations: 0 / 1.357 GB, free: 3.508 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.193e-06/0.3612, allocations: 0 / 1.357 GB, free: 3.508 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.3612, allocations: 0 / 1.357 GB, free: 3.508 MB / 1.045 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.008006/0.3692, allocations: 1.276 MB / 1.359 GB, free: 2.195 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.3692, allocations: 8.031 kB / 1.359 GB, free: 2.188 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.296e-05/0.3692, allocations: 12.17 kB / 1.359 GB, free: 2.176 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.271e-05/0.3693, allocations: 30.75 kB / 1.359 GB, free: 2.137 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000366/0.3696, allocations: 92.25 kB / 1.359 GB, free: 2.047 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003837/0.37, allocations: 303.2 kB / 1.359 GB, free: 1.715 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.37, allocations: 4.375 kB / 1.359 GB, free: 1.711 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.529e-05/0.3701, allocations: 8.375 kB / 1.359 GB, free: 1.703 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004358/0.3705, allocations: 395.1 kB / 1.36 GB, free: 1.305 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3705, allocations: 0 / 1.36 GB, free: 1.305 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.3705, allocations: 3.938 kB / 1.36 GB, free: 1.301 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3705, allocations: 4 kB / 1.36 GB, free: 1.297 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004396/0.371, allocations: 431.7 kB / 1.36 GB, free: 0.875 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005725/0.3716, allocations: 0.5972 MB / 1.361 GB, free: 240 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005537/0.3721, allocations: 0.5672 MB / 1.361 GB, free: 15.65 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003152/0.3724, allocations: 337.6 kB / 1.361 GB, free: 15.31 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000658/0.3731, allocations: 135.8 kB / 1.362 GB, free: 15.18 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004067/0.3735, allocations: 400.8 kB / 1.362 GB, free: 14.77 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.3735, allocations: 0 / 1.362 GB, free: 14.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.001341/0.3748, allocations: 1.297 MB / 1.363 GB, free: 13.46 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.491e-05/0.3749, allocations: 89.05 kB / 1.363 GB, free: 13.36 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/0.3761, allocations: 1.219 MB / 1.364 GB, free: 12.12 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.64e-05/0.3761, allocations: 29.7 kB / 1.364 GB, free: 12.09 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/0.3763, allocations: 265.9 kB / 1.365 GB, free: 11.82 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.953e-05/0.3763, allocations: 27.78 kB / 1.365 GB, free: 11.8 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003351/0.3767, allocations: 351.6 kB / 1.365 GB, free: 11.45 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.3768, allocations: 314.1 kB / 1.365 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001273/0.3781, allocations: 1.373 MB / 1.367 GB, free: 9.762 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001372/0.3794, allocations: 1.501 MB / 1.368 GB, free: 8.25 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006934/0.3864, allocations: 3.553 MB / 1.372 GB, free: 4.605 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3864, allocations: 0 / 1.372 GB, free: 4.605 MB / 1.061 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004375/0.3908, allocations: 4.011 MB / 1.376 GB, free: 0.5586 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.3908, allocations: 8 kB / 1.376 GB, free: 0.5508 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.3908, allocations: 0 / 1.376 GB, free: 0.5508 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.3908, allocations: 4 kB / 1.376 GB, free: 0.5469 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.3909, allocations: 23.92 kB / 1.376 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.391, allocations: 0 / 1.376 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004576/0.3914, allocations: 241.3 kB / 1.376 GB, free: 292 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-05/0.3915, allocations: 19.98 kB / 1.376 GB, free: 272 kB / 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.0002939/0.3918, allocations: 241.7 kB / 1.376 GB, free: 20 kB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.093e-05/0.3919, allocations: 75.42 kB / 1.376 GB, free: 15.94 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.3929, allocations: 0.9477 MB / 1.377 GB, free: 14.98 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.3929, allocations: 3.938 kB / 1.377 GB, free: 14.98 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.3929, allocations: 4 kB / 1.377 GB, free: 14.97 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3929, allocations: 0 / 1.377 GB, free: 14.97 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004781/0.3934, allocations: 467.7 kB / 1.378 GB, free: 14.48 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3934, allocations: 4.031 kB / 1.378 GB, free: 14.48 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.267e-05/0.3935, allocations: 11.98 kB / 1.378 GB, free: 14.46 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3935, allocations: 0 / 1.378 GB, free: 14.46 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.3935, allocations: 12 kB / 1.378 GB, free: 14.45 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.3935, allocations: 7.922 kB / 1.378 GB, free: 14.45 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3935, allocations: 0 / 1.378 GB, free: 14.45 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009406/0.3944, allocations: 1.002 MB / 1.379 GB, free: 13.42 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.841e-05/0.3945, allocations: 75.34 kB / 1.379 GB, free: 13.35 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.963e-05/0.3946, allocations: 11.98 kB / 1.379 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.3947, allocations: 4 kB / 1.379 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.3947, allocations: 11.92 kB / 1.379 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.756e-05/0.3948, allocations: 11.98 kB / 1.379 GB, free: 13.31 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007264/0.3955, allocations: 0.6728 MB / 1.379 GB, free: 12.63 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3955, allocations: 0 / 1.379 GB, free: 12.63 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001466/0.397, allocations: 0.5884 MB / 1.38 GB, free: 12.04 MB / 1.076 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.003197/0.4002, allocations: 2.149 MB / 1.382 GB, free: 9.883 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002061/0.4022, allocations: 2.005 MB / 1.384 GB, free: 7.863 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4022, allocations: 0 / 1.384 GB, free: 7.863 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003305/0.4025, allocations: 339.7 kB / 1.384 GB, free: 7.531 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.4029, allocations: 40.72 kB / 1.384 GB, free: 7.492 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01581/0.4187, allocations: 15.28 MB / 1.399 GB, free: 8.031 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.4191, allocations: 376.1 kB / 1.4 GB, free: 7.641 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001754/0.4192, allocations: 32.47 kB / 1.4 GB, free: 7.605 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003384/0.4196, allocations: 263.3 kB / 1.4 GB, free: 7.348 MB / 1.092 GB Notification: Performance of SimCode: time 1.172e-06/0.4196, allocations: 0 / 1.4 GB, free: 7.348 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05499/0.4746, allocations: 24.89 MB / 1.424 GB, free: 14.67 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.47, allocations: 9.953 kB / 1.424 GB, free: 14.66 MB / 1.123 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --stepSize=164800 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 20.580153953982517] Failed to read output from testmodel.py, exit status != 0: 13.642039667000063 13.656994683 13.292868513 Calling exit ...