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.001849/0.001849, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00219/0.00219, allocations: 214 kB / 22.25 MB, free: 4.855 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.439/1.439, allocations: 230.6 MB / 256 MB, free: 7.809 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.668/2.668, allocations: 476 MB / 0.7699 GB, free: 4.793 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.002078/0.002078, allocations: 66.41 kB / 1.117 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3215, allocations: 170 MB / 1.283 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002537/0.3241, allocations: 1.289 MB / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007046/0.3311, allocations: 4.129 MB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.552e-05/0.3312, allocations: 0 / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.346e-05/0.3312, allocations: 0 / 1.288 GB, free: 7.016 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.004136/0.3353, allocations: 1.594 MB / 1.289 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 9.51e-05/0.3354, allocations: 31.91 kB / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.785e-05/0.3355, allocations: 12 kB / 1.289 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.927e-05/0.3355, allocations: 7.938 kB / 1.29 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.517e-05/0.3356, allocations: 11.97 kB / 1.29 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.729e-05/0.3356, allocations: 21.28 kB / 1.29 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.3356, allocations: 0 / 1.29 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003651/0.3393, allocations: 2.414 MB / 1.292 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002272/0.3395, allocations: 254 kB / 1.292 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002679/0.3398, allocations: 215.2 kB / 1.292 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002734/0.3425, allocations: 2.216 MB / 1.295 GB, free: 244 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3425, allocations: 0 / 1.295 GB, free: 244 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3425, allocations: 0 / 1.295 GB, free: 244 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.3425, allocations: 0 / 1.295 GB, free: 244 kB / 0.9825 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.002403/0.3449, allocations: 1.449 MB / 1.296 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.345, allocations: 12.03 kB / 1.296 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.381e-05/0.345, allocations: 34.75 kB / 1.296 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.3452, allocations: 48.61 kB / 1.296 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009991/0.3462, allocations: 0.5803 MB / 1.297 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.3462, allocations: 4.375 kB / 1.297 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.3462, allocations: 3.938 kB / 1.297 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.3464, allocations: 173.6 kB / 1.297 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.3464, allocations: 0 / 1.297 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.3464, allocations: 0 / 1.297 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.3464, allocations: 3.984 kB / 1.297 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002316/0.3467, allocations: 283.9 kB / 1.297 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005907/0.3473, allocations: 0.5044 MB / 1.298 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.3474, allocations: 166.4 kB / 1.298 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.3475, allocations: 144.9 kB / 1.298 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.3475, allocations: 4 kB / 1.298 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.3476, allocations: 30.56 kB / 1.298 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.3476, allocations: 0 / 1.298 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0006048/0.3482, allocations: 0.4895 MB / 1.298 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.3482, allocations: 51.41 kB / 1.298 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009209/0.3491, allocations: 0.6981 MB / 1.299 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.3492, allocations: 25.7 kB / 1.299 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.3493, allocations: 232.1 kB / 1.299 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.3493, allocations: 0 / 1.299 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.3494, allocations: 13.72 kB / 1.299 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3495, allocations: 366.9 kB / 1.3 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.3497, allocations: 139.9 kB / 1.3 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.3498, allocations: 139.9 kB / 1.3 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.35, allocations: 284.8 kB / 1.3 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.35, allocations: 0 / 1.3 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004372/0.3504, allocations: 373.1 kB / 1.301 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3505, allocations: 7.938 kB / 1.301 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.3505, allocations: 4 kB / 1.301 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.3505, allocations: 3.938 kB / 1.301 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.776e-05/0.3505, allocations: 8.094 kB / 1.301 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3505, allocations: 3.984 kB / 1.301 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.3507, allocations: 28 kB / 1.301 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.3507, allocations: 0 / 1.301 GB, free: 9.773 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.0001909/0.3509, allocations: 209.7 kB / 1.301 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.3511, allocations: 43.67 kB / 1.301 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003595/0.3515, allocations: 376.9 kB / 1.301 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3515, allocations: 0 / 1.301 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3515, allocations: 0 / 1.301 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.3515, allocations: 0 / 1.301 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004089/0.3519, allocations: 416.6 kB / 1.302 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.3519, allocations: 0 / 1.302 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.587e-06/0.3519, allocations: 3.984 kB / 1.302 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3519, allocations: 4 kB / 1.302 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-06/0.3519, allocations: 0 / 1.302 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.3519, allocations: 3.938 kB / 1.302 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3519, allocations: 0 / 1.302 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004598/0.3524, allocations: 384.6 kB / 1.302 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006287/0.353, allocations: 259.5 kB / 1.302 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.3531, allocations: 0 / 1.302 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.3533, allocations: 32 kB / 1.302 GB, free: 8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.331e-05/0.3533, allocations: 4.031 kB / 1.302 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.3533, allocations: 0 / 1.302 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007189/0.354, allocations: 0.5339 MB / 1.303 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.354, allocations: 0 / 1.303 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001449/0.3555, allocations: 0.5764 MB / 1.303 GB, free: 6.887 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.002981/0.3585, allocations: 1.769 MB / 1.305 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002868/0.3588, allocations: 283.9 kB / 1.305 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3588, allocations: 0 / 1.305 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.3589, allocations: 165.6 kB / 1.306 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.3592, allocations: 40.59 kB / 1.306 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008875/0.3681, allocations: 7.192 MB / 1.313 GB, free: 13.43 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/0.3683, allocations: 214.4 kB / 1.313 GB, free: 13.21 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001053/0.3693, allocations: 451.3 kB / 1.313 GB, free: 12.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006525/0.37, allocations: 371.2 kB / 1.314 GB, free: 12.44 MB / 1.014 GB Notification: Performance of SimCode: time 8.41e-07/0.37, allocations: 0 / 1.314 GB, free: 12.44 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06267/0.4327, allocations: 27.01 MB / 1.34 GB, free: 1.488 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.97, allocations: 15.91 kB / 1.34 GB, free: 1.477 MB / 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: 21.970233105588704] Failed to read output from testmodel.py, exit status != 0: 12.641563032753766 12.168546905 11.820674201 Calling exit ...