Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0008835/0.0008835, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0009146/0.0009146, allocations: 165 kB / 23.02 MB, free: 1.547 MB / 18.57 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 0.8841/0.8841, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001604/0.001604, allocations: 233.6 kB / 260.2 MB, free: 12.82 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7082/0.7082, allocations: 138.4 MB / 455.2 MB, free: 1.539 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 3.938 kB / 0.5552 GB, free: 472 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.766e-05/2.925e-05, allocations: 2.312 kB / 0.5552 GB, free: 468 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001724/0.001754, allocations: 1.301 MB / 0.5564 GB, free: 15.14 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005128/0.006882, allocations: 4.348 MB / 0.5607 GB, free: 10.77 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.618e-05/0.006908, allocations: 0 / 0.5607 GB, free: 10.77 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.89e-05/0.006967, allocations: 0 / 0.5607 GB, free: 10.77 MB / 490.7 MB [/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/BuildingSystems master/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.00362/0.01059, allocations: 1.608 MB / 0.5623 GB, free: 9.16 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.927e-05/0.01067, allocations: 31.91 kB / 0.5623 GB, free: 9.129 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.619e-05/0.01073, allocations: 19.92 kB / 0.5623 GB, free: 9.109 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.887e-05/0.01077, allocations: 4 kB / 0.5623 GB, free: 9.105 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.241e-05/0.0108, allocations: 7.984 kB / 0.5623 GB, free: 9.098 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.025e-05/0.01085, allocations: 17.28 kB / 0.5623 GB, free: 9.082 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.01087, allocations: 4 kB / 0.5623 GB, free: 9.078 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003689/0.01455, allocations: 2.436 MB / 0.5647 GB, free: 6.637 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.01467, allocations: 149.2 kB / 0.5649 GB, free: 6.492 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.894e-05/0.01469, allocations: 11.92 kB / 0.5649 GB, free: 6.48 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003261/0.01796, allocations: 2.093 MB / 0.5669 GB, free: 4.383 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.01796, allocations: 0 / 0.5669 GB, free: 4.383 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01796, allocations: 0 / 0.5669 GB, free: 4.383 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.01797, allocations: 0 / 0.5669 GB, free: 4.383 MB / 490.7 MB 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.0009448/0.01891, allocations: 0.6693 MB / 0.5676 GB, free: 3.676 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.01896, allocations: 8.75 kB / 0.5676 GB, free: 3.668 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.019, allocations: 4.938 kB / 0.5676 GB, free: 3.664 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.472e-05/0.01908, allocations: 108.6 kB / 0.5677 GB, free: 3.531 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.01909, allocations: 4.375 kB / 0.5677 GB, free: 3.527 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.288e-06/0.0191, allocations: 4.375 kB / 0.5677 GB, free: 3.523 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.01925, allocations: 150.1 kB / 0.5678 GB, free: 3.371 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.01926, allocations: 7.938 kB / 0.5678 GB, free: 3.363 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-06/0.01927, allocations: 0 / 0.5678 GB, free: 3.363 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.01927, allocations: 0 / 0.5678 GB, free: 3.363 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.01941, allocations: 243.9 kB / 0.5681 GB, free: 3.125 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/0.0196, allocations: 228.6 kB / 0.5683 GB, free: 2.867 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.691e-05/0.01969, allocations: 139 kB / 0.5684 GB, free: 2.719 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.902e-05/0.01977, allocations: 139.7 kB / 0.5686 GB, free: 2.578 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.972e-06/0.01978, allocations: 0 / 0.5686 GB, free: 2.578 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.0198, allocations: 37.33 kB / 0.5686 GB, free: 2.531 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.0198, allocations: 4 kB / 0.5686 GB, free: 2.527 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002986/0.0201, allocations: 397.5 kB / 0.569 GB, free: 2.133 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.02013, allocations: 51.41 kB / 0.569 GB, free: 2.07 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.01e-05/0.0202, allocations: 149.9 kB / 0.5692 GB, free: 1.906 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.02021, allocations: 25.7 kB / 0.5692 GB, free: 1.875 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.117e-05/0.02024, allocations: 130.9 kB / 0.5693 GB, free: 1.742 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.02026, allocations: 8.234 kB / 0.5693 GB, free: 1.734 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.421e-05/0.02029, allocations: 19.38 kB / 0.5694 GB, free: 1.707 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.0204, allocations: 0.4922 MB / 0.5698 GB, free: 1.203 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.713e-05/0.02046, allocations: 116 kB / 0.5699 GB, free: 1.09 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.792e-05/0.02053, allocations: 127.9 kB / 0.5701 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.02068, allocations: 247.6 kB / 0.5703 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.02068, allocations: 0 / 0.5703 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001816/0.02086, allocations: 277.6 kB / 0.5706 GB, free: 452 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.02087, allocations: 4 kB / 0.5706 GB, free: 448 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.02088, allocations: 0 / 0.5706 GB, free: 448 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.02089, allocations: 12.03 kB / 0.5706 GB, free: 436 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.243e-05/0.02095, allocations: 3.984 kB / 0.5706 GB, free: 432 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.02096, allocations: 4 kB / 0.5706 GB, free: 428 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.15e-05/0.021, allocations: 0 / 0.5706 GB, free: 428 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.02101, allocations: 3.984 kB / 0.5706 GB, free: 424 kB / 490.7 MB 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.0003151/0.02132, allocations: 160.5 kB / 0.5707 GB, free: 252 kB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.337e-06/0.02133, allocations: 3.953 kB / 0.5707 GB, free: 248 kB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002223/0.02156, allocations: 284.5 kB / 0.571 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.02156, allocations: 3.938 kB / 0.571 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.02156, allocations: 0 / 0.571 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.02157, allocations: 8.031 kB / 0.571 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.0217, allocations: 224.6 kB / 0.5712 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.02171, allocations: 4 kB / 0.5713 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-07/0.02171, allocations: 0 / 0.5713 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.02171, allocations: 0 / 0.5713 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.02172, allocations: 0 / 0.5713 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.02172, allocations: 0 / 0.5713 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.02172, allocations: 3.938 kB / 0.5713 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.0219, allocations: 312.3 kB / 0.5716 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.039e-06/0.02191, allocations: 4 kB / 0.5716 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.02194, allocations: 8.016 kB / 0.5716 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.906e-05/0.02198, allocations: 0 / 0.5716 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.371e-05/0.02199, allocations: 3.938 kB / 0.5716 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.02199, allocations: 4 kB / 0.5716 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.027e-05/0.02203, allocations: 119.2 kB / 0.5717 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.02203, allocations: 0 / 0.5717 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001048/0.02307, allocations: 0.5803 MB / 0.5723 GB, free: 14.64 MB / 0.4948 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.001829/0.0249, allocations: 1.03 MB / 0.5733 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001994/0.0251, allocations: 255.6 kB / 0.5735 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.0251, allocations: 0 / 0.5735 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.11e-05/0.0252, allocations: 161.3 kB / 0.5737 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001615/0.02536, allocations: 43.95 kB / 0.5737 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007556/0.02611, allocations: 0.829 MB / 0.5745 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.515e-05/0.02618, allocations: 119.2 kB / 0.5746 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.581e-05/0.02619, allocations: 3.938 kB / 0.5746 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.601e-05/0.02622, allocations: 12.5 kB / 0.5746 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of SimCode: time 7.11e-07/0.02622, allocations: 0 / 0.5746 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of Templates: time 0.01534/0.04156, allocations: 12.57 MB / 0.5869 GB, free: 15.66 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.129534973762929]