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.001672/0.001672, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002047/0.002047, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.457/1.457, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.706/2.706, allocations: 476.7 MB / 0.7678 GB, free: 9.402 MB / 0.6075 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.001965/0.001965, allocations: 71.89 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8497/0.8516, allocations: 169.9 MB / 1.279 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002619/0.8543, allocations: 1.28 MB / 1.28 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007523/0.8618, allocations: 4.542 MB / 1.285 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.248e-05/0.8618, allocations: 0 / 1.285 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.094e-05/0.8619, allocations: 6.5 kB / 1.285 GB, free: 7.684 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.0049/0.8668, allocations: 1.51 MB / 1.286 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001069/0.8669, allocations: 35.05 kB / 1.286 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.061e-05/0.8669, allocations: 12.97 kB / 1.286 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.376e-05/0.867, allocations: 1.797 kB / 1.286 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.024e-05/0.867, allocations: 4.844 kB / 1.286 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.474e-05/0.8671, allocations: 29.69 kB / 1.286 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.656e-06/0.8671, allocations: 0 / 1.286 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004521/0.8716, allocations: 2.406 MB / 1.289 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002703/0.8719, allocations: 241.4 kB / 1.289 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003263/0.8722, allocations: 244.3 kB / 1.289 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005298/0.8775, allocations: 2.208 MB / 1.291 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.8775, allocations: 0.7031 kB / 1.291 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.624e-06/0.8775, allocations: 3.938 kB / 1.291 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.8775, allocations: 0 / 1.291 GB, free: 5.625 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.003392/0.8809, allocations: 1.533 MB / 1.293 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.8809, allocations: 9.5 kB / 1.293 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.012e-05/0.881, allocations: 192 / 1.293 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.992e-05/0.881, allocations: 31.69 kB / 1.293 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002461/0.8812, allocations: 48.5 kB / 1.293 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009625/0.8822, allocations: 0.635 MB / 1.293 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.8822, allocations: 4.125 kB / 1.293 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.8822, allocations: 1.281 kB / 1.293 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.8825, allocations: 171.9 kB / 1.294 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.8825, allocations: 0 / 1.294 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.8825, allocations: 0.5625 kB / 1.294 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.8825, allocations: 5.281 kB / 1.294 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.8827, allocations: 283.7 kB / 1.294 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008419/0.8836, allocations: 0.5337 MB / 1.294 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.8838, allocations: 160.3 kB / 1.295 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.8839, allocations: 144 kB / 1.295 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.8839, allocations: 5.688 kB / 1.295 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.8839, allocations: 35.81 kB / 1.295 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.383e-06/0.8839, allocations: 0 / 1.295 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0007101/0.8846, allocations: 0.4886 MB / 1.295 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.8847, allocations: 51.41 kB / 1.295 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.8858, allocations: 0.6964 MB / 1.296 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.8858, allocations: 27.23 kB / 1.296 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.886, allocations: 229.6 kB / 1.296 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.886, allocations: 4.594 kB / 1.296 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.8861, allocations: 12.52 kB / 1.296 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.8862, allocations: 365.8 kB / 1.297 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.8864, allocations: 144.7 kB / 1.297 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.8865, allocations: 139.6 kB / 1.297 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002326/0.8867, allocations: 290 kB / 1.297 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.8867, allocations: 5.406 kB / 1.297 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0005572/0.8873, allocations: 364 kB / 1.297 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.8873, allocations: 6.234 kB / 1.297 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.8873, allocations: 0 / 1.297 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.8873, allocations: 1.125 kB / 1.297 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.833e-05/0.8874, allocations: 6.859 kB / 1.297 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.8874, allocations: 4.688 kB / 1.297 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003046/0.8877, allocations: 28.75 kB / 1.297 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.8877, allocations: 1.062 kB / 1.297 GB, free: 2.984 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.0002413/0.8879, allocations: 208.7 kB / 1.298 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002109/0.8882, allocations: 52.16 kB / 1.298 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004123/0.8886, allocations: 376.7 kB / 1.298 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.8886, allocations: 1.25 kB / 1.298 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.8886, allocations: 0.7031 kB / 1.298 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.8886, allocations: 0 / 1.298 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005842/0.8892, allocations: 443.1 kB / 1.299 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.8892, allocations: 0 / 1.299 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.933e-06/0.8892, allocations: 5.281 kB / 1.299 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.8892, allocations: 0.6562 kB / 1.299 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.8892, allocations: 4.031 kB / 1.299 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.8892, allocations: 1.312 kB / 1.299 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.8892, allocations: 0.6094 kB / 1.299 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005231/0.8897, allocations: 386.4 kB / 1.299 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005044/0.8902, allocations: 339.1 kB / 1.299 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.8903, allocations: 1.156 kB / 1.299 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.8906, allocations: 33.75 kB / 1.299 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.182e-05/0.8906, allocations: 4.031 kB / 1.299 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.8906, allocations: 9.859 kB / 1.299 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009276/0.8915, allocations: 0.5303 MB / 1.3 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8915, allocations: 1.125 kB / 1.3 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002379/0.8939, allocations: 0.5732 MB / 1.3 GB, free: 1.98 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.004376/0.8983, allocations: 1.736 MB / 1.302 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000327/0.8986, allocations: 283 kB / 1.302 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.8986, allocations: 0 / 1.302 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.8988, allocations: 172.4 kB / 1.302 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006613/0.8994, allocations: 33.62 kB / 1.302 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/0.9107, allocations: 7.197 MB / 1.31 GB, free: 14.79 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/0.9112, allocations: 0.8225 MB / 1.31 GB, free: 14.09 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001093/0.9123, allocations: 448.1 kB / 1.311 GB, free: 13.95 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007907/0.9131, allocations: 370.8 kB / 1.311 GB, free: 13.85 MB / 1.014 GB Notification: Performance of SimCode: time 1.182e-06/0.9131, allocations: 0 / 1.311 GB, free: 13.85 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06084/0.974, allocations: 26.05 MB / 1.337 GB, free: 1.277 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.509/10.48, allocations: 8.016 kB / 1.337 GB, free: 1.27 MB / 1.014 GB " [Timeout remaining time 289] (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: 16.451706335006747] Failed to read output from testmodel.py, exit status != 0: 10.66708354500588 10.681669137 9.801115096 Calling exit ...