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.001064/0.001064, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001828/0.001828, allocations: 173 kB / 23.49 MB, free: 1.059 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.9537/0.9537, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.00166/0.00166, allocations: 232.7 kB / 260.5 MB, free: 12.91 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.7424/0.7424, allocations: 138.4 MB / 455.4 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.183e-06/1.183e-06, allocations: 0 / 0.5551 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.321e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001693/0.001716, allocations: 1.309 MB / 0.5564 GB, free: 15.46 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00542/0.007136, allocations: 4.328 MB / 0.5606 GB, free: 11.11 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.007171, allocations: 7.938 kB / 0.5606 GB, free: 11.1 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 6.158e-05/0.007232, allocations: 0 / 0.5606 GB, free: 11.1 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.00325/0.01048, allocations: 1.597 MB / 0.5622 GB, free: 9.5 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.619e-05/0.01055, allocations: 39.89 kB / 0.5622 GB, free: 9.461 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.771e-05/0.01062, allocations: 11.94 kB / 0.5622 GB, free: 9.449 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.849e-05/0.01065, allocations: 3.984 kB / 0.5622 GB, free: 9.445 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.308e-05/0.01069, allocations: 8 kB / 0.5622 GB, free: 9.438 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.975e-05/0.01074, allocations: 21.27 kB / 0.5622 GB, free: 9.418 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.01075, allocations: 4 kB / 0.5622 GB, free: 9.414 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002664/0.01341, allocations: 2.44 MB / 0.5646 GB, free: 6.969 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.01352, allocations: 145.2 kB / 0.5648 GB, free: 6.828 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.44e-05/0.01354, allocations: 0 / 0.5648 GB, free: 6.828 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002407/0.01595, allocations: 2.104 MB / 0.5668 GB, free: 4.719 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.01595, allocations: 3.984 kB / 0.5668 GB, free: 4.715 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.01596, allocations: 4 kB / 0.5668 GB, free: 4.711 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.01596, allocations: 0 / 0.5668 GB, free: 4.711 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.000635/0.0166, allocations: 0.6615 MB / 0.5675 GB, free: 4.012 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.01663, allocations: 12.75 kB / 0.5675 GB, free: 4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.01667, allocations: 0.9375 kB / 0.5675 GB, free: 4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9e-05/0.01676, allocations: 112.6 kB / 0.5676 GB, free: 3.863 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.01677, allocations: 384 / 0.5676 GB, free: 3.863 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.01678, allocations: 384 / 0.5676 GB, free: 3.863 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.01692, allocations: 154.1 kB / 0.5677 GB, free: 3.707 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.01693, allocations: 3.938 kB / 0.5677 GB, free: 3.703 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.01694, allocations: 4 kB / 0.5677 GB, free: 3.699 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.01695, allocations: 0 / 0.5677 GB, free: 3.699 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.01707, allocations: 239.9 kB / 0.568 GB, free: 3.465 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001817/0.01725, allocations: 232.6 kB / 0.5682 GB, free: 3.203 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.01735, allocations: 147 kB / 0.5683 GB, free: 3.047 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.381e-05/0.01743, allocations: 127.7 kB / 0.5685 GB, free: 2.918 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-06/0.01743, allocations: 0 / 0.5685 GB, free: 2.918 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.01746, allocations: 41.33 kB / 0.5685 GB, free: 2.867 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.01746, allocations: 0 / 0.5685 GB, free: 2.867 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002963/0.01775, allocations: 393.5 kB / 0.5689 GB, free: 2.477 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.01778, allocations: 55.53 kB / 0.5689 GB, free: 2.41 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.284e-05/0.01785, allocations: 161.9 kB / 0.5691 GB, free: 2.234 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.01786, allocations: 25.7 kB / 0.5691 GB, free: 2.203 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.746e-05/0.01789, allocations: 126.9 kB / 0.5692 GB, free: 2.074 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.01792, allocations: 0 / 0.5692 GB, free: 2.074 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.01794, allocations: 19.38 kB / 0.5692 GB, free: 2.047 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.01804, allocations: 492.1 kB / 0.5697 GB, free: 1.555 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.802e-05/0.01811, allocations: 119.9 kB / 0.5698 GB, free: 1.438 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.166e-05/0.01817, allocations: 123.9 kB / 0.5699 GB, free: 1.316 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.01832, allocations: 263.6 kB / 0.5702 GB, free: 1.055 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01832, allocations: 0 / 0.5702 GB, free: 1.055 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001618/0.01848, allocations: 273.6 kB / 0.5705 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.01849, allocations: 8 kB / 0.5705 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.0185, allocations: 0 / 0.5705 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.01851, allocations: 3.938 kB / 0.5705 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.644e-05/0.01857, allocations: 0 / 0.5705 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.01857, allocations: 0 / 0.5705 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.527e-05/0.01862, allocations: 4 kB / 0.5705 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.01862, allocations: 0 / 0.5705 GB, free: 0.7656 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.616e-05/0.01868, allocations: 160.6 kB / 0.5706 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.951e-06/0.01869, allocations: 3.953 kB / 0.5706 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002072/0.01889, allocations: 292.5 kB / 0.5709 GB, free: 312 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.0189, allocations: 7.922 kB / 0.5709 GB, free: 304 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.0189, allocations: 4 kB / 0.5709 GB, free: 300 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.0189, allocations: 0 / 0.5709 GB, free: 300 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.01904, allocations: 228.6 kB / 0.5711 GB, free: 36 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.01904, allocations: 0 / 0.5711 GB, free: 36 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.01904, allocations: 0 / 0.5711 GB, free: 36 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.01905, allocations: 0 / 0.5711 GB, free: 36 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.01905, allocations: 0 / 0.5711 GB, free: 36 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.01905, allocations: 4.031 kB / 0.5711 GB, free: 32 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.01906, allocations: 7.938 kB / 0.5711 GB, free: 24 kB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.01924, allocations: 312.3 kB / 0.5714 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.757e-06/0.01925, allocations: 0 / 0.5714 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.149e-05/0.01929, allocations: 0 / 0.5714 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.302e-05/0.01933, allocations: 4 kB / 0.5715 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.466e-05/0.01934, allocations: 3.938 kB / 0.5715 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.01935, allocations: 3.984 kB / 0.5715 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.036e-05/0.01938, allocations: 119.2 kB / 0.5716 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01938, allocations: 8.125 kB / 0.5716 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008364/0.02021, allocations: 0.5803 MB / 0.5721 GB, free: 14.98 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.00165/0.02186, allocations: 1.027 MB / 0.5731 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001956/0.02206, allocations: 255.6 kB / 0.5734 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.02206, allocations: 0 / 0.5734 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003317/0.02239, allocations: 153.3 kB / 0.5735 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001658/0.02256, allocations: 56 kB / 0.5736 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007161/0.02328, allocations: 0.825 MB / 0.5744 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.369e-05/0.02334, allocations: 119.2 kB / 0.5745 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.703e-05/0.02336, allocations: 4 kB / 0.5745 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.136e-05/0.02338, allocations: 12.5 kB / 0.5745 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of SimCode: time 8.62e-07/0.02338, allocations: 4 kB / 0.5745 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of Templates: time 0.01384/0.03722, allocations: 12.57 MB / 0.5868 GB, free: 0 / 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: 4.0191114651970565]