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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,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=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 109.3 kB / 15.99 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 194.5 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.251/1.251, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002011/0.002012, allocations: 288 kB / 291 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9005/0.9005, allocations: 169.2 MB / 0.4985 GB, free: 4.648 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 97.5 kB / 0.5954 GB, free: 15.5 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1658, allocations: 86.98 MB / 0.6803 GB, free: 8.531 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002133/0.1679, allocations: 1.308 MB / 0.6816 GB, free: 7.207 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005807/0.1737, allocations: 4.501 MB / 0.686 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.02e-05/0.1738, allocations: 0 / 0.686 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.58e-05/0.1739, allocations: 4 kB / 0.686 GB, free: 2.684 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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 2.0.0-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.003451/0.1773, allocations: 1.338 MB / 0.6873 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.042e-05/0.1774, allocations: 27.98 kB / 0.6873 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.157e-05/0.1775, allocations: 19.91 kB / 0.6873 GB, free: 1.293 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.987e-05/0.1775, allocations: 4 kB / 0.6873 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.149e-05/0.1776, allocations: 4 kB / 0.6873 GB, free: 1.285 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.867e-05/0.1777, allocations: 62.56 kB / 0.6874 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.117e-06/0.1777, allocations: 0 / 0.6874 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2993/0.477, allocations: 2.247 MB / 0.6896 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001948/0.4773, allocations: 152.6 kB / 0.6897 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.301e-05/0.4773, allocations: 31.56 kB / 0.6898 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003057/0.4804, allocations: 1.235 MB / 0.691 GB, free: 12.54 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.4804, allocations: 6.062 kB / 0.691 GB, free: 12.54 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4804, allocations: 0 / 0.691 GB, free: 12.54 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.4804, allocations: 0 / 0.691 GB, free: 12.54 MB / 494.1 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.001277/0.4817, allocations: 0.6134 MB / 0.6916 GB, free: 12.03 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.4818, allocations: 10.86 kB / 0.6916 GB, free: 12.03 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.177e-05/0.4818, allocations: 2.578 kB / 0.6916 GB, free: 12.03 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.659e-05/0.4819, allocations: 166.2 kB / 0.6918 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.4819, allocations: 7.125 kB / 0.6918 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.4819, allocations: 0.5625 kB / 0.6918 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.4822, allocations: 172.8 kB / 0.6919 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.4822, allocations: 0 / 0.6919 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.4822, allocations: 0 / 0.6919 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.4822, allocations: 3.094 kB / 0.6919 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002797/0.4825, allocations: 282.3 kB / 0.6922 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002929/0.4828, allocations: 289 kB / 0.6925 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.483, allocations: 159.5 kB / 0.6926 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.4831, allocations: 147.8 kB / 0.6928 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.4831, allocations: 0.9062 kB / 0.6928 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.4831, allocations: 40.95 kB / 0.6928 GB, free: 11.54 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.4832, allocations: 0 / 0.6928 GB, free: 11.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0005362/0.4837, allocations: 452.6 kB / 0.6932 GB, free: 11.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.4837, allocations: 54.41 kB / 0.6933 GB, free: 11.44 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.4839, allocations: 167.1 kB / 0.6935 GB, free: 11.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.374e-06/0.4839, allocations: 26.72 kB / 0.6935 GB, free: 11.31 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.181e-05/0.4839, allocations: 83.23 kB / 0.6936 GB, free: 11.23 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.4839, allocations: 3.594 kB / 0.6936 GB, free: 11.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.593e-05/0.484, allocations: 17.89 kB / 0.6936 GB, free: 11.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.739e-05/0.484, allocations: 311.4 kB / 0.6939 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.4842, allocations: 141 kB / 0.694 GB, free: 10.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.4843, allocations: 140.6 kB / 0.6941 GB, free: 10.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002915/0.4846, allocations: 295.3 kB / 0.6944 GB, free: 10.89 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4846, allocations: 0 / 0.6944 GB, free: 10.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002895/0.4849, allocations: 318.4 kB / 0.6947 GB, free: 10.86 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.4849, allocations: 6.875 kB / 0.6947 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4849, allocations: 0 / 0.6947 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.4849, allocations: 2.047 kB / 0.6947 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.435e-05/0.485, allocations: 2.578 kB / 0.6947 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.485, allocations: 1.906 kB / 0.6947 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.324e-05/0.4851, allocations: 5.203 kB / 0.6948 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-06/0.4851, allocations: 4.188 kB / 0.6948 GB, free: 10.86 MB / 494.1 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 9.926e-05/0.4852, allocations: 172 kB / 0.6949 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.151e-05/0.4852, allocations: 6.469 kB / 0.6949 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000365/0.4856, allocations: 327.7 kB / 0.6952 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.4856, allocations: 0 / 0.6952 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.4856, allocations: 1.516 kB / 0.6952 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.4856, allocations: 0 / 0.6952 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/0.4859, allocations: 285.7 kB / 0.6955 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.4859, allocations: 1.953 kB / 0.6955 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.654e-06/0.4859, allocations: 3.938 kB / 0.6955 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.4859, allocations: 0 / 0.6955 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.4859, allocations: 2 kB / 0.6955 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.4859, allocations: 0 / 0.6955 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4859, allocations: 4.031 kB / 0.6955 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/0.4862, allocations: 338.5 kB / 0.6958 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.771e-05/0.4863, allocations: 86.16 kB / 0.6959 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.678e-05/0.4863, allocations: 0.9688 kB / 0.6959 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.989e-05/0.4864, allocations: 2.938 kB / 0.6959 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.33e-05/0.4864, allocations: 1.078 kB / 0.6959 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.4864, allocations: 1.125 kB / 0.6959 GB, free: 10.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.877e-05/0.4865, allocations: 154.6 kB / 0.6961 GB, free: 10.27 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4865, allocations: 0 / 0.6961 GB, free: 10.27 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002052/0.4886, allocations: 0.5679 MB / 0.6966 GB, free: 10.18 MB / 494.1 MB 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.00247/0.4911, allocations: 0.9289 MB / 0.6975 GB, free: 9.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003462/0.4914, allocations: 286.2 kB / 0.6978 GB, free: 9.93 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4914, allocations: 4.062 kB / 0.6978 GB, free: 9.926 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.4916, allocations: 171.1 kB / 0.698 GB, free: 9.895 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.4918, allocations: 6.625 kB / 0.698 GB, free: 9.891 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004819/0.4923, allocations: 322.3 kB / 0.6983 GB, free: 9.758 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.967e-05/0.4924, allocations: 0.6721 MB / 0.699 GB, free: 9.062 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.379e-05/0.4924, allocations: 12.23 kB / 0.699 GB, free: 9.055 MB / 494.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4924, allocations: 0.8438 kB / 0.699 GB, free: 9.055 MB / 494.1 MB Notification: Performance of Templates: time 0.02493/0.5174, allocations: 12.12 MB / 0.7108 GB, free: 6.805 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile (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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)