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_SmallScaleValidation.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.001599/0.001599, 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.001973/0.001973, 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.366/1.366, allocations: 230.6 MB / 256.8 MB, free: 7.816 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 3.005/3.005, allocations: 0.5003 GB / 0.8062 GB, free: 28.25 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_SmallScaleValidation,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",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.001926/0.001926, allocations: 65.75 kB / 1.171 GB, free: 19.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3386, allocations: 179 MB / 1.345 GB, free: 15.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003118/0.3417, allocations: 1.739 MB / 1.347 GB, free: 14.15 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.007792/0.3495, allocations: 4.888 MB / 1.352 GB, free: 9.242 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.3496, allocations: 3.938 kB / 1.352 GB, free: 9.238 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001334/0.351, allocations: 338.5 kB / 1.352 GB, free: 8.906 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001432/0.3511, allocations: 59.69 kB / 1.352 GB, free: 8.848 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.004127/0.3552, allocations: 1.603 MB / 1.354 GB, free: 7.242 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002828/0.3555, allocations: 171.3 kB / 1.354 GB, free: 7.074 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.41e-05/0.3556, allocations: 5.75 kB / 1.354 GB, free: 7.07 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.917e-05/0.3556, allocations: 55.78 kB / 1.354 GB, free: 7.016 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.3559, allocations: 171.4 kB / 1.354 GB, free: 6.848 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.139e-05/0.3559, allocations: 16 kB / 1.354 GB, free: 6.832 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003733/0.3597, allocations: 2.543 MB / 1.357 GB, free: 4.285 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000257/0.3599, allocations: 287.8 kB / 1.357 GB, free: 4.004 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002678/0.3602, allocations: 242.7 kB / 1.357 GB, free: 3.762 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003031/0.3632, allocations: 2.212 MB / 1.359 GB, free: 1.543 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.3632, allocations: 8 kB / 1.359 GB, free: 1.535 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3632, allocations: 0 / 1.359 GB, free: 1.535 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.405e-06/0.3632, allocations: 0 / 1.359 GB, free: 1.535 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.008157/0.3714, allocations: 1.338 MB / 1.361 GB, free: 164 kB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.3714, allocations: 12.03 kB / 1.361 GB, free: 152 kB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.886e-05/0.3714, allocations: 192 / 1.361 GB, free: 152 kB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.323e-05/0.3715, allocations: 34.75 kB / 1.361 GB, free: 108 kB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003767/0.3719, allocations: 100.2 kB / 1.361 GB, free: 8 kB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005942/0.3725, allocations: 348.5 kB / 1.361 GB, free: 15.63 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.3725, allocations: 4.375 kB / 1.361 GB, free: 15.63 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.128e-05/0.3725, allocations: 4.375 kB / 1.361 GB, free: 15.62 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000457/0.373, allocations: 407 kB / 1.361 GB, free: 15.21 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.373, allocations: 0 / 1.361 GB, free: 15.21 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.373, allocations: 4 kB / 1.362 GB, free: 15.21 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.373, allocations: 0 / 1.362 GB, free: 15.21 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004431/0.3734, allocations: 427.8 kB / 1.362 GB, free: 14.79 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006274/0.3741, allocations: 0.6144 MB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005498/0.3746, allocations: 0.5632 MB / 1.363 GB, free: 13.55 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003275/0.3749, allocations: 337.7 kB / 1.363 GB, free: 13.22 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006067/0.3755, allocations: 147.7 kB / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004318/0.376, allocations: 400.8 kB / 1.364 GB, free: 12.66 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.376, allocations: 0 / 1.364 GB, free: 12.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.001421/0.3774, allocations: 1.313 MB / 1.365 GB, free: 11.34 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/0.3775, allocations: 81.11 kB / 1.365 GB, free: 11.25 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/0.3788, allocations: 1.29 MB / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.011e-05/0.3788, allocations: 33.7 kB / 1.367 GB, free: 9.906 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/0.3791, allocations: 289.9 kB / 1.367 GB, free: 9.617 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/0.3791, allocations: 23.83 kB / 1.367 GB, free: 9.594 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000365/0.3795, allocations: 355.6 kB / 1.367 GB, free: 9.242 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.3796, allocations: 318.1 kB / 1.367 GB, free: 8.926 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/0.3809, allocations: 1.373 MB / 1.369 GB, free: 7.551 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001459/0.3824, allocations: 1.501 MB / 1.37 GB, free: 6.039 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007176/0.3896, allocations: 3.56 MB / 1.374 GB, free: 2.387 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.3896, allocations: 0 / 1.374 GB, free: 2.387 MB / 1.061 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004707/0.3943, allocations: 4.023 MB / 1.378 GB, free: 14.32 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.3943, allocations: 8 kB / 1.378 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.3943, allocations: 0 / 1.378 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.3943, allocations: 4 kB / 1.378 GB, free: 14.31 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.3945, allocations: 19.92 kB / 1.378 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.3945, allocations: 0 / 1.378 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005019/0.395, allocations: 237.4 kB / 1.378 GB, free: 14.06 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.807e-05/0.395, allocations: 23.98 kB / 1.378 GB, free: 14.04 MB / 1.076 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.000338/0.3954, allocations: 253.7 kB / 1.378 GB, free: 13.78 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.145e-05/0.3955, allocations: 79.23 kB / 1.378 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.3965, allocations: 0.941 MB / 1.379 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.3965, allocations: 4 kB / 1.379 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.3965, allocations: 0 / 1.379 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.3965, allocations: 0 / 1.379 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004798/0.397, allocations: 0.4934 MB / 1.38 GB, free: 12.22 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.397, allocations: 32 / 1.38 GB, free: 12.22 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.309e-05/0.3971, allocations: 11.94 kB / 1.38 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.3971, allocations: 4 kB / 1.38 GB, free: 12.2 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.3971, allocations: 3.984 kB / 1.38 GB, free: 12.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3971, allocations: 80 / 1.38 GB, free: 12.2 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.3971, allocations: 7.984 kB / 1.38 GB, free: 12.19 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000989/0.3981, allocations: 1.014 MB / 1.381 GB, free: 11.16 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.985e-05/0.3982, allocations: 91.19 kB / 1.381 GB, free: 11.07 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.505e-05/0.3983, allocations: 4 kB / 1.381 GB, free: 11.06 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.3984, allocations: 7.984 kB / 1.381 GB, free: 11.05 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.3984, allocations: 11.94 kB / 1.381 GB, free: 11.04 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.179e-05/0.3985, allocations: 23.91 kB / 1.381 GB, free: 11.02 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000825/0.3993, allocations: 0.7222 MB / 1.382 GB, free: 10.29 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.3993, allocations: 0 / 1.382 GB, free: 10.29 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001536/0.4008, allocations: 0.5884 MB / 1.382 GB, free: 9.703 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.0031/0.4039, allocations: 2.161 MB / 1.384 GB, free: 7.531 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002162/0.4061, allocations: 1.993 MB / 1.386 GB, free: 5.523 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4061, allocations: 0 / 1.386 GB, free: 5.523 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003714/0.4065, allocations: 343.7 kB / 1.387 GB, free: 5.188 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.4069, allocations: 57.14 kB / 1.387 GB, free: 5.133 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01639/0.4233, allocations: 15.3 MB / 1.402 GB, free: 5.637 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.4237, allocations: 397.8 kB / 1.402 GB, free: 5.227 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001611/0.4238, allocations: 37.41 kB / 1.402 GB, free: 5.188 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003544/0.4242, allocations: 291.3 kB / 1.402 GB, free: 4.902 MB / 1.092 GB Notification: Performance of SimCode: time 8.72e-07/0.4242, allocations: 3.938 kB / 1.402 GB, free: 4.898 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0537/0.4779, allocations: 25.26 MB / 1.427 GB, free: 11.9 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/13.58, allocations: 1.562 kB / 1.427 GB, free: 11.9 MB / 1.123 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --stepSize=7.2e+08 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 20.591119583928958] Failed to read output from testmodel.py, exit status != 0: 13.75457435194403 13.770073851 13.403790066000001 Calling exit ...