Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0007355/0.0007355, allocations: 86.09 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.0007543/0.0007543, 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 3.2.3+maint.om/package.mo): time 1.274/1.274, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.583/1.583, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005019/0.000502, allocations: 14.66 kB / 0.6738 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1979, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001438/0.1994, allocations: 0.982 MB / 0.7883 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004386/0.2038, allocations: 3.11 MB / 0.7913 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.123e-05/0.2039, allocations: 3.938 kB / 0.7913 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.264e-05/0.2039, allocations: 3.984 kB / 0.7913 GB, free: 7.797 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/LoadAggregation/temperatureResponseMatrix.mo:2:1-106:30:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.temperatureResponseMatrix‘ contains a call to impure function ‘Modelica.Utilities.Files.createDirectory‘. Notification: Performance of NFTyping.typeBindings: time 0.002134/0.2061, allocations: 0.7568 MB / 0.7921 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.87e-05/0.2061, allocations: 23.97 kB / 0.7921 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.128e-05/0.2062, allocations: 19.92 kB / 0.7921 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.448e-05/0.2062, allocations: 7.984 kB / 0.7921 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.061e-05/0.2063, allocations: 7.984 kB / 0.7921 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.405e-05/0.2063, allocations: 59.97 kB / 0.7922 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.706e-06/0.2064, allocations: 0 / 0.7922 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001674/0.208, allocations: 1.326 MB / 0.7935 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.2082, allocations: 167.9 kB / 0.7936 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.822e-05/0.2082, allocations: 25.7 kB / 0.7937 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007994/0.209, allocations: 0.749 MB / 0.7944 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.341e-05/0.2091, allocations: 4 kB / 0.7944 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2091, allocations: 0 / 0.7944 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.2091, allocations: 0 / 0.7944 GB, free: 4.641 MB / 0.6075 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.0005228/0.2096, allocations: 0.5343 MB / 0.7949 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.2096, allocations: 12.03 kB / 0.7949 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.467e-05/0.2097, allocations: 3.953 kB / 0.7949 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.2098, allocations: 167 kB / 0.7951 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.2098, allocations: 0 / 0.7951 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.763e-06/0.2098, allocations: 0 / 0.7951 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.21, allocations: 173.6 kB / 0.7953 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.21, allocations: 0 / 0.7953 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-06/0.21, allocations: 0 / 0.7953 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.21, allocations: 0 / 0.7953 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.2102, allocations: 283.9 kB / 0.7955 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002383/0.2105, allocations: 289.6 kB / 0.7958 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.2106, allocations: 162.5 kB / 0.796 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.2107, allocations: 148.9 kB / 0.7961 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.605e-06/0.2107, allocations: 0 / 0.7961 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.2107, allocations: 30.56 kB / 0.7961 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.2107, allocations: 0 / 0.7961 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0003726/0.2111, allocations: 453.5 kB / 0.7966 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.2112, allocations: 51.41 kB / 0.7966 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.2113, allocations: 169.8 kB / 0.7968 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.2113, allocations: 29.64 kB / 0.7968 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.162e-05/0.2113, allocations: 80.14 kB / 0.7969 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.2114, allocations: 3.906 kB / 0.7969 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-06/0.2114, allocations: 3.938 kB / 0.7969 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.2115, allocations: 327 kB / 0.7972 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.179e-05/0.2116, allocations: 136 kB / 0.7973 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.671e-05/0.2117, allocations: 139.9 kB / 0.7975 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.2118, allocations: 143.9 kB / 0.7976 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2118, allocations: 0 / 0.7976 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002254/0.212, allocations: 313.6 kB / 0.7979 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.212, allocations: 8 kB / 0.7979 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.2121, allocations: 0 / 0.7979 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-06/0.2121, allocations: 0 / 0.7979 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.837e-05/0.2121, allocations: 4.094 kB / 0.7979 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.2121, allocations: 0 / 0.7979 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.095e-05/0.2122, allocations: 7.984 kB / 0.7979 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.2122, allocations: 3.938 kB / 0.7979 GB, free: 0.8125 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.982e-05/0.2123, allocations: 173.7 kB / 0.7981 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-06/0.2123, allocations: 0 / 0.7981 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/0.2126, allocations: 320.7 kB / 0.7984 GB, free: 316 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2126, allocations: 4 kB / 0.7984 GB, free: 312 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.2126, allocations: 4.031 kB / 0.7984 GB, free: 308 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-06/0.2126, allocations: 0 / 0.7984 GB, free: 308 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.2128, allocations: 285.6 kB / 0.7987 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.2128, allocations: 3.984 kB / 0.7987 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.2128, allocations: 4 kB / 0.7987 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2128, allocations: 0 / 0.7987 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.2129, allocations: 4 kB / 0.7987 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2129, allocations: 0 / 0.7987 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2129, allocations: 0 / 0.7987 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.2131, allocations: 348.9 kB / 0.799 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 4.403e-05/0.2132, allocations: 77.11 kB / 0.7991 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.426e-05/0.2132, allocations: 0 / 0.7991 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.658e-05/0.2133, allocations: 4 kB / 0.7991 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.027e-06/0.2133, allocations: 0 / 0.7991 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.2133, allocations: 0 / 0.7991 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.288e-05/0.2134, allocations: 155.2 kB / 0.7992 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2134, allocations: 0 / 0.7992 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007039/0.2141, allocations: 379.9 kB / 0.7996 GB, free: 14.98 MB / 0.6231 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.001356/0.2155, allocations: 0.6926 MB / 0.8003 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002387/0.2157, allocations: 283.9 kB / 0.8006 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2157, allocations: 3.938 kB / 0.8006 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.2158, allocations: 173.6 kB / 0.8007 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.216, allocations: 11.05 kB / 0.8007 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.217, allocations: 0.9655 MB / 0.8017 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.2174, allocations: 0.8146 MB / 0.8025 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2e-05/0.2174, allocations: 4 kB / 0.8025 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.972e-05/0.2174, allocations: 15.42 kB / 0.8025 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.2174, allocations: 0 / 0.8025 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of Templates: time 0.01186/0.2293, allocations: 8.07 MB / 0.8104 GB, free: 4.008 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) Environment - environmentSimulation: