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.442/1.442, allocations: 252 MB / 267.3 MB, free: 10.84 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.001783/0.001783, allocations: 167.2 kB / 327 MB, free: 2.125 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.733/1.733, allocations: 205.4 MB / 0.578 GB, free: 20.16 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.0009041/0.0009042, allocations: 87.73 kB / 0.6826 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003509, allocations: 11.38 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2128, allocations: 106.3 MB / 0.901 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001446/0.2143, allocations: 0.9932 MB / 0.9019 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004601/0.219, allocations: 3.474 MB / 0.9053 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.773e-05/0.219, allocations: 0 / 0.9053 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.877e-05/0.2191, allocations: 0 / 0.9053 GB, free: 58.92 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.002306/0.2214, allocations: 0.7724 MB / 0.9061 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 7.137e-05/0.2215, allocations: 19.98 kB / 0.9061 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.149e-05/0.2216, allocations: 39.89 kB / 0.9061 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.65e-05/0.2216, allocations: 0 / 0.9061 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.358e-05/0.2217, allocations: 8 kB / 0.9061 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.112e-05/0.2218, allocations: 66.56 kB / 0.9062 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.2218, allocations: 0 / 0.9062 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002109/0.2239, allocations: 1.443 MB / 0.9076 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001685/0.2241, allocations: 242.1 kB / 0.9078 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003306/0.2244, allocations: 316.5 kB / 0.9081 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002284/0.2267, allocations: 1.555 MB / 0.9097 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.2267, allocations: 0 / 0.9097 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2267, allocations: 0 / 0.9097 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.318e-05/0.2267, allocations: 0 / 0.9097 GB, free: 54.46 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.001754/0.2285, allocations: 1.121 MB / 0.9108 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.2286, allocations: 12.03 kB / 0.9108 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.182e-05/0.2286, allocations: 30.75 kB / 0.9108 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001994/0.2288, allocations: 48.38 kB / 0.9108 GB, free: 53.19 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006573/0.2295, allocations: 0.6285 MB / 0.9115 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.2295, allocations: 4.375 kB / 0.9115 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.914e-06/0.2295, allocations: 3.938 kB / 0.9115 GB, free: 52.51 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.2297, allocations: 165.6 kB / 0.9116 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.2297, allocations: 0 / 0.9116 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.2297, allocations: 4 kB / 0.9116 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.2297, allocations: 0 / 0.9116 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.2298, allocations: 283.9 kB / 0.9119 GB, free: 52.06 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005362/0.2304, allocations: 0.5287 MB / 0.9124 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.2305, allocations: 170.4 kB / 0.9126 GB, free: 51.31 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.944e-05/0.2306, allocations: 148.9 kB / 0.9127 GB, free: 51.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.2306, allocations: 0 / 0.9127 GB, free: 51.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.2306, allocations: 30.56 kB / 0.9127 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.123e-06/0.2306, allocations: 0 / 0.9127 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.000507/0.2312, allocations: 493 kB / 0.9132 GB, free: 50.63 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.2312, allocations: 51.41 kB / 0.9133 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007595/0.232, allocations: 0.6982 MB / 0.9139 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.604e-06/0.232, allocations: 33.58 kB / 0.914 GB, free: 49.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.2321, allocations: 224.1 kB / 0.9142 GB, free: 49.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.2321, allocations: 7.906 kB / 0.9142 GB, free: 49.59 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-06/0.2321, allocations: 3.938 kB / 0.9142 GB, free: 49.59 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.369e-05/0.2322, allocations: 362.8 kB / 0.9146 GB, free: 49.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.669e-05/0.2323, allocations: 139.9 kB / 0.9147 GB, free: 49.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.533e-05/0.2324, allocations: 139.9 kB / 0.9148 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.2325, allocations: 292.8 kB / 0.9151 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2325, allocations: 0 / 0.9151 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002787/0.2328, allocations: 361 kB / 0.9154 GB, free: 48.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.2328, allocations: 4 kB / 0.9154 GB, free: 48.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2328, allocations: 0 / 0.9154 GB, free: 48.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.2328, allocations: 0 / 0.9154 GB, free: 48.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.626e-05/0.2329, allocations: 7.938 kB / 0.9155 GB, free: 48.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.2329, allocations: 0 / 0.9155 GB, free: 48.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.2331, allocations: 28 kB / 0.9155 GB, free: 48.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.2331, allocations: 4.016 kB / 0.9155 GB, free: 48.26 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001285/0.2333, allocations: 209.7 kB / 0.9157 GB, free: 48.05 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.909e-05/0.2334, allocations: 43.44 kB / 0.9157 GB, free: 48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002584/0.2337, allocations: 377 kB / 0.9161 GB, free: 47.62 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2337, allocations: 0 / 0.9161 GB, free: 47.62 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2337, allocations: 0 / 0.9161 GB, free: 47.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2337, allocations: 0 / 0.9161 GB, free: 47.62 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/0.234, allocations: 441.5 kB / 0.9165 GB, free: 47.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.234, allocations: 0 / 0.9165 GB, free: 47.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.154e-06/0.234, allocations: 8.016 kB / 0.9165 GB, free: 47.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.234, allocations: 0 / 0.9165 GB, free: 47.14 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.234, allocations: 0 / 0.9165 GB, free: 47.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.234, allocations: 0 / 0.9165 GB, free: 47.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.234, allocations: 7.938 kB / 0.9165 GB, free: 47.13 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.2343, allocations: 384.4 kB / 0.9169 GB, free: 46.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003166/0.2346, allocations: 328.3 kB / 0.9172 GB, free: 46.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.2348, allocations: 0 / 0.9172 GB, free: 46.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.235, allocations: 36.03 kB / 0.9172 GB, free: 46.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.223e-05/0.235, allocations: 0 / 0.9172 GB, free: 46.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.235, allocations: 4 kB / 0.9172 GB, free: 46.36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005568/0.2356, allocations: 0.5299 MB / 0.9178 GB, free: 45.83 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2356, allocations: 0 / 0.9178 GB, free: 45.83 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009839/0.2366, allocations: 383.8 kB / 0.9181 GB, free: 45.45 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 (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.002187/0.2388, allocations: 1.506 MB / 0.9196 GB, free: 43.99 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002309/0.239, allocations: 279.9 kB / 0.9199 GB, free: 43.72 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.239, allocations: 0 / 0.9199 GB, free: 43.72 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.782e-05/0.2391, allocations: 173.6 kB / 0.92 GB, free: 43.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.2395, allocations: 32.56 kB / 0.9201 GB, free: 43.52 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007236/0.2467, allocations: 7.365 MB / 0.9272 GB, free: 36.06 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.247, allocations: 0.8197 MB / 0.9281 GB, free: 35.21 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00118/0.2482, allocations: 444.8 kB / 0.9285 GB, free: 34.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005745/0.2488, allocations: 363.2 kB / 0.9288 GB, free: 34.45 MB / 0.6042 GB Notification: Performance of SimCode: time 7.21e-07/0.2488, allocations: 0 / 0.9288 GB, free: 34.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03619/0.285, allocations: 20.7 MB / 0.949 GB, free: 13.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/0.2852, allocations: 334.3 kB / 0.9494 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.486/2.771, allocations: 0 / 0.9494 GB, free: 13.55 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)