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.001729/0.001729, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001876/0.001876, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.384/1.384, allocations: 230.6 MB / 256 MB, free: 8.008 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.726/2.726, allocations: 476.7 MB / 0.7707 GB, free: 4.23 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="me",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="me",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.002014/0.002014, allocations: 72.58 kB / 1.117 GB, free: 39.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3309, allocations: 170 MB / 1.283 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002364/0.3333, allocations: 1.285 MB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007101/0.3404, allocations: 4.583 MB / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.565e-05/0.3404, allocations: 0 / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.976e-05/0.3405, allocations: 0 / 1.289 GB, free: 5.609 MB / 0.9825 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.004302/0.3448, allocations: 1.616 MB / 1.291 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 9.977e-05/0.3449, allocations: 39.91 kB / 1.291 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.149e-05/0.3449, allocations: 15.92 kB / 1.291 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.438e-05/0.345, allocations: 7.984 kB / 1.291 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.127e-05/0.345, allocations: 4 kB / 1.291 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.364e-05/0.3451, allocations: 25.22 kB / 1.291 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.408e-06/0.3451, allocations: 0 / 1.291 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004252/0.3493, allocations: 2.699 MB / 1.293 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002351/0.3496, allocations: 246.1 kB / 1.294 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000327/0.3499, allocations: 242.9 kB / 1.294 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003868/0.3537, allocations: 2.247 MB / 1.296 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.3538, allocations: 0 / 1.296 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3538, allocations: 0 / 1.296 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.511e-05/0.3538, allocations: 4 kB / 1.296 GB, free: 14.47 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.002709/0.3565, allocations: 1.449 MB / 1.298 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3565, allocations: 8.031 kB / 1.298 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.322e-05/0.3566, allocations: 34.69 kB / 1.298 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.3568, allocations: 48.61 kB / 1.298 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009772/0.3577, allocations: 0.5882 MB / 1.298 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.166e-06/0.3577, allocations: 4.375 kB / 1.298 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.3578, allocations: 3.938 kB / 1.298 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.358, allocations: 169.6 kB / 1.298 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.358, allocations: 4 kB / 1.298 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.358, allocations: 0 / 1.298 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.358, allocations: 0 / 1.298 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002649/0.3582, allocations: 275.9 kB / 1.299 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000621/0.3589, allocations: 0.5083 MB / 1.299 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.359, allocations: 166.5 kB / 1.299 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.3592, allocations: 144.9 kB / 1.299 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.839e-06/0.3592, allocations: 0 / 1.299 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.3592, allocations: 42.48 kB / 1.299 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.3592, allocations: 0 / 1.299 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0006228/0.3598, allocations: 497.2 kB / 1.3 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.3599, allocations: 51.41 kB / 1.3 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009402/0.3608, allocations: 0.7021 MB / 1.301 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.3608, allocations: 25.7 kB / 1.301 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.361, allocations: 224.1 kB / 1.301 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.361, allocations: 0 / 1.301 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.3611, allocations: 17.72 kB / 1.301 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.3613, allocations: 366.8 kB / 1.301 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.3614, allocations: 143.9 kB / 1.301 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.3615, allocations: 139.9 kB / 1.302 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.3617, allocations: 292.8 kB / 1.302 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3617, allocations: 0 / 1.302 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004346/0.3622, allocations: 365.2 kB / 1.302 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3622, allocations: 4 kB / 1.302 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.3622, allocations: 0 / 1.302 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3622, allocations: 0 / 1.302 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.126e-05/0.3622, allocations: 4 kB / 1.302 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.3622, allocations: 0 / 1.302 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.3624, allocations: 28 kB / 1.302 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.3624, allocations: 4.031 kB / 1.302 GB, free: 8.02 MB / 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.0001999/0.3626, allocations: 217.6 kB / 1.302 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.3628, allocations: 47.67 kB / 1.302 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003863/0.3632, allocations: 376.9 kB / 1.303 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3632, allocations: 0 / 1.303 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.3632, allocations: 0 / 1.303 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.3632, allocations: 0 / 1.303 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000442/0.3636, allocations: 416.5 kB / 1.303 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.3637, allocations: 4.031 kB / 1.303 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.72e-07/0.3637, allocations: 0 / 1.303 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3637, allocations: 0 / 1.303 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.3637, allocations: 4 kB / 1.303 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3637, allocations: 0 / 1.303 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3637, allocations: 0 / 1.303 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004528/0.3641, allocations: 384.6 kB / 1.304 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005835/0.3647, allocations: 271.4 kB / 1.304 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/0.3648, allocations: 4.031 kB / 1.304 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.365, allocations: 28 kB / 1.304 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.427e-05/0.365, allocations: 0 / 1.304 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.3651, allocations: 4 kB / 1.304 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007302/0.3658, allocations: 0.53 MB / 1.304 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.3658, allocations: 0 / 1.304 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001517/0.3673, allocations: 0.5764 MB / 1.305 GB, free: 5.117 MB / 0.9981 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.003296/0.3706, allocations: 1.745 MB / 1.307 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003523/0.3709, allocations: 283.8 kB / 1.307 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.371, allocations: 0 / 1.307 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.3711, allocations: 169.6 kB / 1.307 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.3715, allocations: 38.44 kB / 1.307 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009788/0.3813, allocations: 7.192 MB / 1.314 GB, free: 11.66 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/0.3818, allocations: 0.8158 MB / 1.315 GB, free: 10.82 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001054/0.3828, allocations: 450.6 kB / 1.315 GB, free: 10.42 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006575/0.3835, allocations: 371.2 kB / 1.316 GB, free: 10.06 MB / 1.014 GB Notification: Performance of SimCode: time 7.21e-07/0.3835, allocations: 0 / 1.316 GB, free: 10.06 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06248/0.4459, allocations: 26.06 MB / 1.341 GB, free: 104 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.61, allocations: 7.203 kB / 1.341 GB, free: 100 kB / 1.029 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.50903283804655] Failed to read output from testmodel.py, exit status != 0: 13.307561931898817 12.792034619 12.435173816 Calling exit ...