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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="Buildings_8_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_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007834/0.0007833, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.005525/0.005525, allocations: 172.3 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.278/1.278, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.609/1.609, allocations: 292.7 MB / 0.5502 GB, free: 14.43 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.0005172/0.0005171, allocations: 15.28 kB / 0.6745 GB, free: 25.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1966, allocations: 116.3 MB / 0.788 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001284/0.1979, allocations: 0.9899 MB / 0.789 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004912/0.2029, allocations: 3.47 MB / 0.7924 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.574e-05/0.2029, allocations: 0 / 0.7924 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.295e-05/0.203, allocations: 0 / 0.7924 GB, free: 6.957 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.002148/0.2051, allocations: 0.7724 MB / 0.7931 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.628e-05/0.2052, allocations: 31.91 kB / 0.7932 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.892e-05/0.2053, allocations: 31.97 kB / 0.7932 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.672e-05/0.2053, allocations: 0 / 0.7932 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.969e-05/0.2053, allocations: 4 kB / 0.7932 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.2054, allocations: 74.48 kB / 0.7933 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.939e-06/0.2055, allocations: 0 / 0.7933 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002052/0.2075, allocations: 1.439 MB / 0.7947 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002003/0.2077, allocations: 250.1 kB / 0.7949 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003231/0.2081, allocations: 304.5 kB / 0.7952 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002048/0.2101, allocations: 1.563 MB / 0.7967 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2101, allocations: 4 kB / 0.7967 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2101, allocations: 0 / 0.7967 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.2101, allocations: 0 / 0.7967 GB, free: 2.48 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.001739/0.2119, allocations: 1.125 MB / 0.7978 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.2119, allocations: 8.031 kB / 0.7978 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.513e-05/0.212, allocations: 30.75 kB / 0.7979 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.2121, allocations: 52.28 kB / 0.7979 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007051/0.2128, allocations: 0.6208 MB / 0.7985 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.2129, allocations: 384 / 0.7985 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.2129, allocations: 11.92 kB / 0.7985 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.2131, allocations: 169.6 kB / 0.7987 GB, free: 368 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.36e-06/0.2131, allocations: 3.938 kB / 0.7987 GB, free: 364 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.2131, allocations: 0 / 0.7987 GB, free: 364 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.2131, allocations: 3.938 kB / 0.7987 GB, free: 360 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001901/0.2133, allocations: 283.8 kB / 0.799 GB, free: 76 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005777/0.2139, allocations: 0.5248 MB / 0.7995 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.214, allocations: 162.5 kB / 0.7997 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.2141, allocations: 148.9 kB / 0.7998 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.751e-06/0.2142, allocations: 4 kB / 0.7998 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.2142, allocations: 34.56 kB / 0.7998 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.2142, allocations: 0 / 0.7998 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1): time 0.0004962/0.2147, allocations: 496.9 kB / 0.8003 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.2147, allocations: 51.41 kB / 0.8004 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009099/0.2156, allocations: 0.6864 MB / 0.801 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.2157, allocations: 33.83 kB / 0.8011 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.2158, allocations: 228.1 kB / 0.8013 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.2159, allocations: 0 / 0.8013 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.369e-05/0.2159, allocations: 9.719 kB / 0.8013 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.216, allocations: 366.8 kB / 0.8016 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.92e-05/0.2161, allocations: 139.9 kB / 0.8018 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.2163, allocations: 140 kB / 0.8019 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/0.2165, allocations: 292.7 kB / 0.8022 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2165, allocations: 4 kB / 0.8022 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003479/0.2168, allocations: 361 kB / 0.8025 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.2169, allocations: 4 kB / 0.8025 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2169, allocations: 0 / 0.8025 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.2169, allocations: 4 kB / 0.8025 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.581e-05/0.217, allocations: 0 / 0.8025 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.217, allocations: 0 / 0.8025 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.2172, allocations: 28 kB / 0.8026 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.2172, allocations: 4 kB / 0.8026 GB, free: 12.27 MB / 0.6231 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.0001731/0.2174, allocations: 214.4 kB / 0.8028 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.2175, allocations: 47.34 kB / 0.8028 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003339/0.2178, allocations: 372.9 kB / 0.8032 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.2178, allocations: 0 / 0.8032 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2178, allocations: 0 / 0.8032 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.2178, allocations: 7.984 kB / 0.8032 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003887/0.2182, allocations: 441.4 kB / 0.8036 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.2183, allocations: 4 kB / 0.8036 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.31e-07/0.2183, allocations: 0 / 0.8036 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2183, allocations: 4.031 kB / 0.8036 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-06/0.2183, allocations: 0 / 0.8036 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2183, allocations: 0 / 0.8036 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.2183, allocations: 3.984 kB / 0.8036 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003488/0.2186, allocations: 388.4 kB / 0.804 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003377/0.219, allocations: 328.3 kB / 0.8043 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.2191, allocations: 7.875 kB / 0.8043 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.2193, allocations: 32.02 kB / 0.8043 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.2193, allocations: 4 kB / 0.8043 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.2193, allocations: 4 kB / 0.8043 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006488/0.22, allocations: 0.53 MB / 0.8049 GB, free: 9.82 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.22, allocations: 0 / 0.8049 GB, free: 9.82 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000982/0.221, allocations: 375.8 kB / 0.8052 GB, free: 9.453 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 (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.00224/0.2232, allocations: 1.509 MB / 0.8067 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002503/0.2235, allocations: 287.8 kB / 0.807 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2235, allocations: 0 / 0.807 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.2236, allocations: 169.6 kB / 0.8071 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.224, allocations: 34.31 kB / 0.8072 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008388/0.2324, allocations: 7.365 MB / 0.8144 GB, free: 56 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.2328, allocations: 0.8197 MB / 0.8152 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001233/0.234, allocations: 438.9 kB / 0.8156 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006499/0.2347, allocations: 359.2 kB / 0.8159 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of SimCode: time 5.51e-07/0.2347, allocations: 4 kB / 0.8159 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6905/0.9253, allocations: 20.71 MB / 0.8361 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003959/0.9257, allocations: 322.1 kB / 0.8364 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.254/3.179, allocations: 64 / 0.8364 GB, free: 9.609 MB / 0.6544 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)