Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.467/1.467, allocations: 252 MB / 267 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009319/0.0009319, allocations: 182.6 kB / 326.6 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.645/1.645, allocations: 205.4 MB / 0.5777 GB, free: 20.49 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007671/0.0007671, allocations: 90.14 kB / 0.6822 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003474, allocations: 8.969 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2161, allocations: 106.3 MB / 0.9003 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001366/0.2176, allocations: 0.9853 MB / 0.9013 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004065/0.2217, allocations: 3.117 MB / 0.9043 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.231e-05/0.2217, allocations: 4 kB / 0.9044 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.692e-05/0.2218, allocations: 0 / 0.9044 GB, free: 60.03 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.002389/0.2242, allocations: 0.7568 MB / 0.9051 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 8.25e-05/0.2243, allocations: 23.97 kB / 0.9051 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.031e-05/0.2243, allocations: 23.97 kB / 0.9051 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.171e-05/0.2244, allocations: 0 / 0.9051 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.603e-05/0.2244, allocations: 7.938 kB / 0.9051 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.087e-05/0.2245, allocations: 63.97 kB / 0.9052 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.2245, allocations: 3.938 kB / 0.9052 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001996/0.2265, allocations: 1.326 MB / 0.9065 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.2267, allocations: 259.5 kB / 0.9068 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.373e-05/0.2268, allocations: 81.45 kB / 0.9068 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001545/0.2284, allocations: 1.127 MB / 0.9079 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2284, allocations: 0 / 0.9079 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.425e-06/0.2284, allocations: 0 / 0.9079 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.2284, allocations: 0 / 0.9079 GB, free: 56.35 MB / 0.6042 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.001743/0.2302, allocations: 1.133 MB / 0.909 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.2302, allocations: 12.03 kB / 0.909 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.822e-05/0.2302, allocations: 30.56 kB / 0.9091 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002061/0.2305, allocations: 51.39 kB / 0.9091 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006974/0.2312, allocations: 0.6005 MB / 0.9097 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.2312, allocations: 0 / 0.9097 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.2312, allocations: 3.938 kB / 0.9097 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.2314, allocations: 169.6 kB / 0.9099 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.2314, allocations: 0 / 0.9099 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.2314, allocations: 0 / 0.9099 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.2314, allocations: 0 / 0.9099 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.2316, allocations: 287.8 kB / 0.9102 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004974/0.2321, allocations: 0.5287 MB / 0.9107 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.2322, allocations: 158.5 kB / 0.9108 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.452e-05/0.2323, allocations: 152.8 kB / 0.911 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.919e-06/0.2323, allocations: 0 / 0.911 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.259e-05/0.2323, allocations: 30.56 kB / 0.911 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.2323, allocations: 8 kB / 0.911 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0004269/0.2327, allocations: 489 kB / 0.9115 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.2328, allocations: 51.41 kB / 0.9115 GB, free: 52.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007722/0.2336, allocations: 0.698 MB / 0.9122 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.268e-06/0.2336, allocations: 29.7 kB / 0.9122 GB, free: 51.74 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.2337, allocations: 220.1 kB / 0.9124 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.2337, allocations: 3.906 kB / 0.9124 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-06/0.2337, allocations: 4 kB / 0.9124 GB, free: 51.51 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.335e-05/0.2338, allocations: 366.9 kB / 0.9128 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.826e-05/0.2339, allocations: 147.9 kB / 0.9129 GB, free: 51 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.714e-05/0.234, allocations: 139.9 kB / 0.9131 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.764e-05/0.234, allocations: 140 kB / 0.9132 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2341, allocations: 0 / 0.9132 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002779/0.2343, allocations: 357 kB / 0.9135 GB, free: 50.37 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.2344, allocations: 4 kB / 0.9135 GB, free: 50.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.2344, allocations: 0 / 0.9135 GB, free: 50.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.2344, allocations: 4 kB / 0.9136 GB, free: 50.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.621e-05/0.2345, allocations: 11.97 kB / 0.9136 GB, free: 50.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.2345, allocations: 3.984 kB / 0.9136 GB, free: 50.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.2347, allocations: 28 kB / 0.9136 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.2347, allocations: 7.953 kB / 0.9136 GB, free: 50.31 MB / 0.6042 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.0001334/0.2348, allocations: 201.8 kB / 0.9138 GB, free: 50.11 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.235, allocations: 43.44 kB / 0.9138 GB, free: 50.06 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002618/0.2352, allocations: 376.9 kB / 0.9142 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.2352, allocations: 0 / 0.9142 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2352, allocations: 4.031 kB / 0.9142 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.2353, allocations: 0 / 0.9142 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003247/0.2356, allocations: 449.4 kB / 0.9146 GB, free: 49.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.2356, allocations: 0 / 0.9146 GB, free: 49.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.513e-06/0.2356, allocations: 4 kB / 0.9146 GB, free: 49.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.2356, allocations: 0 / 0.9146 GB, free: 49.19 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.2356, allocations: 0 / 0.9146 GB, free: 49.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2356, allocations: 0 / 0.9146 GB, free: 49.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2356, allocations: 0 / 0.9146 GB, free: 49.19 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002823/0.2359, allocations: 388.3 kB / 0.915 GB, free: 48.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003218/0.2363, allocations: 336.3 kB / 0.9153 GB, free: 48.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.2364, allocations: 0 / 0.9153 GB, free: 48.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.2366, allocations: 28 kB / 0.9153 GB, free: 48.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.787e-05/0.2366, allocations: 0 / 0.9153 GB, free: 48.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.2366, allocations: 4 kB / 0.9154 GB, free: 48.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000595/0.2372, allocations: 0.5299 MB / 0.9159 GB, free: 47.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2372, allocations: 0 / 0.9159 GB, free: 47.88 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009924/0.2382, allocations: 379.8 kB / 0.9162 GB, free: 47.51 MB / 0.6042 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.002231/0.2405, allocations: 1.504 MB / 0.9177 GB, free: 46.05 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002067/0.2407, allocations: 287.8 kB / 0.918 GB, free: 45.77 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2407, allocations: 4.062 kB / 0.918 GB, free: 45.77 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.496e-05/0.2408, allocations: 169.6 kB / 0.9181 GB, free: 45.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.2412, allocations: 34.31 kB / 0.9182 GB, free: 45.57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004696/0.2459, allocations: 4.048 MB / 0.9221 GB, free: 41.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.2461, allocations: 0.8158 MB / 0.9229 GB, free: 40.62 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001204/0.2473, allocations: 445 kB / 0.9233 GB, free: 40.21 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005785/0.2479, allocations: 359.2 kB / 0.9237 GB, free: 39.86 MB / 0.6042 GB Notification: Performance of SimCode: time 1.242e-06/0.2479, allocations: 0 / 0.9237 GB, free: 39.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03243/0.2803, allocations: 20.51 MB / 0.9437 GB, free: 19.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/0.2806, allocations: 314.1 kB / 0.944 GB, free: 19.19 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.397/2.678, allocations: 0 / 0.944 GB, free: 19.19 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_maint.7.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_7_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_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)