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.0009853/0.0009853, allocations: 92.22 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.00112/0.00112, allocations: 173 kB / 23.03 MB, free: 1.543 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.9108/0.9108, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.001648/0.001648, allocations: 225.9 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.6793/0.6793, allocations: 138.4 MB / 455.2 MB, free: 1.516 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.633e-06/1.633e-06, allocations: 0 / 0.5552 GB, free: 480 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.537e-05, allocations: 6.25 kB / 0.5552 GB, free: 472 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001613/0.001638, allocations: 1.305 MB / 0.5564 GB, free: 15.14 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00465/0.006288, allocations: 4.354 MB / 0.5607 GB, free: 10.77 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.12e-05/0.006309, allocations: 0 / 0.5607 GB, free: 10.77 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.905e-05/0.006358, 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.002971/0.009329, allocations: 1.608 MB / 0.5623 GB, free: 9.156 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.266e-05/0.009392, allocations: 39.83 kB / 0.5623 GB, free: 9.117 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.103e-05/0.009443, allocations: 11.94 kB / 0.5623 GB, free: 9.105 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.241e-05/0.009475, allocations: 0 / 0.5623 GB, free: 9.105 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.191e-05/0.009507, allocations: 11.98 kB / 0.5623 GB, free: 9.094 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.722e-05/0.009554, allocations: 29.27 kB / 0.5624 GB, free: 9.066 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.009566, allocations: 0 / 0.5624 GB, free: 9.066 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002582/0.01215, allocations: 2.477 MB / 0.5648 GB, free: 6.594 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.01225, allocations: 153.2 kB / 0.5649 GB, free: 6.445 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.072e-05/0.01227, allocations: 3.938 kB / 0.5649 GB, free: 6.441 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002569/0.01484, allocations: 2.1 MB / 0.567 GB, free: 4.34 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.01484, allocations: 0 / 0.567 GB, free: 4.34 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.01484, allocations: 0 / 0.567 GB, free: 4.34 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.01485, allocations: 0 / 0.567 GB, free: 4.34 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.0007531/0.0156, allocations: 0.6693 MB / 0.5676 GB, free: 3.633 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.01563, allocations: 8.75 kB / 0.5676 GB, free: 3.625 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.278e-05/0.01567, allocations: 0.9375 kB / 0.5676 GB, free: 3.625 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.555e-05/0.01574, allocations: 112.6 kB / 0.5677 GB, free: 3.488 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.01575, allocations: 4.375 kB / 0.5678 GB, free: 3.484 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-06/0.01576, allocations: 384 / 0.5678 GB, free: 3.484 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.0159, allocations: 162.1 kB / 0.5679 GB, free: 3.32 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.01591, allocations: 3.938 kB / 0.5679 GB, free: 3.316 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.01591, allocations: 0 / 0.5679 GB, free: 3.316 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.01592, allocations: 0 / 0.5679 GB, free: 3.316 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.01604, allocations: 239.9 kB / 0.5681 GB, free: 3.082 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.01621, allocations: 228.6 kB / 0.5684 GB, free: 2.824 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.93e-05/0.0163, allocations: 147 kB / 0.5685 GB, free: 2.668 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.043e-05/0.01637, allocations: 131.7 kB / 0.5686 GB, free: 2.535 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.522e-06/0.01637, allocations: 4 kB / 0.5686 GB, free: 2.531 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.01639, allocations: 41.33 kB / 0.5687 GB, free: 2.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.01639, allocations: 0 / 0.5687 GB, free: 2.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.000279/0.01667, allocations: 397.5 kB / 0.569 GB, free: 2.086 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/0.0167, allocations: 55.41 kB / 0.5691 GB, free: 2.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.855e-05/0.01676, allocations: 149.9 kB / 0.5692 GB, free: 1.855 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.01677, allocations: 25.7 kB / 0.5693 GB, free: 1.824 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.472e-05/0.01679, allocations: 126.9 kB / 0.5694 GB, free: 1.695 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.01681, allocations: 0 / 0.5694 GB, free: 1.695 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.272e-05/0.01683, allocations: 23.62 kB / 0.5694 GB, free: 1.664 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.387e-05/0.01693, allocations: 496.1 kB / 0.5699 GB, free: 1.168 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.51e-05/0.01699, allocations: 123.9 kB / 0.57 GB, free: 1.047 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.059e-05/0.01705, allocations: 123.9 kB / 0.5701 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.01718, allocations: 255.6 kB / 0.5704 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.01719, allocations: 0 / 0.5704 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001522/0.01734, allocations: 273.6 kB / 0.5706 GB, free: 408 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.01735, allocations: 7.938 kB / 0.5706 GB, free: 400 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.01735, allocations: 0 / 0.5706 GB, free: 400 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.01737, allocations: 4.031 kB / 0.5706 GB, free: 396 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.352e-05/0.01741, allocations: 8 kB / 0.5706 GB, free: 388 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.01741, allocations: 0 / 0.5706 GB, free: 388 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.143e-05/0.01745, allocations: 0 / 0.5706 GB, free: 388 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.01746, allocations: 3.984 kB / 0.5706 GB, free: 384 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 5.229e-05/0.01751, allocations: 160.5 kB / 0.5708 GB, free: 212 kB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.614e-06/0.01752, allocations: 7.953 kB / 0.5708 GB, free: 204 kB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001964/0.01772, allocations: 280.5 kB / 0.5711 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.01772, allocations: 3.938 kB / 0.5711 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.01773, allocations: 0 / 0.5711 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.01773, allocations: 32 / 0.5711 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.01786, allocations: 236.6 kB / 0.5713 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.01786, allocations: 0 / 0.5713 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-07/0.01786, allocations: 0 / 0.5713 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.01786, allocations: 0 / 0.5713 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.01787, allocations: 4 kB / 0.5713 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.01787, allocations: 0 / 0.5713 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.01787, allocations: 3.938 kB / 0.5713 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.01804, allocations: 308.3 kB / 0.5716 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-06/0.01804, allocations: 4 kB / 0.5716 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.755e-05/0.01808, allocations: 0 / 0.5716 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.801e-05/0.01812, allocations: 4.031 kB / 0.5716 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.404e-05/0.01813, allocations: 7.922 kB / 0.5716 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-06/0.01813, allocations: 0 / 0.5716 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.025e-05/0.01816, allocations: 127.2 kB / 0.5717 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01816, allocations: 0 / 0.5717 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008676/0.01903, allocations: 0.5725 MB / 0.5723 GB, free: 14.61 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.001919/0.02095, allocations: 1.032 MB / 0.5733 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001773/0.02113, allocations: 255.6 kB / 0.5736 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.02113, allocations: 4 kB / 0.5736 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.208e-05/0.02121, allocations: 153.3 kB / 0.5737 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001579/0.02137, allocations: 47.94 kB / 0.5737 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006641/0.02203, allocations: 0.829 MB / 0.5746 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.033e-05/0.02209, allocations: 115.2 kB / 0.5747 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.674e-05/0.02211, allocations: 8 kB / 0.5747 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.935e-05/0.02213, allocations: 12.5 kB / 0.5747 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of SimCode: time 9.21e-07/0.02213, allocations: 0 / 0.5747 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of Templates: time 0.01642/0.03855, allocations: 14.37 MB / 0.5887 GB, free: 13.83 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.193846608046442]