Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.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.002037/0.002037, allocations: 108.8 kB / 16.45 MB, free: 6.488 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.002361/0.002361, allocations: 196.6 kB / 19.41 MB, free: 3.68 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.376/1.376, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.912/2.912, allocations: 497.2 MB / 0.7811 GB, free: 33.61 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 68.72 kB / 1.134 GB, free: 33.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3189, allocations: 173.9 MB / 1.304 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002395/0.3213, allocations: 1.257 MB / 1.305 GB, free: 296 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007263/0.3285, allocations: 4.515 MB / 1.31 GB, free: 11.75 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.288e-05/0.3286, allocations: 0 / 1.31 GB, free: 11.75 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.635e-05/0.3286, allocations: 0 / 1.31 GB, free: 11.75 MB / 1.014 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 12.0.0-master/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.typeBindings: time 0.004283/0.3329, allocations: 1.518 MB / 1.311 GB, free: 10.23 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 9.192e-05/0.333, allocations: 31.89 kB / 1.311 GB, free: 10.2 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.936e-05/0.3331, allocations: 15.94 kB / 1.311 GB, free: 10.18 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.605e-05/0.3331, allocations: 7.984 kB / 1.311 GB, free: 10.18 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.43e-05/0.3331, allocations: 7.984 kB / 1.311 GB, free: 10.17 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.463e-05/0.3332, allocations: 17.28 kB / 1.311 GB, free: 10.15 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.008e-05/0.3332, allocations: 4 kB / 1.311 GB, free: 10.14 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003788/0.337, allocations: 2.383 MB / 1.314 GB, free: 7.758 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002264/0.3372, allocations: 242.1 kB / 1.314 GB, free: 7.523 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003185/0.3376, allocations: 242.9 kB / 1.314 GB, free: 7.285 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003037/0.3406, allocations: 2.209 MB / 1.316 GB, free: 5.07 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3406, allocations: 0 / 1.316 GB, free: 5.07 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3406, allocations: 3.938 kB / 1.316 GB, free: 5.066 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.3406, allocations: 0 / 1.316 GB, free: 5.066 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.002603/0.3432, allocations: 1.533 MB / 1.318 GB, free: 3.48 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.3433, allocations: 12.62 kB / 1.318 GB, free: 3.469 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.613e-05/0.3433, allocations: 34.75 kB / 1.318 GB, free: 3.426 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.3435, allocations: 48.61 kB / 1.318 GB, free: 3.379 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.3445, allocations: 0.6407 MB / 1.318 GB, free: 2.695 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.3446, allocations: 4.375 kB / 1.318 GB, free: 2.691 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.3446, allocations: 3.938 kB / 1.318 GB, free: 2.688 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.3448, allocations: 169.6 kB / 1.319 GB, free: 2.516 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.3448, allocations: 0 / 1.319 GB, free: 2.516 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.3448, allocations: 0 / 1.319 GB, free: 2.516 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3448, allocations: 4 kB / 1.319 GB, free: 2.512 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002387/0.345, allocations: 275.9 kB / 1.319 GB, free: 2.242 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006402/0.3457, allocations: 0.5365 MB / 1.319 GB, free: 1.656 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.3459, allocations: 166.4 kB / 1.319 GB, free: 1.484 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.346, allocations: 140.9 kB / 1.32 GB, free: 1.344 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.346, allocations: 0 / 1.32 GB, free: 1.344 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.346, allocations: 34.56 kB / 1.32 GB, free: 1.301 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.346, allocations: 4 kB / 1.32 GB, free: 1.297 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0006416/0.3467, allocations: 0.4894 MB / 1.32 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.3467, allocations: 51.41 kB / 1.32 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000952/0.3477, allocations: 0.6942 MB / 1.321 GB, free: 32 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.3477, allocations: 25.7 kB / 1.321 GB, free: 0 / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.3479, allocations: 228.2 kB / 1.321 GB, free: 15.77 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.3479, allocations: 3.938 kB / 1.321 GB, free: 15.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.3479, allocations: 17.83 kB / 1.321 GB, free: 15.74 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.3481, allocations: 366.8 kB / 1.321 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.3482, allocations: 139.9 kB / 1.322 GB, free: 15.24 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.3483, allocations: 139.9 kB / 1.322 GB, free: 15.1 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002469/0.3486, allocations: 284.8 kB / 1.322 GB, free: 14.82 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3486, allocations: 0 / 1.322 GB, free: 14.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004623/0.3491, allocations: 369.2 kB / 1.322 GB, free: 14.45 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.3491, allocations: 7.828 kB / 1.322 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3491, allocations: 8.078 kB / 1.322 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.3491, allocations: 0 / 1.322 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.07e-05/0.3492, allocations: 4 kB / 1.322 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.3492, allocations: 3.938 kB / 1.322 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.3493, allocations: 28 kB / 1.322 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.3494, allocations: 0 / 1.322 GB, free: 14.41 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001943/0.3495, allocations: 213.7 kB / 1.323 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.3497, allocations: 47.67 kB / 1.323 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003867/0.3501, allocations: 380.9 kB / 1.323 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3501, allocations: 4.031 kB / 1.323 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.3501, allocations: 0 / 1.323 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3501, allocations: 0 / 1.323 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000456/0.3506, allocations: 441.5 kB / 1.323 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.3506, allocations: 0 / 1.323 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.868e-06/0.3506, allocations: 4 kB / 1.323 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3506, allocations: 3.984 kB / 1.323 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.3506, allocations: 3.984 kB / 1.323 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3506, allocations: 0 / 1.323 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3506, allocations: 4 kB / 1.323 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004617/0.351, allocations: 384.6 kB / 1.324 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007302/0.3518, allocations: 340.5 kB / 1.324 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/0.3519, allocations: 4 kB / 1.324 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.3521, allocations: 28 kB / 1.324 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.092e-05/0.3521, allocations: 0 / 1.324 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.3521, allocations: 0 / 1.324 GB, free: 12.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007292/0.3528, allocations: 0.5339 MB / 1.325 GB, free: 11.95 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3528, allocations: 4.031 kB / 1.325 GB, free: 11.95 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001473/0.3543, allocations: 0.5842 MB / 1.325 GB, free: 11.36 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * 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.003046/0.3573, allocations: 1.75 MB / 1.327 GB, free: 9.691 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003198/0.3577, allocations: 279.9 kB / 1.327 GB, free: 9.418 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3577, allocations: 0 / 1.327 GB, free: 9.418 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.3578, allocations: 173.6 kB / 1.327 GB, free: 9.242 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.3581, allocations: 31.48 kB / 1.327 GB, free: 9.211 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009209/0.3673, allocations: 7.191 MB / 1.334 GB, free: 1.934 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004837/0.3678, allocations: 0.8236 MB / 1.335 GB, free: 1.082 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001064/0.3689, allocations: 453.1 kB / 1.336 GB, free: 0.6797 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006515/0.3695, allocations: 371.2 kB / 1.336 GB, free: 324 kB / 1.029 GB Notification: Performance of SimCode: time 9.82e-07/0.3695, allocations: 0 / 1.336 GB, free: 324 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0591/0.4286, allocations: 25.93 MB / 1.361 GB, free: 6.574 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.974/9.403, allocations: 19.03 kB / 1.361 GB, free: 6.562 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 15.565693637821823] Failed to read output from testmodel.py, exit status != 0: 9.531989731825888 9.556915502 9.211788787 Calling exit ...