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.0009479/0.0009479, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001258/0.002206, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0009829/0.0009829, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001245/0.002228, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9123/0.9123, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07871/0.991, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001571/0.001571, allocations: 230.5 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004442/0.006013, allocations: 475.7 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.68/0.68, allocations: 138.7 MB / 384.3 MB, free: 360 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07129/0.7513, allocations: 42.4 MB / 426.7 MB, free: 5.84 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.212e-06/1.212e-06, allocations: 0 / 428.1 MB, free: 4.473 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.859e-06/1.107e-05, allocations: 2.312 kB / 428.1 MB, free: 4.469 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001834/0.001845, allocations: 1.352 MB / 429.4 MB, free: 3.102 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.182/0.1838, allocations: 4.359 MB / 433.8 MB, free: 1.148 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.984e-05/0.1838, allocations: 0 / 433.8 MB, free: 1.148 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.265e-05/0.1839, allocations: 0.6562 kB / 433.8 MB, free: 1.148 MB / 410.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'. Notification: Performance of NFTyping.typeBindings: time 0.003387/0.1873, allocations: 1.423 MB / 435.2 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.2e-05/0.1873, allocations: 35.22 kB / 435.3 MB, free: 1.113 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.203e-05/0.1874, allocations: 14.41 kB / 435.3 MB, free: 1.113 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.47e-05/0.1875, allocations: 5.031 kB / 435.3 MB, free: 1.113 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.126e-05/0.1875, allocations: 12.23 kB / 435.3 MB, free: 1.109 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.954e-05/0.1876, allocations: 24.67 kB / 435.3 MB, free: 1.109 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.558e-06/0.1876, allocations: 0 / 435.3 MB, free: 1.109 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: 'inertia' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. Notification: Performance of NFFlatten.collectFunctions: time 0.003488/0.1911, allocations: 2.57 MB / 437.9 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.1912, allocations: 149.6 kB / 438 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.775e-05/0.1912, allocations: 2.312 kB / 438 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002064/0.1933, allocations: 1.681 MB / 439.7 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.001e-05/0.1933, allocations: 1.391 kB / 439.7 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1933, allocations: 0.6562 kB / 439.7 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.1933, allocations: 0 / 439.7 MB, free: 0.8789 MB / 410.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.001006/0.1943, allocations: 0.6925 MB / 440.4 MB, free: 16.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.1943, allocations: 9.844 kB / 440.4 MB, free: 16.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.426e-05/0.1944, allocations: 2.25 kB / 440.4 MB, free: 16.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.886e-05/0.1944, allocations: 112.7 kB / 440.5 MB, free: 16.28 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.1944, allocations: 1.531 kB / 440.5 MB, free: 16.28 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-06/0.1945, allocations: 2.469 kB / 440.5 MB, free: 16.28 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.1946, allocations: 97.17 kB / 440.6 MB, free: 16.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.36e-06/0.1946, allocations: 1.562 kB / 440.6 MB, free: 16.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.41e-06/0.1946, allocations: 3.938 kB / 440.6 MB, free: 16.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1946, allocations: 0 / 440.6 MB, free: 16.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.124e-05/0.1947, allocations: 124.9 kB / 440.8 MB, free: 16.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001527/0.1948, allocations: 177.9 kB / 440.9 MB, free: 16.13 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.791e-05/0.1949, allocations: 77.83 kB / 441 MB, free: 16.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.122e-05/0.1949, allocations: 66.61 kB / 441.1 MB, free: 16.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.07e-06/0.1949, allocations: 0.75 kB / 441.1 MB, free: 16.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.1949, allocations: 35.56 kB / 441.1 MB, free: 16.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.1949, allocations: 1.312 kB / 441.1 MB, free: 16.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001811/0.1951, allocations: 211.9 kB / 441.3 MB, free: 15.99 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.1951, allocations: 52.59 kB / 441.4 MB, free: 15.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.375e-05/0.1952, allocations: 102.4 kB / 441.5 MB, free: 15.82 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.683e-06/0.1952, allocations: 25.7 kB / 441.5 MB, free: 15.79 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.744e-05/0.1952, allocations: 86.84 kB / 441.6 MB, free: 15.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.1952, allocations: 3.984 kB / 441.6 MB, free: 15.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.667e-05/0.1952, allocations: 11.94 kB / 441.6 MB, free: 15.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.791e-05/0.1953, allocations: 316 kB / 441.9 MB, free: 15.37 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.916e-05/0.1953, allocations: 61.81 kB / 442 MB, free: 15.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.707e-05/0.1954, allocations: 66.81 kB / 442 MB, free: 15.35 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.801e-05/0.1955, allocations: 128.4 kB / 442.1 MB, free: 15.33 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1955, allocations: 6 kB / 442.2 MB, free: 15.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.637e-05/0.1956, allocations: 152 kB / 442.3 MB, free: 15.28 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.1956, allocations: 4.5 kB / 442.3 MB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1956, allocations: 1.969 kB / 442.3 MB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.1956, allocations: 0 / 442.3 MB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.559e-05/0.1956, allocations: 6.984 kB / 442.3 MB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.1956, allocations: 5.156 kB / 442.3 MB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.1957, allocations: 0.6875 kB / 442.3 MB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.1957, allocations: 2 kB / 442.3 MB, free: 15.27 MB / 426.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 4.365e-05/0.1957, allocations: 114.6 kB / 442.4 MB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.478e-06/0.1957, allocations: 1.062 kB / 442.4 MB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/0.1959, allocations: 162.4 kB / 442.6 MB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1959, allocations: 1.125 kB / 442.6 MB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.1959, allocations: 0 / 442.6 MB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1959, allocations: 8.984 kB / 442.6 MB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.196, allocations: 178.5 kB / 442.8 MB, free: 15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.196, allocations: 4.547 kB / 442.8 MB, free: 15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.11e-07/0.196, allocations: 0.5625 kB / 442.8 MB, free: 15 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-06/0.196, allocations: 3.094 kB / 442.8 MB, free: 15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.196, allocations: 0.5625 kB / 442.8 MB, free: 15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-06/0.196, allocations: 0.5625 kB / 442.8 MB, free: 15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.196, allocations: 0 / 442.8 MB, free: 15 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.196, allocations: 0.5625 kB / 442.8 MB, free: 15 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.879e-05/0.1961, allocations: 183.8 kB / 443 MB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.387e-05/0.1961, allocations: 1.344 kB / 443 MB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.154e-05/0.1962, allocations: 0 / 443 MB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.456e-06/0.1962, allocations: 1.5 kB / 443 MB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.1962, allocations: 5.922 kB / 443 MB, free: 14.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.347e-06/0.1962, allocations: 6.734 kB / 443 MB, free: 14.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1962, allocations: 2.688 kB / 443 MB, free: 14.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008799/0.1971, allocations: 0.5783 MB / 443.6 MB, free: 14.75 MB / 426.7 MB 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.001932/0.199, allocations: 1.154 MB / 444.7 MB, free: 14.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001117/0.1991, allocations: 134.9 kB / 444.8 MB, free: 14.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.1991, allocations: 2 kB / 444.8 MB, free: 14.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002226/0.1994, allocations: 393 kB / 445.2 MB, free: 14.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.1995, allocations: 88 kB / 445.3 MB, free: 14.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008927/0.2004, allocations: 0.7738 MB / 446.1 MB, free: 13.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.245e-05/0.2004, allocations: 118.6 kB / 446.2 MB, free: 13.73 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.471e-05/0.2005, allocations: 6.219 kB / 446.2 MB, free: 13.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.489e-05/0.2005, allocations: 53.22 kB / 446.3 MB, free: 13.69 MB / 426.7 MB Notification: Performance of SimCode: time 7.21e-07/0.2005, allocations: 0.75 kB / 446.3 MB, free: 13.69 MB / 426.7 MB Notification: Performance of Templates: time 0.0144/0.2149, allocations: 13.68 MB / 459.9 MB, free: 0.5312 MB / 426.7 MB " [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: 3.874535286799073]