Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.475/1.475, allocations: 288.4 MB / 303.6 MB, free: 8.121 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000926/0.000926, allocations: 175.5 kB / 372.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.189/1.189, allocations: 205.4 MB / 0.631 GB, free: 9.918 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006601/0.0006601, allocations: 98.28 kB / 0.7444 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003107/0.0003107, allocations: 12.56 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1529, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001053/0.154, allocations: 0.9823 MB / 0.9812 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003509/0.1575, allocations: 3.112 MB / 0.9842 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.883e-05/0.1576, allocations: 0 / 0.9842 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.051e-05/0.1576, allocations: 0 / 0.9842 GB, free: 23.14 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.001814/0.1594, allocations: 0.7657 MB / 0.985 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 6.341e-05/0.1595, allocations: 23.92 kB / 0.985 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.008e-05/0.1596, allocations: 27.97 kB / 0.985 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.124e-05/0.1596, allocations: 4 kB / 0.985 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.12e-05/0.1596, allocations: 11.92 kB / 0.985 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.672e-05/0.1597, allocations: 59.97 kB / 0.9851 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.358e-06/0.1597, allocations: 0 / 0.9851 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001599/0.1613, allocations: 1.365 MB / 0.9864 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.1615, allocations: 263.5 kB / 0.9867 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002687/0.1618, allocations: 292.6 kB / 0.987 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.1629, allocations: 1.166 MB / 0.9881 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1629, allocations: 0 / 0.9881 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.794e-06/0.1629, allocations: 0 / 0.9881 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.1629, allocations: 0 / 0.9881 GB, free: 19.16 MB / 0.6198 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.001442/0.1644, allocations: 1.127 MB / 0.9892 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.1644, allocations: 8.031 kB / 0.9892 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.226e-05/0.1645, allocations: 30.75 kB / 0.9892 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.1646, allocations: 52.28 kB / 0.9893 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005504/0.1651, allocations: 0.6208 MB / 0.9899 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.1652, allocations: 384 / 0.9899 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.1652, allocations: 3.938 kB / 0.9899 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.1653, allocations: 169.6 kB / 0.9901 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.2e-06/0.1653, allocations: 0 / 0.9901 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.1653, allocations: 0 / 0.9901 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-06/0.1653, allocations: 0 / 0.9901 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.1655, allocations: 283.8 kB / 0.9903 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004123/0.1659, allocations: 0.5327 MB / 0.9908 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.335e-05/0.166, allocations: 166.5 kB / 0.991 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.939e-05/0.1661, allocations: 144.9 kB / 0.9911 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/0.1661, allocations: 0 / 0.9911 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.323e-05/0.1661, allocations: 38.56 kB / 0.9912 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 6.82e-07/0.1661, allocations: 0 / 0.9912 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0003583/0.1665, allocations: 492.9 kB / 0.9916 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/0.1665, allocations: 55.53 kB / 0.9917 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006587/0.1672, allocations: 0.7019 MB / 0.9924 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.071e-06/0.1672, allocations: 29.64 kB / 0.9924 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.035e-05/0.1673, allocations: 220.1 kB / 0.9926 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.1673, allocations: 4 kB / 0.9926 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.255e-06/0.1673, allocations: 0 / 0.9926 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.75e-05/0.1674, allocations: 366.8 kB / 0.993 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.533e-05/0.1674, allocations: 139.9 kB / 0.9931 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.167e-05/0.1675, allocations: 143.9 kB / 0.9932 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.1676, allocations: 288.8 kB / 0.9935 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1676, allocations: 3.938 kB / 0.9935 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002379/0.1679, allocations: 361 kB / 0.9939 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.1679, allocations: 4 kB / 0.9939 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.1679, allocations: 0 / 0.9939 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.1679, allocations: 0 / 0.9939 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.903e-05/0.168, allocations: 4 kB / 0.9939 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.168, allocations: 0 / 0.9939 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/0.1682, allocations: 32.09 kB / 0.9939 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.1682, allocations: 0 / 0.9939 GB, free: 12.97 MB / 0.6198 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 0.0001111/0.1683, allocations: 215.2 kB / 0.9941 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.548e-05/0.1684, allocations: 47.34 kB / 0.9942 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002235/0.1686, allocations: 380.9 kB / 0.9945 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1686, allocations: 0 / 0.9945 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1686, allocations: 0 / 0.9945 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1686, allocations: 0 / 0.9945 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.1689, allocations: 445.5 kB / 0.9949 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1689, allocations: 0 / 0.9949 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-07/0.1689, allocations: 0 / 0.9949 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1689, allocations: 3.984 kB / 0.995 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-06/0.1689, allocations: 0 / 0.995 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1689, allocations: 3.984 kB / 0.995 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1689, allocations: 4 kB / 0.995 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.1692, allocations: 376.4 kB / 0.9953 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003067/0.1695, allocations: 340.3 kB / 0.9956 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.1696, allocations: 0 / 0.9956 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.1698, allocations: 32 kB / 0.9957 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.938e-06/0.1698, allocations: 3.938 kB / 0.9957 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.1698, allocations: 0 / 0.9957 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004992/0.1703, allocations: 0.5338 MB / 0.9962 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1703, allocations: 0 / 0.9962 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000847/0.1712, allocations: 379.8 kB / 0.9966 GB, free: 10.16 MB / 0.6198 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.001599/0.1728, allocations: 1.516 MB / 0.998 GB, free: 8.691 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001705/0.173, allocations: 279.9 kB / 0.9983 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.173, allocations: 0 / 0.9983 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.387e-05/0.1731, allocations: 173.6 kB / 0.9985 GB, free: 8.242 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.1734, allocations: 38.44 kB / 0.9985 GB, free: 8.207 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003859/0.1772, allocations: 4.059 MB / 1.002 GB, free: 4.094 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.1774, allocations: 0.8158 MB / 1.003 GB, free: 3.254 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001097/0.1785, allocations: 438.7 kB / 1.004 GB, free: 2.836 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000531/0.1791, allocations: 359.2 kB / 1.004 GB, free: 2.484 MB / 0.6198 GB Notification: Performance of SimCode: time 4.21e-07/0.1791, allocations: 0 / 1.004 GB, free: 2.484 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3993/0.5784, allocations: 20.5 MB / 1.024 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002464/0.5787, allocations: 325.9 kB / 1.024 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.895/3.473, allocations: 0 / 1.024 GB, free: 13.8 MB / 0.6511 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)