Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 109 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001846/0.001846, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 225.6 MB / 247.8 MB, free: 13.91 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.433/2.433, allocations: 443.5 MB / 0.7287 GB, free: 13.24 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="Buildings_10_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_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 71.83 kB / 1.056 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7663/0.7684, allocations: 160.7 MB / 1.213 GB, free: 3.91 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002916/0.7713, allocations: 1.264 MB / 1.214 GB, free: 2.922 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.007384/0.7787, allocations: 4.523 MB / 1.219 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.795e-05/0.7787, allocations: 0 / 1.219 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.041e-05/0.7787, allocations: 0 / 1.219 GB, free: 15.41 MB / 0.9356 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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 10.1.1-maint.10.0.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.00429/0.783, allocations: 1.514 MB / 1.22 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001051/0.7831, allocations: 39.45 kB / 1.22 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.836e-05/0.7832, allocations: 7.312 kB / 1.22 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.813e-05/0.7832, allocations: 9.078 kB / 1.22 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.126e-05/0.7833, allocations: 5.031 kB / 1.22 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.06e-05/0.7833, allocations: 24.45 kB / 1.22 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.7833, allocations: 0 / 1.22 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004497/0.7878, allocations: 2.383 MB / 1.222 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002818/0.7881, allocations: 246.9 kB / 1.223 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003962/0.7885, allocations: 242.3 kB / 1.223 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00373/0.7922, allocations: 2.205 MB / 1.225 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.7922, allocations: 0 / 1.225 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.755e-06/0.7922, allocations: 1.438 kB / 1.225 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.7923, allocations: 0 / 1.225 GB, free: 11.68 MB / 0.9356 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.003042/0.7953, allocations: 1.539 MB / 1.227 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.7953, allocations: 16.56 kB / 1.227 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.79e-05/0.7954, allocations: 30.75 kB / 1.227 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002084/0.7956, allocations: 44.66 kB / 1.227 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.7967, allocations: 0.6408 MB / 1.227 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.325e-06/0.7967, allocations: 4.375 kB / 1.227 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.7967, allocations: 3.938 kB / 1.227 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.7969, allocations: 169.6 kB / 1.228 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.7969, allocations: 0 / 1.228 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.553e-06/0.797, allocations: 0 / 1.228 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.797, allocations: 0 / 1.228 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002282/0.7972, allocations: 279.9 kB / 1.228 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006477/0.7978, allocations: 0.5365 MB / 1.228 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.798, allocations: 166.4 kB / 1.228 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.7981, allocations: 144.9 kB / 1.229 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.762e-06/0.7981, allocations: 4 kB / 1.229 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.7981, allocations: 34.55 kB / 1.229 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.7981, allocations: 0 / 1.229 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0006096/0.7988, allocations: 493.2 kB / 1.229 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.7988, allocations: 51.41 kB / 1.229 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000943/0.7997, allocations: 0.7021 MB / 1.23 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.7998, allocations: 29.64 kB / 1.23 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.7999, allocations: 224.1 kB / 1.23 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.8, allocations: 3.953 kB / 1.23 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.8, allocations: 17.7 kB / 1.23 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.8002, allocations: 362.8 kB / 1.23 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.8003, allocations: 139.9 kB / 1.231 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.8004, allocations: 139.9 kB / 1.231 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.8006, allocations: 292.8 kB / 1.231 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.8006, allocations: 0 / 1.231 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004358/0.8011, allocations: 369.1 kB / 1.231 GB, free: 5.16 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.8011, allocations: 4 kB / 1.231 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.8011, allocations: 0 / 1.231 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.8011, allocations: 0 / 1.231 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.229e-05/0.8012, allocations: 4 kB / 1.231 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.8012, allocations: 4 kB / 1.231 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.8014, allocations: 28.03 kB / 1.231 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.8014, allocations: 4 kB / 1.231 GB, free: 5.117 MB / 0.9356 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.0001865/0.8016, allocations: 213.7 kB / 1.232 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/0.8017, allocations: 39.72 kB / 1.232 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003694/0.8021, allocations: 377 kB / 1.232 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.8021, allocations: 0 / 1.232 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.8021, allocations: 0 / 1.232 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.8021, allocations: 3.938 kB / 1.232 GB, free: 4.477 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000446/0.8026, allocations: 445.4 kB / 1.232 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.8026, allocations: 4.031 kB / 1.232 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.8026, allocations: 0 / 1.232 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.8026, allocations: 3.984 kB / 1.232 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.8026, allocations: 4 kB / 1.232 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.8026, allocations: 0 / 1.232 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.8026, allocations: 0 / 1.232 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004484/0.803, allocations: 388.6 kB / 1.233 GB, free: 3.582 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006993/0.8037, allocations: 340.5 kB / 1.233 GB, free: 3.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.8039, allocations: 8.031 kB / 1.233 GB, free: 3.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.8041, allocations: 28 kB / 1.233 GB, free: 3.195 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.462e-05/0.8041, allocations: 0 / 1.233 GB, free: 3.195 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.8041, allocations: 4 kB / 1.233 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000723/0.8048, allocations: 0.5338 MB / 1.234 GB, free: 2.66 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.8048, allocations: 0 / 1.234 GB, free: 2.66 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001748/0.8065, allocations: 0.5764 MB / 1.234 GB, free: 2.082 MB / 0.9356 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.00324/0.8098, allocations: 1.742 MB / 1.236 GB, free: 424 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002956/0.8101, allocations: 283.9 kB / 1.236 GB, free: 140 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8101, allocations: 4.062 kB / 1.236 GB, free: 136 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.8102, allocations: 173.6 kB / 1.236 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.8106, allocations: 30.31 kB / 1.236 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009246/0.8199, allocations: 7.203 MB / 1.243 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/0.8203, allocations: 0.8158 MB / 1.244 GB, free: 7.797 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001029/0.8213, allocations: 454.6 kB / 1.245 GB, free: 7.379 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006646/0.822, allocations: 375.2 kB / 1.245 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of SimCode: time 1.142e-06/0.822, allocations: 0 / 1.245 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05958/0.8816, allocations: 25.94 MB / 1.27 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.118/9.999, allocations: 15.92 kB / 1.27 GB, free: 13.21 MB / 0.9825 GB " [Timeout remaining time 290] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat --tempDir=temp_Buildings_10_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_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.539126166142523] Failed to read output from testmodel.py, exit status != 0: 10.131449891719967 10.150210041 9.354594864 Calling exit ...