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.001308/0.001308, 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.001543/0.001543, allocations: 215.9 kB / 22.25 MB, free: 4.852 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.468/1.468, allocations: 230.6 MB / 256 MB, free: 7.812 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.743/2.743, allocations: 476 MB / 0.7699 GB, free: 4.73 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.002094/0.002094, allocations: 67.77 kB / 1.117 GB, free: 40.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2998, allocations: 169.9 MB / 1.283 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002355/0.3022, allocations: 1.289 MB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00682/0.309, allocations: 4.141 MB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.284e-05/0.309, allocations: 0 / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.108e-05/0.3091, allocations: 0 / 1.288 GB, free: 6.75 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.00397/0.313, allocations: 1.587 MB / 1.289 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 9.115e-05/0.3131, allocations: 43.83 kB / 1.289 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.294e-05/0.3132, allocations: 8 kB / 1.29 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.279e-05/0.3132, allocations: 0 / 1.29 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.419e-05/0.3132, allocations: 7.984 kB / 1.29 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.595e-05/0.3133, allocations: 33.2 kB / 1.29 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.257e-06/0.3133, allocations: 0 / 1.29 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003765/0.3171, allocations: 2.418 MB / 1.292 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002177/0.3173, allocations: 242.1 kB / 1.292 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002757/0.3176, allocations: 223.1 kB / 1.292 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00312/0.3207, allocations: 2.208 MB / 1.295 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.3207, allocations: 8 kB / 1.295 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3207, allocations: 0 / 1.295 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.219e-05/0.3207, allocations: 0 / 1.295 GB, free: 15.97 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.00243/0.3231, allocations: 1.449 MB / 1.296 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.3232, allocations: 15.97 kB / 1.296 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.349e-05/0.3232, allocations: 30.75 kB / 1.296 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001926/0.3234, allocations: 52.59 kB / 1.296 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007715/0.3242, allocations: 0.5804 MB / 1.297 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.094e-06/0.3242, allocations: 384 / 1.297 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.3242, allocations: 3.938 kB / 1.297 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.3244, allocations: 173.6 kB / 1.297 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.3244, allocations: 0 / 1.297 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-06/0.3244, allocations: 0 / 1.297 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.3244, allocations: 0 / 1.297 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002282/0.3246, allocations: 287.8 kB / 1.297 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006049/0.3252, allocations: 0.5044 MB / 1.298 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.3254, allocations: 158.5 kB / 1.298 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.3255, allocations: 152.9 kB / 1.298 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.3255, allocations: 0 / 1.298 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.3256, allocations: 34.56 kB / 1.298 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.3256, allocations: 0 / 1.298 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0005985/0.3261, allocations: 0.4933 MB / 1.298 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.3262, allocations: 51.41 kB / 1.298 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000922/0.3271, allocations: 0.6981 MB / 1.299 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.3271, allocations: 25.7 kB / 1.299 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.3273, allocations: 228.1 kB / 1.299 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.3273, allocations: 0 / 1.299 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.3273, allocations: 9.719 kB / 1.299 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.3275, allocations: 366.8 kB / 1.3 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.3276, allocations: 140 kB / 1.3 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.3277, allocations: 140.1 kB / 1.3 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.328, allocations: 292.8 kB / 1.3 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.328, allocations: 7.922 kB / 1.3 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004368/0.3284, allocations: 365.1 kB / 1.301 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.3284, allocations: 4 kB / 1.301 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.3284, allocations: 0 / 1.301 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3284, allocations: 0 / 1.301 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.806e-05/0.3285, allocations: 7.984 kB / 1.301 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.3285, allocations: 0 / 1.301 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.3287, allocations: 28 kB / 1.301 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.3287, allocations: 7.969 kB / 1.301 GB, free: 9.516 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.0001832/0.3289, allocations: 205.7 kB / 1.301 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/0.3291, allocations: 47.67 kB / 1.301 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003959/0.3295, allocations: 380.9 kB / 1.301 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3295, allocations: 0 / 1.301 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3295, allocations: 0 / 1.301 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3295, allocations: 0 / 1.301 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004464/0.3299, allocations: 412.5 kB / 1.302 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.3299, allocations: 3.984 kB / 1.302 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.3299, allocations: 0 / 1.302 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/0.3299, allocations: 4.031 kB / 1.302 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.3299, allocations: 4 kB / 1.302 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3299, allocations: 0 / 1.302 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3299, allocations: 0 / 1.302 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004709/0.3304, allocations: 388.6 kB / 1.302 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004338/0.3309, allocations: 259.5 kB / 1.302 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.331, allocations: 0 / 1.302 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.3312, allocations: 32 kB / 1.302 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.465e-05/0.3312, allocations: 0 / 1.302 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.3312, allocations: 4 kB / 1.302 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000729/0.3319, allocations: 0.5416 MB / 1.303 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.3319, allocations: 0 / 1.303 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00149/0.3334, allocations: 0.5764 MB / 1.303 GB, free: 6.617 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.003338/0.3368, allocations: 1.751 MB / 1.305 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000312/0.3371, allocations: 287.9 kB / 1.305 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3371, allocations: 0 / 1.305 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.3372, allocations: 177.6 kB / 1.306 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.3376, allocations: 34.31 kB / 1.306 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009245/0.3468, allocations: 7.184 MB / 1.313 GB, free: 13.18 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.3471, allocations: 214.4 kB / 1.313 GB, free: 12.95 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001055/0.3481, allocations: 449.4 kB / 1.313 GB, free: 12.55 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006827/0.3488, allocations: 379.2 kB / 1.314 GB, free: 12.18 MB / 1.014 GB Notification: Performance of SimCode: time 1.162e-06/0.3488, allocations: 0 / 1.314 GB, free: 12.18 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06317/0.412, allocations: 27.01 MB / 1.34 GB, free: 1.234 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.1, allocations: 11.98 kB / 1.34 GB, free: 1.223 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 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.497816876042634] Failed to read output from testmodel.py, exit status != 0: 12.803726100828499 12.3006606 11.974811104 Calling exit ...