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.0009863/0.0009863, allocations: 73.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001607/0.001607, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.8811/0.8811, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.002352/0.002352, allocations: 244.3 kB / 261.3 MB, free: 12.66 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.7057/0.7057, allocations: 138.4 MB / 456.3 MB, free: 30.04 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 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.312e-06/1.312e-06, allocations: 0 / 0.5564 GB, free: 15.84 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.466e-05/1.597e-05, allocations: 5.969 kB / 0.5564 GB, free: 15.83 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002167/0.002183, allocations: 1.31 MB / 0.5577 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00431/0.006493, allocations: 4.266 MB / 0.5618 GB, free: 10.21 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.178e-05/0.006515, allocations: 4 kB / 0.5618 GB, free: 10.21 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.538e-05/0.00656, allocations: 3.984 kB / 0.5618 GB, free: 10.21 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.002556/0.009116, allocations: 1.608 MB / 0.5634 GB, free: 8.594 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.656e-05/0.009173, allocations: 35.89 kB / 0.5635 GB, free: 8.559 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.485e-05/0.009218, allocations: 15.92 kB / 0.5635 GB, free: 8.543 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.101e-05/0.009249, allocations: 4 kB / 0.5635 GB, free: 8.539 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.542e-05/0.009274, allocations: 4 kB / 0.5635 GB, free: 8.535 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.272e-05/0.009327, allocations: 21.27 kB / 0.5635 GB, free: 8.516 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.009337, allocations: 8 kB / 0.5635 GB, free: 8.508 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002409/0.01175, allocations: 2.458 MB / 0.5659 GB, free: 6.059 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.877e-05/0.01184, allocations: 153.2 kB / 0.566 GB, free: 5.91 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.508e-05/0.01186, allocations: 0 / 0.566 GB, free: 5.91 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001683/0.01354, allocations: 2.065 MB / 0.5681 GB, free: 3.84 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.01354, allocations: 0 / 0.5681 GB, free: 3.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.01354, allocations: 0 / 0.5681 GB, free: 3.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.01355, allocations: 0 / 0.5681 GB, free: 3.84 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.0005566/0.0141, allocations: 0.6651 MB / 0.5687 GB, free: 3.137 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.01414, allocations: 9.938 kB / 0.5687 GB, free: 3.129 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.31e-05/0.01416, allocations: 4.938 kB / 0.5687 GB, free: 3.125 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.649e-05/0.01424, allocations: 109 kB / 0.5688 GB, free: 2.992 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.01424, allocations: 4.312 kB / 0.5688 GB, free: 2.988 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-06/0.01425, allocations: 4.375 kB / 0.5688 GB, free: 2.984 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.479e-05/0.01434, allocations: 90.23 kB / 0.5689 GB, free: 2.891 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.551e-06/0.01434, allocations: 3.938 kB / 0.5689 GB, free: 2.887 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.36e-06/0.01435, allocations: 3.984 kB / 0.5689 GB, free: 2.883 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.01435, allocations: 0 / 0.5689 GB, free: 2.883 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.322e-05/0.01441, allocations: 120 kB / 0.569 GB, free: 2.766 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001575/0.01457, allocations: 217.2 kB / 0.5693 GB, free: 2.527 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.014e-05/0.01463, allocations: 95 kB / 0.5693 GB, free: 2.422 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.727e-05/0.01467, allocations: 67.72 kB / 0.5694 GB, free: 2.352 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.478e-06/0.01467, allocations: 0 / 0.5694 GB, free: 2.352 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.01469, allocations: 37.39 kB / 0.5694 GB, free: 2.305 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.01469, allocations: 4 kB / 0.5695 GB, free: 2.301 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001611/0.01485, allocations: 209.6 kB / 0.5697 GB, free: 2.09 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.01488, allocations: 59.34 kB / 0.5697 GB, free: 2.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.747e-05/0.01493, allocations: 149.9 kB / 0.5699 GB, free: 1.855 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.335e-06/0.01494, allocations: 29.69 kB / 0.5699 GB, free: 1.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.582e-05/0.01497, allocations: 126.9 kB / 0.57 GB, free: 1.691 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.01498, allocations: 0 / 0.57 GB, free: 1.691 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.028e-05/0.015, allocations: 27.31 kB / 0.57 GB, free: 1.656 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.315e-05/0.0151, allocations: 492.1 kB / 0.5705 GB, free: 1.164 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.558e-05/0.01513, allocations: 68.22 kB / 0.5706 GB, free: 1.098 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.352e-05/0.01517, allocations: 59.97 kB / 0.5706 GB, free: 1.039 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.484e-05/0.01524, allocations: 131.6 kB / 0.5707 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.01524, allocations: 0 / 0.5707 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.573e-05/0.01534, allocations: 153.6 kB / 0.5709 GB, free: 0.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.187e-06/0.01535, allocations: 4 kB / 0.5709 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.01535, allocations: 0 / 0.5709 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.811e-06/0.01536, allocations: 0 / 0.5709 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.418e-05/0.01539, allocations: 15.88 kB / 0.5709 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-06/0.01539, allocations: 4.031 kB / 0.5709 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.679e-05/0.01544, allocations: 4 kB / 0.5709 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.01544, allocations: 0 / 0.5709 GB, free: 0.7227 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 4.955e-05/0.01549, allocations: 160.6 kB / 0.5711 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.449e-06/0.0155, allocations: 0 / 0.5711 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.01561, allocations: 168.6 kB / 0.5712 GB, free: 392 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01562, allocations: 0 / 0.5712 GB, free: 392 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.01562, allocations: 3.938 kB / 0.5712 GB, free: 388 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.01562, allocations: 0 / 0.5712 GB, free: 388 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.01575, allocations: 213.2 kB / 0.5714 GB, free: 148 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.01575, allocations: 3.984 kB / 0.5714 GB, free: 144 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.01575, allocations: 4.031 kB / 0.5714 GB, free: 140 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.71e-07/0.01575, allocations: 0 / 0.5714 GB, free: 140 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-06/0.01575, allocations: 0 / 0.5714 GB, free: 140 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.01575, allocations: 0 / 0.5714 GB, free: 140 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-06/0.01576, allocations: 3.984 kB / 0.5714 GB, free: 136 kB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.01587, allocations: 196.3 kB / 0.5716 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-06/0.01588, allocations: 3.953 kB / 0.5716 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.711e-05/0.01591, allocations: 3.984 kB / 0.5716 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.435e-05/0.01596, allocations: 0 / 0.5716 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.604e-06/0.01597, allocations: 0 / 0.5716 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.01597, allocations: 12.03 kB / 0.5717 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.748e-05/0.016, allocations: 123.1 kB / 0.5718 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.016, allocations: 0 / 0.5718 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006408/0.01664, allocations: 0.5725 MB / 0.5723 GB, free: 15.2 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.001459/0.0181, allocations: 1.028 MB / 0.5733 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001044/0.0182, allocations: 143.6 kB / 0.5735 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.0182, allocations: 4.062 kB / 0.5735 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.985e-05/0.01825, allocations: 93.36 kB / 0.5736 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.0184, allocations: 47.94 kB / 0.5736 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005857/0.01898, allocations: 0.7781 MB / 0.5744 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.058e-05/0.01904, allocations: 119.2 kB / 0.5745 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.469e-05/0.01906, allocations: 8 kB / 0.5745 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.01909, allocations: 70.2 kB / 0.5746 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of SimCode: time 6.11e-07/0.01909, allocations: 0 / 0.5746 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of Templates: time 0.01714/0.03623, allocations: 13.98 MB / 0.5882 GB, free: 15.01 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.004395883064717]