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.001341/0.001341, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001558/0.001558, allocations: 169.7 kB / 23.27 MB, free: 1.219 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.9837/0.9837, allocations: 177.1 MB / 203.7 MB, free: 5.477 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.001619/0.001619, allocations: 237.5 kB / 260.5 MB, free: 12.63 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.7007/0.7007, allocations: 138.4 MB / 455.5 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.503e-06/1.503e-06, allocations: 0 / 0.5556 GB, free: 15.84 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.636e-05/1.786e-05, allocations: 6.312 kB / 0.5556 GB, free: 15.83 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002304/0.002322, allocations: 1.318 MB / 0.5569 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.006907/0.009229, allocations: 4.259 MB / 0.5611 GB, free: 10.21 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.942e-05/0.009258, allocations: 0 / 0.5611 GB, free: 10.21 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.558e-05/0.009314, allocations: 4 kB / 0.5611 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.003032/0.01235, allocations: 1.62 MB / 0.5627 GB, free: 8.586 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.551e-05/0.0124, allocations: 27.91 kB / 0.5627 GB, free: 8.559 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.413e-05/0.01245, allocations: 15.92 kB / 0.5627 GB, free: 8.543 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.288e-05/0.01248, allocations: 7.984 kB / 0.5627 GB, free: 8.535 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.202e-05/0.01251, allocations: 4 kB / 0.5627 GB, free: 8.531 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.44e-05/0.01256, allocations: 25.28 kB / 0.5627 GB, free: 8.508 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.01257, allocations: 0 / 0.5627 GB, free: 8.508 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002157/0.01473, allocations: 2.465 MB / 0.5651 GB, free: 6.055 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.468e-05/0.01483, allocations: 149.2 kB / 0.5653 GB, free: 5.91 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.602e-05/0.01484, allocations: 0 / 0.5653 GB, free: 5.91 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001516/0.01636, allocations: 2.061 MB / 0.5673 GB, free: 3.844 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.01636, allocations: 4 kB / 0.5673 GB, free: 3.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.01636, allocations: 4 kB / 0.5673 GB, free: 3.836 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.01637, allocations: 0 / 0.5673 GB, free: 3.836 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.0004808/0.01685, allocations: 0.6573 MB / 0.5679 GB, free: 3.141 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.01688, allocations: 13.94 kB / 0.568 GB, free: 3.129 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.296e-05/0.01691, allocations: 8.812 kB / 0.568 GB, free: 3.121 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.388e-05/0.01697, allocations: 109 kB / 0.5681 GB, free: 2.988 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.01698, allocations: 384 / 0.5681 GB, free: 2.988 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.019e-06/0.01698, allocations: 384 / 0.5681 GB, free: 2.988 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.86e-05/0.01707, allocations: 94.22 kB / 0.5682 GB, free: 2.891 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-06/0.01708, allocations: 7.938 kB / 0.5682 GB, free: 2.883 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.628e-06/0.01708, allocations: 0 / 0.5682 GB, free: 2.883 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.01708, allocations: 0 / 0.5682 GB, free: 2.883 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.479e-05/0.01715, allocations: 123.9 kB / 0.5683 GB, free: 2.762 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001508/0.0173, allocations: 217.2 kB / 0.5685 GB, free: 2.523 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.64e-05/0.01736, allocations: 91 kB / 0.5686 GB, free: 2.422 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.906e-05/0.0174, allocations: 67.72 kB / 0.5686 GB, free: 2.352 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.252e-06/0.0174, allocations: 4 kB / 0.5687 GB, free: 2.348 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.657e-05/0.01742, allocations: 33.39 kB / 0.5687 GB, free: 2.305 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.01742, allocations: 0 / 0.5687 GB, free: 2.305 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001682/0.01759, allocations: 217.6 kB / 0.5689 GB, free: 2.086 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.01761, allocations: 59.28 kB / 0.5689 GB, free: 2.016 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.469e-05/0.01767, allocations: 157.9 kB / 0.5691 GB, free: 1.844 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.885e-06/0.01767, allocations: 25.7 kB / 0.5691 GB, free: 1.812 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.641e-05/0.0177, allocations: 134.9 kB / 0.5693 GB, free: 1.676 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.01772, allocations: 0 / 0.5693 GB, free: 1.676 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.888e-05/0.01774, allocations: 15.38 kB / 0.5693 GB, free: 1.652 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003512/0.01809, allocations: 496.1 kB / 0.5697 GB, free: 1.156 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.432e-05/0.01812, allocations: 59.97 kB / 0.5698 GB, free: 1.098 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.319e-05/0.01816, allocations: 64.22 kB / 0.5699 GB, free: 1.035 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.316e-05/0.01823, allocations: 131.6 kB / 0.57 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01823, allocations: 4 kB / 0.57 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.4e-05/0.01833, allocations: 157.6 kB / 0.5701 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.01834, allocations: 4 kB / 0.5701 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.01834, allocations: 0 / 0.5701 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.245e-06/0.01835, allocations: 4 kB / 0.5701 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.007e-05/0.01839, allocations: 3.938 kB / 0.5702 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.01839, allocations: 0 / 0.5702 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.245e-05/0.01843, allocations: 96 / 0.5702 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.01844, allocations: 7.984 kB / 0.5702 GB, free: 0.7188 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 5.159e-05/0.01849, allocations: 160.6 kB / 0.5703 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.048e-06/0.01849, allocations: 3.938 kB / 0.5703 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.01862, allocations: 164.6 kB / 0.5705 GB, free: 388 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.01862, allocations: 0 / 0.5705 GB, free: 388 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.01862, allocations: 3.938 kB / 0.5705 GB, free: 384 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.01862, allocations: 0 / 0.5705 GB, free: 384 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.01874, allocations: 213.2 kB / 0.5707 GB, free: 144 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.01874, allocations: 0 / 0.5707 GB, free: 144 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.1e-07/0.01875, allocations: 4.031 kB / 0.5707 GB, free: 140 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.01875, allocations: 0 / 0.5707 GB, free: 140 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-06/0.01875, allocations: 4 kB / 0.5707 GB, free: 136 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.01875, allocations: 3.938 kB / 0.5707 GB, free: 132 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01875, allocations: 0 / 0.5707 GB, free: 132 kB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.01886, allocations: 192.3 kB / 0.5709 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-06/0.01886, allocations: 7.938 kB / 0.5709 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.01889, allocations: 0 / 0.5709 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.421e-05/0.01892, allocations: 7.984 kB / 0.5709 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.535e-06/0.01893, allocations: 0 / 0.5709 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.01893, allocations: 0 / 0.5709 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.62e-05/0.01896, allocations: 127.2 kB / 0.571 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01896, allocations: 4 kB / 0.571 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005901/0.01955, allocations: 0.5725 MB / 0.5716 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.001404/0.02095, allocations: 1.026 MB / 0.5726 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001081/0.02106, allocations: 135.6 kB / 0.5727 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.02106, allocations: 0 / 0.5727 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.041e-05/0.02111, allocations: 101.4 kB / 0.5728 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.000134/0.02125, allocations: 47.94 kB / 0.5728 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005782/0.02183, allocations: 0.7703 MB / 0.5736 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.98e-05/0.02189, allocations: 123.2 kB / 0.5737 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.528e-05/0.0219, allocations: 0 / 0.5737 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.02194, allocations: 74.2 kB / 0.5738 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of SimCode: time 7.11e-07/0.02194, allocations: 4 kB / 0.5738 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of Templates: time 0.01408/0.03602, allocations: 13.91 MB / 0.5874 GB, free: 15.09 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.100806595291942]