Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.577/2.577, allocations: 287.5 MB / 302.4 MB, free: 8.324 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.001544/0.001544, allocations: 188.5 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.06/2.06, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0009775/0.0009775, allocations: 85.12 kB / 0.743 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000495/0.0004952, allocations: 15.31 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2156, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001425/0.217, allocations: 0.9835 MB / 0.9794 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005927/0.223, allocations: 3.106 MB / 0.9825 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.82e-05/0.2231, allocations: 0 / 0.9825 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.253e-05/0.2232, allocations: 3.984 kB / 0.9825 GB, free: 24.14 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.003203/0.2264, allocations: 0.7502 MB / 0.9832 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001063/0.2265, allocations: 23.97 kB / 0.9832 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.74e-05/0.2266, allocations: 23.92 kB / 0.9833 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.402e-05/0.2267, allocations: 3.984 kB / 0.9833 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.574e-05/0.2267, allocations: 7.984 kB / 0.9833 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.2268, allocations: 63.97 kB / 0.9833 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.2268, allocations: 0 / 0.9833 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003123/0.23, allocations: 1.322 MB / 0.9846 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002469/0.2303, allocations: 267.5 kB / 0.9849 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.5e-05/0.2304, allocations: 77.52 kB / 0.985 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00226/0.2327, allocations: 1.127 MB / 0.9861 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.2327, allocations: 0 / 0.9861 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.966e-06/0.2327, allocations: 0 / 0.9861 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.2327, allocations: 0 / 0.9861 GB, free: 20.47 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.002604/0.2354, allocations: 1.133 MB / 0.9872 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.2354, allocations: 16.02 kB / 0.9872 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.3e-05/0.2355, allocations: 30.56 kB / 0.9872 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000251/0.2357, allocations: 51.3 kB / 0.9873 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.2368, allocations: 0.5966 MB / 0.9878 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.2368, allocations: 7.938 kB / 0.9878 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.2368, allocations: 0 / 0.9878 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.237, allocations: 165.6 kB / 0.988 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.2371, allocations: 0 / 0.988 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.2371, allocations: 0 / 0.988 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.2371, allocations: 11.98 kB / 0.988 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002188/0.2373, allocations: 279.8 kB / 0.9883 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007989/0.2381, allocations: 0.5287 MB / 0.9888 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.2383, allocations: 158.5 kB / 0.989 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.2384, allocations: 148.9 kB / 0.9891 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.2384, allocations: 0 / 0.9891 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.2385, allocations: 30.56 kB / 0.9891 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.854e-06/0.2385, allocations: 4 kB / 0.9891 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0006674/0.2392, allocations: 497 kB / 0.9896 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.2392, allocations: 55.39 kB / 0.9897 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/0.2406, allocations: 0.6941 MB / 0.9903 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.2406, allocations: 25.7 kB / 0.9904 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.2408, allocations: 232.1 kB / 0.9906 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.2409, allocations: 0 / 0.9906 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.2409, allocations: 3.938 kB / 0.9906 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.241, allocations: 370.9 kB / 0.9909 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.2411, allocations: 140 kB / 0.9911 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.2412, allocations: 139.9 kB / 0.9912 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.2414, allocations: 139.9 kB / 0.9913 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2414, allocations: 0 / 0.9913 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0005227/0.2419, allocations: 353 kB / 0.9917 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.242, allocations: 7.984 kB / 0.9917 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.242, allocations: 0 / 0.9917 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.242, allocations: 4.094 kB / 0.9917 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.677e-05/0.2421, allocations: 4 kB / 0.9917 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.884e-06/0.2421, allocations: 0 / 0.9917 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004123/0.2425, allocations: 31.98 kB / 0.9917 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.2425, allocations: 3.953 kB / 0.9917 GB, free: 14.44 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.0002397/0.2428, allocations: 213.7 kB / 0.9919 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001905/0.243, allocations: 43.42 kB / 0.992 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000401/0.2434, allocations: 376.9 kB / 0.9923 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.2434, allocations: 4.031 kB / 0.9923 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.2434, allocations: 0 / 0.9923 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.2435, allocations: 3.984 kB / 0.9923 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005072/0.244, allocations: 437.5 kB / 0.9928 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.849e-06/0.244, allocations: 0 / 0.9928 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.635e-06/0.244, allocations: 4 kB / 0.9928 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.244, allocations: 3.938 kB / 0.9928 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.244, allocations: 4 kB / 0.9928 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.244, allocations: 0 / 0.9928 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.2441, allocations: 0 / 0.9928 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004823/0.2445, allocations: 388.3 kB / 0.9931 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000511/0.2451, allocations: 332.3 kB / 0.9934 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002472/0.2453, allocations: 4 kB / 0.9935 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003941/0.2457, allocations: 28 kB / 0.9935 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.739e-05/0.2458, allocations: 3.984 kB / 0.9935 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.2458, allocations: 0 / 0.9935 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001112/0.2469, allocations: 0.5299 MB / 0.994 GB, free: 12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.11e-07/0.2469, allocations: 0 / 0.994 GB, free: 12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00148/0.2484, allocations: 391.8 kB / 0.9944 GB, free: 11.62 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.003053/0.2515, allocations: 1.492 MB / 0.9958 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000322/0.2519, allocations: 287.9 kB / 0.9961 GB, free: 9.898 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2519, allocations: 0 / 0.9961 GB, free: 9.898 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.252, allocations: 165.6 kB / 0.9963 GB, free: 9.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005966/0.2526, allocations: 35.62 kB / 0.9963 GB, free: 9.699 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00833/0.261, allocations: 4.052 MB / 1 GB, free: 5.594 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.2614, allocations: 0.8236 MB / 1.001 GB, free: 4.746 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002201/0.2636, allocations: 442.1 kB / 1.001 GB, free: 4.352 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001203/0.2648, allocations: 365.2 kB / 1.002 GB, free: 3.996 MB / 0.6198 GB Notification: Performance of SimCode: time 1.613e-06/0.2649, allocations: 0 / 1.002 GB, free: 3.996 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0675/0.3324, allocations: 20.52 MB / 1.022 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003354/0.3328, allocations: 315 kB / 1.022 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.566/3.899, allocations: 0 / 1.022 GB, free: 15.3 MB / 0.6511 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)