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.001352/0.001352, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001588/0.001588, allocations: 191.9 kB / 16.14 MB, free: 6.637 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.444/1.444, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002658/0.002658, allocations: 283 kB / 290.2 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.086/1.086, allocations: 178.5 MB / 0.5068 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002715/0.002715, allocations: 98.08 kB / 0.6058 GB, free: 25.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1608, allocations: 89.14 MB / 0.6928 GB, free: 4.785 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002631/0.1635, allocations: 1.314 MB / 0.6941 GB, free: 3.469 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0076/0.1711, allocations: 4.79 MB / 0.6988 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.102e-05/0.1712, allocations: 0 / 0.6988 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.141e-05/0.1713, allocations: 0 / 0.6988 GB, free: 14.67 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‘. Notification: Performance of NFTyping.typeBindings: time 0.003601/0.1749, allocations: 1.188 MB / 0.6999 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 7.396e-05/0.175, allocations: 19.98 kB / 0.7 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.903e-05/0.1751, allocations: 27.97 kB / 0.7 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.308e-05/0.1751, allocations: 7.984 kB / 0.7 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.565e-05/0.1752, allocations: 11.94 kB / 0.7 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.802e-05/0.1753, allocations: 66.55 kB / 0.7001 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.1753, allocations: 0 / 0.7001 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003785/0.1791, allocations: 2.239 MB / 0.7023 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001842/0.1793, allocations: 153.2 kB / 0.7024 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.634e-05/0.1794, allocations: 25.28 kB / 0.7024 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003857/0.1832, allocations: 1.813 MB / 0.7042 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1833, allocations: 0 / 0.7042 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.133e-06/0.1833, allocations: 0 / 0.7042 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.1833, allocations: 0 / 0.7042 GB, free: 9.117 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.0011/0.1844, allocations: 0.6126 MB / 0.7048 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.1844, allocations: 12.02 kB / 0.7048 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.1845, allocations: 4.938 kB / 0.7048 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.1846, allocations: 168.3 kB / 0.705 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.462e-06/0.1846, allocations: 384 / 0.705 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.358e-05/0.1847, allocations: 4.125 kB / 0.705 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.1849, allocations: 173.6 kB / 0.7051 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.1849, allocations: 0 / 0.7051 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.625e-06/0.1849, allocations: 4 kB / 0.7051 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.1849, allocations: 3.984 kB / 0.7052 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002437/0.1852, allocations: 283.8 kB / 0.7054 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003126/0.1855, allocations: 289.6 kB / 0.7057 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.1857, allocations: 162.5 kB / 0.7059 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.1858, allocations: 144.8 kB / 0.706 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.1858, allocations: 0 / 0.706 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.1859, allocations: 38.55 kB / 0.706 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.1859, allocations: 0 / 0.706 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0004646/0.1863, allocations: 453.5 kB / 0.7065 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.1864, allocations: 55.41 kB / 0.7065 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.1865, allocations: 165.8 kB / 0.7067 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.1865, allocations: 25.7 kB / 0.7067 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.477e-05/0.1866, allocations: 80.14 kB / 0.7068 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.1866, allocations: 256 / 0.7068 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.1867, allocations: 21.72 kB / 0.7068 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1868, allocations: 314.8 kB / 0.7071 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.1869, allocations: 136 kB / 0.7072 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.1871, allocations: 143.9 kB / 0.7074 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/0.1873, allocations: 292.7 kB / 0.7076 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1873, allocations: 0 / 0.7076 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002776/0.1876, allocations: 313.5 kB / 0.7079 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1876, allocations: 12.09 kB / 0.708 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.1876, allocations: 0 / 0.708 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.1876, allocations: 0 / 0.708 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.431e-05/0.1877, allocations: 3.984 kB / 0.708 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.1877, allocations: 0 / 0.708 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.734e-05/0.1878, allocations: 12 kB / 0.708 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.1878, allocations: 0 / 0.708 GB, free: 5.035 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.000122/0.1879, allocations: 170.4 kB / 0.7081 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.153e-05/0.1879, allocations: 3.938 kB / 0.7081 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003173/0.1883, allocations: 324.6 kB / 0.7084 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1883, allocations: 4 kB / 0.7084 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1883, allocations: 0 / 0.7084 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-06/0.1883, allocations: 3.938 kB / 0.7085 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.1886, allocations: 293.5 kB / 0.7087 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.1886, allocations: 4 kB / 0.7087 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.1886, allocations: 0 / 0.7087 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.1886, allocations: 0 / 0.7087 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.1886, allocations: 0 / 0.7087 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1886, allocations: 0 / 0.7087 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.1886, allocations: 8.016 kB / 0.7087 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003004/0.1889, allocations: 337 kB / 0.7091 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.317e-05/0.189, allocations: 85 kB / 0.7091 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.812e-05/0.1891, allocations: 0 / 0.7091 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.166e-05/0.1891, allocations: 0 / 0.7091 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/0.1892, allocations: 4 kB / 0.7091 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.1892, allocations: 0 / 0.7091 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001023/0.1893, allocations: 155.3 kB / 0.7093 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.954e-06/0.1893, allocations: 0 / 0.7093 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001425/0.1907, allocations: 0.5778 MB / 0.7099 GB, free: 2.996 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.002666/0.1934, allocations: 0.92 MB / 0.7108 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003319/0.1937, allocations: 287.9 kB / 0.711 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1937, allocations: 4.062 kB / 0.711 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.1939, allocations: 161.7 kB / 0.7112 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.1942, allocations: 15.86 kB / 0.7112 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.1954, allocations: 0.9988 MB / 0.7122 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004815/0.1959, allocations: 0.8187 MB / 0.713 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.552e-05/0.196, allocations: 4 kB / 0.713 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.728e-05/0.196, allocations: 15.38 kB / 0.713 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of SimCode: time 3.51e-07/0.196, allocations: 3.938 kB / 0.713 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of Templates: time 0.02174/0.2178, allocations: 12.13 MB / 0.7248 GB, free: 3.727 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)