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.001622/0.001622, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001977/0.001977, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.406/1.406, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.639/2.639, allocations: 476.8 MB / 0.7715 GB, free: 3.891 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.001902/0.001902, allocations: 66.5 kB / 1.118 GB, free: 39.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3111, allocations: 170 MB / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002384/0.3135, allocations: 1.281 MB / 1.285 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007101/0.3206, allocations: 4.129 MB / 1.289 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.819e-05/0.3206, allocations: 0 / 1.289 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.476e-05/0.3207, allocations: 0 / 1.289 GB, free: 5.148 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.004582/0.3253, allocations: 1.615 MB / 1.291 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001011/0.3254, allocations: 39.84 kB / 1.291 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.383e-05/0.3254, allocations: 15.92 kB / 1.291 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.891e-05/0.3255, allocations: 3.984 kB / 1.291 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.146e-05/0.3255, allocations: 4 kB / 1.291 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.601e-05/0.3256, allocations: 25.28 kB / 1.291 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.3256, allocations: 0 / 1.291 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004346/0.3299, allocations: 2.574 MB / 1.294 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002343/0.3302, allocations: 246.1 kB / 1.294 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000346/0.3305, allocations: 215.2 kB / 1.294 GB, free: 428 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003722/0.3342, allocations: 2.217 MB / 1.296 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.3342, allocations: 4 kB / 1.296 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.887e-06/0.3342, allocations: 4 kB / 1.296 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.255e-06/0.3342, allocations: 0 / 1.296 GB, free: 14.19 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.002482/0.3367, allocations: 1.452 MB / 1.298 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.3368, allocations: 12.03 kB / 1.298 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.416e-05/0.3368, allocations: 192 / 1.298 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.114e-05/0.3368, allocations: 30.75 kB / 1.298 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001996/0.337, allocations: 48.61 kB / 1.298 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000852/0.3379, allocations: 0.5843 MB / 1.298 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.3379, allocations: 4.125 kB / 1.298 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.3379, allocations: 4 kB / 1.298 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.3381, allocations: 173.6 kB / 1.298 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.3381, allocations: 0 / 1.298 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-06/0.3381, allocations: 0 / 1.298 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.3381, allocations: 0 / 1.298 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002309/0.3383, allocations: 279.9 kB / 1.299 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006475/0.339, allocations: 0.5044 MB / 1.299 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.3392, allocations: 166.4 kB / 1.299 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.3393, allocations: 144.9 kB / 1.3 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.3393, allocations: 0 / 1.3 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.3393, allocations: 42.5 kB / 1.3 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.3393, allocations: 0 / 1.3 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0006394/0.34, allocations: 0.4894 MB / 1.3 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.34, allocations: 51.41 kB / 1.3 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009788/0.341, allocations: 0.6903 MB / 1.301 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.341, allocations: 25.7 kB / 1.301 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.3412, allocations: 232.1 kB / 1.301 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.3412, allocations: 0 / 1.301 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.28e-05/0.3412, allocations: 13.72 kB / 1.301 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001931/0.3414, allocations: 366.8 kB / 1.301 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.3416, allocations: 140.1 kB / 1.302 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.3417, allocations: 140 kB / 1.302 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002567/0.3419, allocations: 296.6 kB / 1.302 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.3419, allocations: 3.938 kB / 1.302 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000458/0.3424, allocations: 365.2 kB / 1.302 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3424, allocations: 7.938 kB / 1.302 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.3424, allocations: 0 / 1.302 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.3424, allocations: 0 / 1.302 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.089e-05/0.3425, allocations: 4 kB / 1.302 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.3425, allocations: 3.984 kB / 1.302 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.3427, allocations: 32.09 kB / 1.302 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.3427, allocations: 4 kB / 1.302 GB, free: 7.727 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.0001959/0.3429, allocations: 213.7 kB / 1.303 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/0.3431, allocations: 47.67 kB / 1.303 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003709/0.3435, allocations: 372.9 kB / 1.303 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.3435, allocations: 3.984 kB / 1.303 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3435, allocations: 0 / 1.303 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.3435, allocations: 0 / 1.303 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004369/0.3439, allocations: 412.5 kB / 1.303 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.3439, allocations: 0 / 1.303 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.32e-07/0.3439, allocations: 4.031 kB / 1.303 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3439, allocations: 4 kB / 1.303 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.3439, allocations: 0 / 1.303 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.3439, allocations: 0 / 1.303 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3439, allocations: 0 / 1.303 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004696/0.3444, allocations: 392.6 kB / 1.304 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004235/0.3448, allocations: 255.5 kB / 1.304 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/0.345, allocations: 0 / 1.304 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.3452, allocations: 32 kB / 1.304 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.908e-05/0.3452, allocations: 7.984 kB / 1.304 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.3452, allocations: 4.031 kB / 1.304 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008088/0.346, allocations: 0.53 MB / 1.305 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.346, allocations: 0 / 1.305 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001598/0.3476, allocations: 0.5764 MB / 1.305 GB, free: 4.832 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.00356/0.3512, allocations: 1.759 MB / 1.307 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003336/0.3515, allocations: 287.8 kB / 1.307 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3515, allocations: 8 kB / 1.307 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.3517, allocations: 169.6 kB / 1.307 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/0.352, allocations: 30.31 kB / 1.307 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009728/0.3618, allocations: 7.184 MB / 1.314 GB, free: 11.39 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.362, allocations: 218.4 kB / 1.314 GB, free: 11.16 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001068/0.3631, allocations: 449 kB / 1.315 GB, free: 10.75 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006961/0.3638, allocations: 375.2 kB / 1.315 GB, free: 10.39 MB / 1.014 GB Notification: Performance of SimCode: time 9.92e-07/0.3638, allocations: 0 / 1.315 GB, free: 10.39 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06191/0.4257, allocations: 26.53 MB / 1.341 GB, free: 15.94 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/12.83, allocations: 7.531 kB / 1.341 GB, free: 15.94 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.917393434094265] Failed to read output from testmodel.py, exit status != 0: 13.540972020942718 13.080729815 12.741617507 Calling exit ...