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.0009045/0.0009044, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0008176/0.0008176, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001713/0.001713, allocations: 278.2 kB / 291.4 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9732/0.9732, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004148/0.0004148, allocations: 17.44 kB / 0.5981 GB, free: 28.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1826, allocations: 88.54 MB / 0.6845 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001196/0.1838, allocations: 0.9673 MB / 0.6855 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005936/0.1898, allocations: 4.173 MB / 0.6895 GB, free: 10.27 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.16e-05/0.1898, allocations: 0 / 0.6895 GB, free: 10.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.418e-05/0.1899, allocations: 3.406 kB / 0.6895 GB, free: 10.27 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‘. Notification: Performance of NFTyping.typeBindings: time 0.002741/0.1926, allocations: 1.139 MB / 0.6907 GB, free: 9.133 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.464e-05/0.1927, allocations: 19.97 kB / 0.6907 GB, free: 9.113 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.429e-05/0.1928, allocations: 27.91 kB / 0.6907 GB, free: 9.086 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.228e-05/0.1928, allocations: 3.938 kB / 0.6907 GB, free: 9.082 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.958e-05/0.1928, allocations: 11.98 kB / 0.6907 GB, free: 9.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.18e-05/0.1929, allocations: 59.97 kB / 0.6908 GB, free: 9.012 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.193, allocations: 0 / 0.6908 GB, free: 9.012 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002659/0.1956, allocations: 1.985 MB / 0.6927 GB, free: 7.023 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.1958, allocations: 163.9 kB / 0.6929 GB, free: 6.863 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.575e-05/0.1958, allocations: 25.7 kB / 0.6929 GB, free: 6.832 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001374/0.1972, allocations: 1.178 MB / 0.694 GB, free: 5.652 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1972, allocations: 0 / 0.694 GB, free: 5.652 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1972, allocations: 0 / 0.694 GB, free: 5.652 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.1972, allocations: 4 kB / 0.694 GB, free: 5.648 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.0007697/0.198, allocations: 0.6123 MB / 0.6946 GB, free: 4.988 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.1981, allocations: 8.031 kB / 0.6947 GB, free: 4.98 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/0.1981, allocations: 7.891 kB / 0.6947 GB, free: 4.973 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.1982, allocations: 171 kB / 0.6948 GB, free: 4.766 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.1982, allocations: 4 kB / 0.6948 GB, free: 4.762 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.385e-06/0.1983, allocations: 0 / 0.6948 GB, free: 4.762 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.1985, allocations: 169.6 kB / 0.695 GB, free: 4.59 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.1985, allocations: 4 kB / 0.695 GB, free: 4.586 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.1985, allocations: 0 / 0.695 GB, free: 4.586 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1986, allocations: 0 / 0.695 GB, free: 4.586 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002105/0.1988, allocations: 287.8 kB / 0.6953 GB, free: 4.305 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002735/0.199, allocations: 281.6 kB / 0.6955 GB, free: 3.98 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.1992, allocations: 162.5 kB / 0.6957 GB, free: 3.812 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.1993, allocations: 144.9 kB / 0.6958 GB, free: 3.668 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.922e-06/0.1993, allocations: 3.938 kB / 0.6958 GB, free: 3.664 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.1994, allocations: 38.56 kB / 0.6959 GB, free: 3.617 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1994, allocations: 0 / 0.6959 GB, free: 3.617 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0004222/0.1998, allocations: 449.5 kB / 0.6963 GB, free: 3.172 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.1999, allocations: 51.41 kB / 0.6963 GB, free: 3.109 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.2, allocations: 173.8 kB / 0.6965 GB, free: 2.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.2, allocations: 25.7 kB / 0.6965 GB, free: 2.898 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.245e-05/0.2, allocations: 80.39 kB / 0.6966 GB, free: 2.816 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.2001, allocations: 15.84 kB / 0.6966 GB, free: 2.801 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-06/0.2001, allocations: 0 / 0.6966 GB, free: 2.801 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.2002, allocations: 314.8 kB / 0.6969 GB, free: 2.484 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.2003, allocations: 139.9 kB / 0.6971 GB, free: 2.348 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.2004, allocations: 151.9 kB / 0.6972 GB, free: 2.199 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.2005, allocations: 139.9 kB / 0.6973 GB, free: 2.062 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2005, allocations: 0 / 0.6973 GB, free: 2.062 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000249/0.2008, allocations: 309.6 kB / 0.6976 GB, free: 1.754 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.2008, allocations: 8.094 kB / 0.6976 GB, free: 1.746 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2008, allocations: 0 / 0.6976 GB, free: 1.746 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.2008, allocations: 0 / 0.6976 GB, free: 1.746 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.489e-05/0.2009, allocations: 7.984 kB / 0.6977 GB, free: 1.738 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.2009, allocations: 0 / 0.6977 GB, free: 1.738 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.369e-05/0.201, allocations: 0 / 0.6977 GB, free: 1.738 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.201, allocations: 3.938 kB / 0.6977 GB, free: 1.734 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.2011, allocations: 173.8 kB / 0.6978 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-06/0.2011, allocations: 0 / 0.6978 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003143/0.2014, allocations: 324.7 kB / 0.6981 GB, free: 1.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2015, allocations: 0 / 0.6981 GB, free: 1.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.2015, allocations: 0 / 0.6981 GB, free: 1.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2015, allocations: 0 / 0.6981 GB, free: 1.23 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.2017, allocations: 293.6 kB / 0.6984 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.2017, allocations: 3.938 kB / 0.6984 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.2017, allocations: 0 / 0.6984 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2017, allocations: 0 / 0.6984 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.2017, allocations: 4 kB / 0.6984 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.2018, allocations: 0 / 0.6984 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.2018, allocations: 8.016 kB / 0.6984 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002873/0.2021, allocations: 348.8 kB / 0.6988 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.238e-05/0.2021, allocations: 85.09 kB / 0.6988 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.016e-05/0.2022, allocations: 0 / 0.6988 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.789e-05/0.2022, allocations: 0 / 0.6988 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.196e-05/0.2023, allocations: 0 / 0.6988 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.2023, allocations: 0 / 0.6988 GB, free: 428 kB / 494.1 MB Notification: Performance of sorting global known variables: time 9.254e-05/0.2024, allocations: 159.3 kB / 0.699 GB, free: 268 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2024, allocations: 0 / 0.699 GB, free: 268 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.001111/0.2035, allocations: 0.5622 MB / 0.6995 GB, free: 15.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002117/0.2056, allocations: 0.8873 MB / 0.7004 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002884/0.2059, allocations: 287.9 kB / 0.7007 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.2059, allocations: 4.062 kB / 0.7007 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.2061, allocations: 173.6 kB / 0.7009 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.2063, allocations: 3.953 kB / 0.7009 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.2074, allocations: 0.9676 MB / 0.7018 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.2078, allocations: 0.8148 MB / 0.7026 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.194e-05/0.2078, allocations: 8 kB / 0.7026 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.101e-05/0.2078, allocations: 11.44 kB / 0.7026 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.2078, allocations: 3.938 kB / 0.7026 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of Templates: time 0.01771/0.2255, allocations: 12.07 MB / 0.7144 GB, free: 0.5625 MB / 0.4981 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)