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.002535/0.002535, allocations: 85.48 kB / 19.44 MB, free: 348 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.00335/0.00335, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.552/1.552, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.003341/0.003341, allocations: 229.3 kB / 259.8 MB, free: 12.85 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 1.191/1.191, allocations: 138.4 MB / 454.7 MB, free: 1.496 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.403e-06/1.403e-06, allocations: 0 / 0.5544 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.385e-05/2.525e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.00266/0.002685, allocations: 1.267 MB / 0.5556 GB, free: 15.53 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.007996/0.01068, allocations: 4.334 MB / 0.5599 GB, free: 11.17 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.64e-05/0.01071, allocations: 0 / 0.5599 GB, free: 11.17 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 6.588e-05/0.01077, allocations: 3.938 kB / 0.5599 GB, free: 11.17 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.004682/0.01546, allocations: 1.601 MB / 0.5614 GB, free: 9.562 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001204/0.01558, allocations: 35.89 kB / 0.5615 GB, free: 9.527 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.76e-05/0.01563, allocations: 11.94 kB / 0.5615 GB, free: 9.516 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.173e-05/0.01566, allocations: 0 / 0.5615 GB, free: 9.516 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.412e-05/0.01571, allocations: 19.97 kB / 0.5615 GB, free: 9.496 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.602e-05/0.01577, allocations: 21.28 kB / 0.5615 GB, free: 9.477 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.01579, allocations: 0 / 0.5615 GB, free: 9.477 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004587/0.02038, allocations: 2.429 MB / 0.5639 GB, free: 7.043 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001881/0.02056, allocations: 149.2 kB / 0.564 GB, free: 6.895 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.977e-05/0.02059, allocations: 4 kB / 0.564 GB, free: 6.891 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00386/0.02445, allocations: 2.1 MB / 0.5661 GB, free: 4.785 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.02446, allocations: 4 kB / 0.5661 GB, free: 4.781 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.02446, allocations: 4 kB / 0.5661 GB, free: 4.777 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.02446, allocations: 0 / 0.5661 GB, free: 4.777 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.001095/0.02556, allocations: 0.665 MB / 0.5667 GB, free: 4.074 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.0256, allocations: 12.75 kB / 0.5667 GB, free: 4.062 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.02564, allocations: 0.9375 kB / 0.5667 GB, free: 4.062 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.02577, allocations: 112.6 kB / 0.5669 GB, free: 3.926 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.02578, allocations: 384 / 0.5669 GB, free: 3.926 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-06/0.02579, allocations: 384 / 0.5669 GB, free: 3.926 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.026, allocations: 154.2 kB / 0.567 GB, free: 3.77 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.026, allocations: 7.938 kB / 0.567 GB, free: 3.762 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.02601, allocations: 0 / 0.567 GB, free: 3.762 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.02602, allocations: 0 / 0.567 GB, free: 3.762 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002328/0.02625, allocations: 243.8 kB / 0.5672 GB, free: 3.523 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003103/0.02656, allocations: 228.6 kB / 0.5675 GB, free: 3.266 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.02673, allocations: 147 kB / 0.5676 GB, free: 3.109 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.02686, allocations: 127.7 kB / 0.5677 GB, free: 2.98 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.669e-06/0.02687, allocations: 0 / 0.5677 GB, free: 2.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.02691, allocations: 41.39 kB / 0.5678 GB, free: 2.93 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.02691, allocations: 0 / 0.5678 GB, free: 2.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0004799/0.02739, allocations: 401.4 kB / 0.5681 GB, free: 2.531 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.02743, allocations: 51.41 kB / 0.5682 GB, free: 2.469 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.02755, allocations: 157.9 kB / 0.5683 GB, free: 2.297 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.02757, allocations: 25.7 kB / 0.5684 GB, free: 2.266 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.626e-05/0.02764, allocations: 126.9 kB / 0.5685 GB, free: 2.137 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.02766, allocations: 0 / 0.5685 GB, free: 2.137 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/0.0277, allocations: 23.38 kB / 0.5685 GB, free: 2.105 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002451/0.02794, allocations: 492.1 kB / 0.569 GB, free: 1.613 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.02806, allocations: 123.9 kB / 0.5691 GB, free: 1.492 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.02818, allocations: 124.2 kB / 0.5692 GB, free: 1.371 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.02844, allocations: 255.5 kB / 0.5695 GB, free: 1.117 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.02844, allocations: 0 / 0.5695 GB, free: 1.117 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003881/0.02883, allocations: 281.5 kB / 0.5697 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.02885, allocations: 4 kB / 0.5697 GB, free: 0.832 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.02885, allocations: 3.938 kB / 0.5697 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.02886, allocations: 3.938 kB / 0.5697 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.589e-05/0.02892, allocations: 4 kB / 0.5697 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.02892, allocations: 0 / 0.5697 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.092e-05/0.029, allocations: 0 / 0.5697 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.029, allocations: 4.094 kB / 0.5698 GB, free: 0.8164 MB / 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.0001054/0.02911, allocations: 152.6 kB / 0.5699 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.02912, allocations: 4 kB / 0.5699 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003412/0.02946, allocations: 292.5 kB / 0.5702 GB, free: 372 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.02947, allocations: 3.938 kB / 0.5702 GB, free: 368 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.02947, allocations: 3.984 kB / 0.5702 GB, free: 364 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.02948, allocations: 0 / 0.5702 GB, free: 364 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.02973, allocations: 232.6 kB / 0.5704 GB, free: 96 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.02973, allocations: 0 / 0.5704 GB, free: 96 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.02973, allocations: 0 / 0.5704 GB, free: 96 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.02974, allocations: 4.031 kB / 0.5704 GB, free: 92 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.02974, allocations: 4 kB / 0.5704 GB, free: 88 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.02974, allocations: 0 / 0.5704 GB, free: 88 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.02974, allocations: 3.938 kB / 0.5704 GB, free: 84 kB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003281/0.03007, allocations: 304.3 kB / 0.5707 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.248e-06/0.03008, allocations: 8 kB / 0.5707 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.656e-05/0.03017, allocations: 3.938 kB / 0.5707 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.979e-05/0.03024, allocations: 0 / 0.5707 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.078e-05/0.03026, allocations: 3.938 kB / 0.5707 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.03026, allocations: 0 / 0.5707 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.03e-05/0.03033, allocations: 127.2 kB / 0.5708 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.03033, allocations: 0 / 0.5708 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001475/0.03181, allocations: 0.5803 MB / 0.5714 GB, free: 15.04 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.003194/0.035, allocations: 1.022 MB / 0.5724 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003224/0.03532, allocations: 247.6 kB / 0.5726 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.03533, allocations: 0 / 0.5726 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.03548, allocations: 161.4 kB / 0.5728 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.03572, allocations: 50.75 kB / 0.5728 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.03689, allocations: 0.8328 MB / 0.5737 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.03715, allocations: 193.1 kB / 0.5738 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.152e-05/0.03717, allocations: 4 kB / 0.5739 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.972e-05/0.0372, allocations: 16.5 kB / 0.5739 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of SimCode: time 6.52e-07/0.0372, allocations: 0 / 0.5739 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of Templates: time 0.02353/0.06073, allocations: 12.57 MB / 0.5861 GB, free: 8 kB / 0.4948 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: 6.6902580169262365]