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.001285/0.001285, allocations: 114.1 kB / 17.16 MB, free: 5.895 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.001334/0.001334, allocations: 215 kB / 20.13 MB, free: 2.949 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.392/1.392, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.873/2.873, allocations: 0.5003 GB / 0.8026 GB, free: 6.742 MB / 0.6387 GB " [Timeout remaining time 176] 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.001965/0.001965, allocations: 67.91 kB / 1.165 GB, free: 444 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8697/0.8717, allocations: 178.9 MB / 1.34 GB, free: 16.31 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.00219/0.8739, allocations: 1.449 MB / 1.342 GB, free: 15.29 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005568/0.8795, allocations: 4.266 MB / 1.346 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.258e-05/0.8795, allocations: 1.5 kB / 1.346 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.8796, allocations: 13.19 kB / 1.346 GB, free: 12.44 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002273/0.8799, allocations: 36.78 kB / 1.346 GB, free: 12.41 MB / 1.061 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.004468/0.8843, allocations: 1.522 MB / 1.347 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.8845, allocations: 91.69 kB / 1.347 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.64e-05/0.8846, allocations: 3.812 kB / 1.347 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.29e-05/0.8846, allocations: 50.81 kB / 1.347 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002593/0.8849, allocations: 147.2 kB / 1.348 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.703e-05/0.885, allocations: 14.06 kB / 1.348 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004662/0.8896, allocations: 2.34 MB / 1.35 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002911/0.8899, allocations: 269.4 kB / 1.35 GB, free: 10.96 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00036/0.8903, allocations: 279.3 kB / 1.35 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005108/0.8954, allocations: 2.125 MB / 1.352 GB, free: 10.16 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.8954, allocations: 4 kB / 1.353 GB, free: 10.16 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.745e-06/0.8954, allocations: 1.75 kB / 1.353 GB, free: 10.16 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.333e-05/0.8954, allocations: 0 / 1.353 GB, free: 10.16 MB / 1.061 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.01117/0.9066, allocations: 1.347 MB / 1.354 GB, free: 9.191 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.9066, allocations: 10 kB / 1.354 GB, free: 9.191 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.172e-05/0.9067, allocations: 10.03 kB / 1.354 GB, free: 9.184 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.483e-05/0.9067, allocations: 37.12 kB / 1.354 GB, free: 9.141 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000438/0.9071, allocations: 89.55 kB / 1.354 GB, free: 9.086 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004121/0.9075, allocations: 369.3 kB / 1.354 GB, free: 8.781 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.9076, allocations: 7.031 kB / 1.354 GB, free: 8.777 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.604e-05/0.9076, allocations: 5.781 kB / 1.354 GB, free: 8.777 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004738/0.9081, allocations: 388.2 kB / 1.355 GB, free: 8.719 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.9081, allocations: 5.094 kB / 1.355 GB, free: 8.715 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.9081, allocations: 4.656 kB / 1.355 GB, free: 8.711 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.9081, allocations: 1.188 kB / 1.355 GB, free: 8.711 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005141/0.9086, allocations: 441.3 kB / 1.355 GB, free: 8.699 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007318/0.9094, allocations: 0.6408 MB / 1.356 GB, free: 8.309 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005613/0.9099, allocations: 0.5595 MB / 1.356 GB, free: 8.25 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003284/0.9102, allocations: 338 kB / 1.357 GB, free: 8.227 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007712/0.911, allocations: 1.033 MB / 1.358 GB, free: 7.086 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004173/0.9114, allocations: 395.8 kB / 1.358 GB, free: 7.016 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.9114, allocations: 4 kB / 1.358 GB, free: 7.012 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.001492/0.9129, allocations: 1.295 MB / 1.359 GB, free: 6.895 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.913, allocations: 88.95 kB / 1.359 GB, free: 6.793 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001542/0.9145, allocations: 1.218 MB / 1.361 GB, free: 6.301 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.696e-05/0.9145, allocations: 31.27 kB / 1.361 GB, free: 6.266 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/0.9147, allocations: 269.2 kB / 1.361 GB, free: 6.059 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.342e-05/0.9148, allocations: 21.16 kB / 1.361 GB, free: 6.043 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004009/0.9152, allocations: 351 kB / 1.361 GB, free: 5.945 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.517e-05/0.9152, allocations: 312.6 kB / 1.361 GB, free: 5.637 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001327/0.9166, allocations: 1.37 MB / 1.363 GB, free: 5.184 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/0.9179, allocations: 1.503 MB / 1.364 GB, free: 4.66 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006791/0.9247, allocations: 3.557 MB / 1.368 GB, free: 2.816 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/0.9247, allocations: 1.312 kB / 1.368 GB, free: 2.816 MB / 1.061 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004397/0.9291, allocations: 4.009 MB / 1.372 GB, free: 0.832 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.9291, allocations: 5.156 kB / 1.372 GB, free: 0.832 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.457e-05/0.9291, allocations: 8.375 kB / 1.372 GB, free: 0.8281 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.9292, allocations: 9.266 kB / 1.372 GB, free: 0.8203 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.9293, allocations: 21.34 kB / 1.372 GB, free: 0.8125 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.9293, allocations: 1.922 kB / 1.372 GB, free: 0.8125 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005695/0.9299, allocations: 241.5 kB / 1.372 GB, free: 0.6172 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.686e-05/0.9299, allocations: 23.56 kB / 1.372 GB, free: 0.6172 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.0003781/0.9303, allocations: 236.1 kB / 1.372 GB, free: 0.5 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.157e-05/0.9304, allocations: 74.95 kB / 1.372 GB, free: 452 kB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002713/0.9306, allocations: 79.53 kB / 1.372 GB, free: 384 kB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.9307, allocations: 1.25 kB / 1.372 GB, free: 384 kB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.9307, allocations: 0.8438 kB / 1.372 GB, free: 384 kB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.9307, allocations: 3 kB / 1.372 GB, free: 384 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005221/0.9312, allocations: 0.4886 MB / 1.373 GB, free: 100 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.9312, allocations: 5.922 kB / 1.373 GB, free: 96 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.3e-05/0.9313, allocations: 11.36 kB / 1.373 GB, free: 92 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.9313, allocations: 5 kB / 1.373 GB, free: 88 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.9313, allocations: 3.531 kB / 1.373 GB, free: 88 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.9313, allocations: 5.656 kB / 1.373 GB, free: 84 kB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.9313, allocations: 0 / 1.373 GB, free: 84 kB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.9324, allocations: 1.007 MB / 1.374 GB, free: 15.93 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001863/0.9326, allocations: 158.8 kB / 1.374 GB, free: 15.77 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.96e-05/0.9326, allocations: 2.188 kB / 1.374 GB, free: 15.77 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.9328, allocations: 9.766 kB / 1.374 GB, free: 15.77 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.9328, allocations: 5.938 kB / 1.374 GB, free: 15.77 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.784e-05/0.9329, allocations: 12.08 kB / 1.374 GB, free: 15.77 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001046/0.9339, allocations: 0.6709 MB / 1.375 GB, free: 15.54 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9339, allocations: 0 / 1.375 GB, free: 15.54 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002535/0.9365, allocations: 0.586 MB / 1.375 GB, free: 15.43 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.004641/0.9411, allocations: 2.164 MB / 1.377 GB, free: 14.57 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002649/0.9438, allocations: 2.001 MB / 1.379 GB, free: 14.02 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.9438, allocations: 0.9375 kB / 1.379 GB, free: 14.02 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003624/0.9441, allocations: 335.4 kB / 1.38 GB, free: 14.01 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.9445, allocations: 34.94 kB / 1.38 GB, free: 13.98 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01937/0.9639, allocations: 15.28 MB / 1.395 GB, free: 7.094 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006854/0.9646, allocations: 0.9658 MB / 1.396 GB, free: 6.398 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001601/0.9647, allocations: 40.42 kB / 1.396 GB, free: 6.383 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003547/0.9651, allocations: 269.2 kB / 1.396 GB, free: 6.16 MB / 1.076 GB Notification: Performance of SimCode: time 1.082e-06/0.9651, allocations: 0 / 1.396 GB, free: 6.16 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0539/1.019, allocations: 24.14 MB / 1.419 GB, free: 6.922 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.2/11.22, allocations: 16.41 kB / 1.419 GB, free: 6.906 MB / 1.092 GB " [Timeout remaining time 289] (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: 17.40869092399953] Failed to read output from testmodel.py, exit status != 0: 11.359912809974048 11.377094185 10.478517189 Calling exit ...