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.00132/0.00132, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001338/0.001339, allocations: 188.5 kB / 16.25 MB, free: 6.645 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.398/1.398, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002543/0.002543, allocations: 286.7 kB / 290.4 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.069/1.069, allocations: 178.6 MB / 0.5069 GB, free: 4.73 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002652/0.002652, allocations: 96.77 kB / 0.606 GB, free: 25.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1688, allocations: 89.15 MB / 0.693 GB, free: 4.641 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.00237/0.1712, allocations: 1.308 MB / 0.6943 GB, free: 3.328 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006896/0.1781, allocations: 4.513 MB / 0.6987 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.041e-05/0.1781, allocations: 0 / 0.6987 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.769e-05/0.1782, allocations: 0 / 0.6987 GB, free: 14.8 MB / 0.4981 GB [/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.003943/0.1822, allocations: 1.34 MB / 0.7 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 9.28e-05/0.1823, allocations: 39.89 kB / 0.7001 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.821e-05/0.1824, allocations: 12 kB / 0.7001 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.117e-05/0.1824, allocations: 0 / 0.7001 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.258e-05/0.1824, allocations: 4 kB / 0.7001 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.1826, allocations: 66.55 kB / 0.7001 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.217e-06/0.1826, allocations: 0 / 0.7001 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00336/0.1859, allocations: 2.25 MB / 0.7023 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.1861, allocations: 153.2 kB / 0.7025 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.488e-05/0.1862, allocations: 29.28 kB / 0.7025 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002432/0.1886, allocations: 1.751 MB / 0.7042 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1886, allocations: 0 / 0.7042 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1886, allocations: 0 / 0.7042 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.1886, allocations: 0 / 0.7042 GB, free: 9.16 MB / 0.4981 GB 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.0008542/0.1895, allocations: 0.6163 MB / 0.7048 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.1895, allocations: 12.03 kB / 0.7048 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/0.1896, allocations: 4.922 kB / 0.7048 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.1897, allocations: 168.3 kB / 0.705 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.1897, allocations: 384 / 0.705 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.1898, allocations: 8.125 kB / 0.705 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.19, allocations: 169.6 kB / 0.7052 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.503e-06/0.19, allocations: 0 / 0.7052 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.19, allocations: 0 / 0.7052 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.19, allocations: 0 / 0.7052 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002573/0.1903, allocations: 283.9 kB / 0.7054 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003026/0.1906, allocations: 289.7 kB / 0.7057 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.1907, allocations: 162.5 kB / 0.7059 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.1909, allocations: 152.8 kB / 0.706 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.687e-06/0.1909, allocations: 0 / 0.706 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.1909, allocations: 30.56 kB / 0.706 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.1909, allocations: 0 / 0.706 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0004494/0.1914, allocations: 457.5 kB / 0.7065 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.1914, allocations: 55.53 kB / 0.7065 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.1916, allocations: 165.8 kB / 0.7067 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.1916, allocations: 29.7 kB / 0.7067 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.1916, allocations: 80.14 kB / 0.7068 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.1917, allocations: 3.938 kB / 0.7068 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/0.1917, allocations: 9.719 kB / 0.7068 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1918, allocations: 318.8 kB / 0.7071 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.192, allocations: 139.9 kB / 0.7072 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.1921, allocations: 144.1 kB / 0.7074 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002385/0.1923, allocations: 288.8 kB / 0.7077 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1923, allocations: 0 / 0.7077 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002794/0.1926, allocations: 317.5 kB / 0.708 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.1926, allocations: 4 kB / 0.708 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1926, allocations: 0 / 0.708 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.1927, allocations: 0 / 0.708 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.995e-05/0.1927, allocations: 4 kB / 0.708 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.1927, allocations: 8.016 kB / 0.708 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.386e-05/0.1928, allocations: 4 kB / 0.708 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.1928, allocations: 0 / 0.708 GB, free: 5.082 MB / 0.4981 GB 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.0001189/0.1929, allocations: 170.5 kB / 0.7081 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.044e-05/0.193, allocations: 3.938 kB / 0.7081 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003178/0.1933, allocations: 328.6 kB / 0.7085 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1933, allocations: 0 / 0.7085 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.1933, allocations: 0 / 0.7085 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1933, allocations: 3.938 kB / 0.7085 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.1936, allocations: 293.6 kB / 0.7087 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.1936, allocations: 0 / 0.7087 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1936, allocations: 0 / 0.7087 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.1936, allocations: 0 / 0.7087 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.1936, allocations: 0 / 0.7087 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1936, allocations: 4 kB / 0.7087 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1936, allocations: 0 / 0.7087 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003089/0.1939, allocations: 344.9 kB / 0.7091 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.922e-05/0.194, allocations: 81.14 kB / 0.7092 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.097e-05/0.1941, allocations: 3.984 kB / 0.7092 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.045e-05/0.1941, allocations: 0 / 0.7092 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.002e-05/0.1941, allocations: 0 / 0.7092 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-06/0.1942, allocations: 0 / 0.7092 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001146/0.1943, allocations: 155.2 kB / 0.7093 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1943, allocations: 0 / 0.7093 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001244/0.1955, allocations: 0.5661 MB / 0.7099 GB, free: 3.059 MB / 0.4981 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.002437/0.198, allocations: 0.9357 MB / 0.7108 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003081/0.1983, allocations: 287.8 kB / 0.711 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1983, allocations: 0 / 0.711 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.1985, allocations: 169.7 kB / 0.7112 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.1987, allocations: 7.922 kB / 0.7112 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.1999, allocations: 0.9965 MB / 0.7122 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004435/0.2004, allocations: 0.8185 MB / 0.713 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.304e-05/0.2004, allocations: 10 kB / 0.713 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.27e-05/0.2004, allocations: 11.44 kB / 0.713 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.2004, allocations: 0 / 0.713 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of Templates: time 0.02069/0.2211, allocations: 12.24 MB / 0.725 GB, free: 3.672 MB / 0.5137 GB 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)