Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.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: 101.5 kB / 19.73 MB, free: 2.23 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.001459/0.001459, allocations: 216.5 kB / 23.04 MB, free: 5.074 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.4/1.4, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.611/2.611, allocations: 476.7 MB / 0.7715 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",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.001949/0.001949, allocations: 67.89 kB / 1.118 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3165, allocations: 169.9 MB / 1.284 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.00249/0.319, allocations: 1.293 MB / 1.285 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006957/0.326, allocations: 4.594 MB / 1.29 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.599e-05/0.326, allocations: 0 / 1.29 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.41e-05/0.326, allocations: 0 / 1.29 GB, free: 13.86 MB / 0.9981 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.004165/0.3302, allocations: 1.609 MB / 1.291 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 9.386e-05/0.3303, allocations: 39.91 kB / 1.292 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.284e-05/0.3304, allocations: 11.97 kB / 1.292 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.915e-05/0.3304, allocations: 4 kB / 1.292 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.362e-05/0.3304, allocations: 4 kB / 1.292 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.816e-05/0.3305, allocations: 25.22 kB / 1.292 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.378e-06/0.3305, allocations: 0 / 1.292 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004214/0.3347, allocations: 2.71 MB / 1.294 GB, free: 9.457 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002195/0.3349, allocations: 238.1 kB / 1.294 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003008/0.3352, allocations: 246.9 kB / 1.295 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003208/0.3384, allocations: 2.24 MB / 1.297 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3384, allocations: 3.938 kB / 1.297 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3384, allocations: 0 / 1.297 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.934e-06/0.3384, allocations: 0 / 1.297 GB, free: 6.73 MB / 0.9981 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.002391/0.3408, allocations: 1.452 MB / 1.298 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.3409, allocations: 8.031 kB / 1.298 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.574e-05/0.3409, allocations: 192 / 1.298 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.13e-05/0.3409, allocations: 34.73 kB / 1.298 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002039/0.3411, allocations: 48.61 kB / 1.298 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007884/0.3419, allocations: 0.5804 MB / 1.299 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.3419, allocations: 4.125 kB / 1.299 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.3419, allocations: 4 kB / 1.299 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.3421, allocations: 165.6 kB / 1.299 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.3421, allocations: 7.938 kB / 1.299 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.3421, allocations: 7.938 kB / 1.299 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3421, allocations: 0 / 1.299 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002144/0.3424, allocations: 279.9 kB / 1.299 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006164/0.343, allocations: 0.5083 MB / 1.3 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.3431, allocations: 162.5 kB / 1.3 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.3432, allocations: 140.9 kB / 1.3 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.3432, allocations: 3.984 kB / 1.3 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.3433, allocations: 34.56 kB / 1.3 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.3433, allocations: 0 / 1.3 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0006246/0.3439, allocations: 0.4933 MB / 1.301 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.3439, allocations: 59.34 kB / 1.301 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009433/0.3449, allocations: 0.6942 MB / 1.301 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.3449, allocations: 25.7 kB / 1.301 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.3451, allocations: 224.1 kB / 1.302 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.3451, allocations: 8.125 kB / 1.302 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.3451, allocations: 13.7 kB / 1.302 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.3453, allocations: 362.8 kB / 1.302 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.3454, allocations: 143.9 kB / 1.302 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.3455, allocations: 139.9 kB / 1.302 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.3458, allocations: 288.7 kB / 1.303 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.3458, allocations: 3.938 kB / 1.303 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004447/0.3462, allocations: 357.3 kB / 1.303 GB, free: 332 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.3462, allocations: 12 kB / 1.303 GB, free: 320 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.3462, allocations: 0 / 1.303 GB, free: 320 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.3463, allocations: 0 / 1.303 GB, free: 320 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.582e-05/0.3463, allocations: 0 / 1.303 GB, free: 320 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3463, allocations: 0 / 1.303 GB, free: 320 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/0.3465, allocations: 32 kB / 1.303 GB, free: 288 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.3466, allocations: 0 / 1.303 GB, free: 288 kB / 0.9981 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.0001861/0.3467, allocations: 213.7 kB / 1.303 GB, free: 64 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/0.3469, allocations: 47.67 kB / 1.303 GB, free: 16 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003728/0.3473, allocations: 380.9 kB / 1.304 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.3473, allocations: 8 kB / 1.304 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3473, allocations: 0 / 1.304 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.3473, allocations: 0 / 1.304 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004155/0.3477, allocations: 412.5 kB / 1.304 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.3477, allocations: 3.938 kB / 1.304 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.021e-06/0.3477, allocations: 0 / 1.304 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3477, allocations: 0 / 1.304 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.3477, allocations: 3.984 kB / 1.304 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3477, allocations: 0 / 1.304 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3477, allocations: 4.031 kB / 1.304 GB, free: 15.17 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004447/0.3482, allocations: 388.6 kB / 1.304 GB, free: 14.77 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000457/0.3486, allocations: 259.5 kB / 1.305 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.3488, allocations: 4 kB / 1.305 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.349, allocations: 28 kB / 1.305 GB, free: 14.49 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.283e-05/0.349, allocations: 0 / 1.305 GB, free: 14.49 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.349, allocations: 0 / 1.305 GB, free: 14.49 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007362/0.3498, allocations: 0.5339 MB / 1.305 GB, free: 13.96 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3498, allocations: 0 / 1.305 GB, free: 13.96 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001594/0.3513, allocations: 0.5803 MB / 1.306 GB, free: 13.38 MB / 1.014 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.003167/0.3545, allocations: 1.746 MB / 1.307 GB, free: 11.69 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002917/0.3548, allocations: 283.8 kB / 1.308 GB, free: 11.41 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3548, allocations: 0 / 1.308 GB, free: 11.41 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.3549, allocations: 169.6 kB / 1.308 GB, free: 11.24 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.3553, allocations: 30.31 kB / 1.308 GB, free: 11.21 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009144/0.3644, allocations: 7.196 MB / 1.315 GB, free: 3.926 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.3649, allocations: 0.8236 MB / 1.316 GB, free: 3.078 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00103/0.3659, allocations: 445.3 kB / 1.316 GB, free: 2.684 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006657/0.3666, allocations: 375.2 kB / 1.317 GB, free: 2.316 MB / 1.014 GB Notification: Performance of SimCode: time 7.12e-07/0.3666, allocations: 0 / 1.317 GB, free: 2.316 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05587/0.4224, allocations: 26.08 MB / 1.342 GB, free: 8.348 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.75, allocations: 8.047 kB / 1.342 GB, free: 8.34 MB / 1.045 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 22.49625223001931] Failed to read output from testmodel.py, exit status != 0: 12.971558617020492 12.987797915 12.646034716 Calling exit ...