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.0007249/0.0007249, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001004/0.001729, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007158/0.0007158, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009503/0.001666, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9073/0.9073, allocations: 177.2 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07481/0.9821, allocations: 53.65 MB / 243.2 MB, free: 15.61 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.00127/0.00127, allocations: 248.3 kB / 244.2 MB, free: 14.65 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001035/0.002306, allocations: 466.9 kB / 244.7 MB, free: 14.2 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.683/0.683, allocations: 138.7 MB / 384.1 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06017/0.7432, allocations: 42.41 MB / 426.5 MB, free: 5.961 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.403e-06/1.403e-06, allocations: 0 / 427.8 MB, free: 4.637 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.476e-05, allocations: 6.312 kB / 427.8 MB, free: 4.629 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002333/0.002358, allocations: 1.356 MB / 429.2 MB, free: 3.258 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1685/0.1709, allocations: 4.348 MB / 433.5 MB, free: 1.113 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.419e-05/0.1709, allocations: 0.9375 kB / 433.5 MB, free: 1.113 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.128e-05/0.1709, allocations: 1.906 kB / 433.5 MB, free: 1.113 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.002827/0.1738, allocations: 1.424 MB / 434.9 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.017e-05/0.1738, allocations: 30.81 kB / 435 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.205e-05/0.1739, allocations: 11.67 kB / 435 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.572e-05/0.1739, allocations: 6.656 kB / 435 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.44e-05/0.1739, allocations: 8.75 kB / 435 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.61e-05/0.174, allocations: 29.06 kB / 435 MB, free: 1.078 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.177e-06/0.174, allocations: 0 / 435 MB, free: 1.078 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.003016/0.177, allocations: 2.57 MB / 437.6 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.586e-05/0.1771, allocations: 154.3 kB / 437.7 MB, free: 1.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.694e-05/0.1771, allocations: 2.438 kB / 437.7 MB, free: 1.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001992/0.1791, allocations: 1.679 MB / 439.4 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.315e-05/0.1791, allocations: 0.75 kB / 439.4 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1791, allocations: 0 / 439.4 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.53e-05/0.1792, allocations: 0 / 439.4 MB, free: 0.9023 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.001016/0.1802, allocations: 0.6925 MB / 440.1 MB, free: 16.48 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.788e-05/0.1802, allocations: 13.75 kB / 440.1 MB, free: 16.47 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.347e-05/0.1802, allocations: 2.25 kB / 440.1 MB, free: 16.47 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.409e-05/0.1803, allocations: 112 kB / 440.2 MB, free: 16.35 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.1803, allocations: 1.625 kB / 440.2 MB, free: 16.35 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.52e-06/0.1803, allocations: 2.375 kB / 440.2 MB, free: 16.35 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.62e-05/0.1804, allocations: 92.19 kB / 440.3 MB, free: 16.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.1804, allocations: 1.156 kB / 440.3 MB, free: 16.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-06/0.1804, allocations: 5.219 kB / 440.3 MB, free: 16.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1804, allocations: 0 / 440.3 MB, free: 16.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.834e-05/0.1805, allocations: 119 kB / 440.5 MB, free: 16.29 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001387/0.1806, allocations: 181.1 kB / 440.6 MB, free: 16.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.36e-05/0.1807, allocations: 77.89 kB / 440.7 MB, free: 16.17 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.047e-05/0.1807, allocations: 65.8 kB / 440.8 MB, free: 16.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.641e-06/0.1807, allocations: 6.094 kB / 440.8 MB, free: 16.16 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.1808, allocations: 35 kB / 440.8 MB, free: 16.12 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 6.41e-07/0.1808, allocations: 0 / 440.8 MB, free: 16.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001722/0.1809, allocations: 214.3 kB / 441 MB, free: 16.06 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.181, allocations: 52.88 kB / 441.1 MB, free: 16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.874e-05/0.181, allocations: 102.9 kB / 441.2 MB, free: 15.89 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.632e-06/0.181, allocations: 29.69 kB / 441.2 MB, free: 15.85 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.739e-05/0.181, allocations: 83.03 kB / 441.3 MB, free: 15.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.181, allocations: 4.703 kB / 441.3 MB, free: 15.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.964e-05/0.1811, allocations: 12.25 kB / 441.3 MB, free: 15.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.623e-05/0.1811, allocations: 312.2 kB / 441.6 MB, free: 15.44 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.695e-05/0.1812, allocations: 61.31 kB / 441.7 MB, free: 15.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.562e-05/0.1812, allocations: 62.12 kB / 441.7 MB, free: 15.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.747e-05/0.1813, allocations: 129.4 kB / 441.9 MB, free: 15.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1813, allocations: 0.625 kB / 441.9 MB, free: 15.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.454e-05/0.1814, allocations: 161.4 kB / 442 MB, free: 15.35 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.1814, allocations: 4.5 kB / 442 MB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1814, allocations: 1.594 kB / 442 MB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.485e-06/0.1814, allocations: 0.625 kB / 442 MB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.019e-05/0.1815, allocations: 2.062 kB / 442 MB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.474e-06/0.1815, allocations: 4.562 kB / 442 MB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.862e-05/0.1815, allocations: 1.375 kB / 442 MB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.1815, allocations: 2.281 kB / 442 MB, free: 15.35 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.089e-05/0.1815, allocations: 114.6 kB / 442.1 MB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.539e-06/0.1815, allocations: 5.141 kB / 442.1 MB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001284/0.1817, allocations: 155.2 kB / 442.3 MB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.1817, allocations: 0.625 kB / 442.3 MB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.1817, allocations: 6.281 kB / 442.3 MB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.1817, allocations: 3.938 kB / 442.3 MB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.1818, allocations: 183.8 kB / 442.5 MB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.1818, allocations: 0.6875 kB / 442.5 MB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.62e-07/0.1818, allocations: 0.625 kB / 442.5 MB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.176e-06/0.1818, allocations: 1.5 kB / 442.5 MB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.1818, allocations: 1.312 kB / 442.5 MB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-06/0.1818, allocations: 1.156 kB / 442.5 MB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1818, allocations: 2.625 kB / 442.5 MB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1818, allocations: 0.6562 kB / 442.5 MB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.481e-05/0.1819, allocations: 190.1 kB / 442.7 MB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.1819, allocations: 3.312 kB / 442.7 MB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.476e-05/0.182, allocations: 0 / 442.7 MB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.476e-06/0.182, allocations: 0 / 442.7 MB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.182, allocations: 1.062 kB / 442.7 MB, free: 14.99 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.263e-06/0.182, allocations: 6.797 kB / 442.7 MB, free: 14.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.182, allocations: 1.031 kB / 442.7 MB, free: 14.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000966/0.183, allocations: 0.5715 MB / 443.3 MB, free: 14.85 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.001758/0.1847, allocations: 1.163 MB / 444.4 MB, free: 14.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001265/0.1848, allocations: 131 kB / 444.6 MB, free: 14.47 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1848, allocations: 0 / 444.6 MB, free: 14.47 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.864e-05/0.1849, allocations: 94.16 kB / 444.6 MB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.185, allocations: 83.8 kB / 444.7 MB, free: 14.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008051/0.1858, allocations: 0.7651 MB / 445.5 MB, free: 13.97 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.35e-05/0.1859, allocations: 118.9 kB / 445.6 MB, free: 13.87 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.714e-05/0.1859, allocations: 3.281 kB / 445.6 MB, free: 13.87 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.578e-05/0.186, allocations: 53.25 kB / 445.7 MB, free: 13.83 MB / 426.7 MB Notification: Performance of SimCode: time 6.71e-07/0.186, allocations: 0 / 445.7 MB, free: 13.83 MB / 426.7 MB Notification: Performance of Templates: time 0.01417/0.2001, allocations: 13.71 MB / 459.4 MB, free: 1.008 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.8080014856532216]