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.001016/0.001016, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001063/0.001063, allocations: 191.3 kB / 16.25 MB, free: 6.633 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.216/1.216, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.518/1.518, allocations: 292.3 MB / 0.5486 GB, free: 13.58 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.001647/0.001647, allocations: 76.66 kB / 0.6711 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1758, allocations: 114.6 MB / 0.783 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002236/0.1781, allocations: 1.317 MB / 0.7843 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004463/0.1826, allocations: 3.353 MB / 0.7876 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.784e-05/0.1826, allocations: 0 / 0.7876 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.357e-05/0.1826, allocations: 4 kB / 0.7876 GB, free: 9.031 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.002224/0.1849, allocations: 0.8782 MB / 0.7884 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 8e-05/0.185, allocations: 27.97 kB / 0.7885 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.674e-05/0.185, allocations: 19.92 kB / 0.7885 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.567e-05/0.1851, allocations: 4 kB / 0.7885 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.879e-05/0.1851, allocations: 4 kB / 0.7885 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.503e-05/0.1852, allocations: 70.48 kB / 0.7886 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.136e-06/0.1852, allocations: 0 / 0.7886 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001775/0.187, allocations: 1.447 MB / 0.79 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.1872, allocations: 250.1 kB / 0.7902 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002728/0.1875, allocations: 278.8 kB / 0.7905 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001526/0.189, allocations: 1.555 MB / 0.792 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.189, allocations: 4 kB / 0.792 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.343e-06/0.189, allocations: 0 / 0.792 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.189, allocations: 0 / 0.792 GB, free: 4.496 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.001661/0.1907, allocations: 1.398 MB / 0.7934 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.1907, allocations: 12.03 kB / 0.7934 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.504e-05/0.1908, allocations: 30.75 kB / 0.7934 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/0.1909, allocations: 44.38 kB / 0.7934 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006128/0.1916, allocations: 0.6285 MB / 0.7941 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.1916, allocations: 384 / 0.7941 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-06/0.1916, allocations: 3.938 kB / 0.7941 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.1918, allocations: 169.6 kB / 0.7942 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.1918, allocations: 3.938 kB / 0.7942 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-06/0.1918, allocations: 0 / 0.7942 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.1918, allocations: 0 / 0.7942 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000179/0.192, allocations: 287.9 kB / 0.7945 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005016/0.1925, allocations: 0.5248 MB / 0.795 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.1926, allocations: 166.4 kB / 0.7952 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.503e-05/0.1927, allocations: 144.9 kB / 0.7953 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.1927, allocations: 0 / 0.7953 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.1927, allocations: 42.5 kB / 0.7954 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 7.42e-07/0.1927, allocations: 0 / 0.7954 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0005005/0.1933, allocations: 493 kB / 0.7958 GB, free: 400 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.1933, allocations: 51.41 kB / 0.7959 GB, free: 336 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008244/0.1941, allocations: 0.6942 MB / 0.7966 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.1941, allocations: 25.7 kB / 0.7966 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.1943, allocations: 232 kB / 0.7968 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.1943, allocations: 7.891 kB / 0.7968 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.343e-05/0.1943, allocations: 9.719 kB / 0.7968 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.1944, allocations: 370.9 kB / 0.7972 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.231e-05/0.1945, allocations: 140 kB / 0.7973 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.254e-05/0.1946, allocations: 139.9 kB / 0.7974 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.1948, allocations: 292.7 kB / 0.7977 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1948, allocations: 0 / 0.7977 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000365/0.1952, allocations: 353 kB / 0.798 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.1952, allocations: 8 kB / 0.7981 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.1952, allocations: 0 / 0.7981 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.1952, allocations: 8.078 kB / 0.7981 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.427e-05/0.1953, allocations: 3.938 kB / 0.7981 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.1953, allocations: 0 / 0.7981 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.1955, allocations: 32 kB / 0.7981 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.1955, allocations: 0 / 0.7981 GB, free: 14 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.0001391/0.1957, allocations: 205.7 kB / 0.7983 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.1958, allocations: 43.44 kB / 0.7983 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002839/0.1961, allocations: 380.9 kB / 0.7987 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1961, allocations: 4.031 kB / 0.7987 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1961, allocations: 4 kB / 0.7987 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.1962, allocations: 0 / 0.7987 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003552/0.1965, allocations: 449.4 kB / 0.7991 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1965, allocations: 0 / 0.7991 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-07/0.1965, allocations: 0 / 0.7991 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.1965, allocations: 0 / 0.7991 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.1965, allocations: 0 / 0.7991 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.1965, allocations: 0 / 0.7991 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1966, allocations: 0 / 0.7991 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003887/0.1969, allocations: 392.3 kB / 0.7995 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003251/0.1973, allocations: 328.3 kB / 0.7998 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.1974, allocations: 0 / 0.7998 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.1976, allocations: 32 kB / 0.7999 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.427e-06/0.1976, allocations: 4 kB / 0.7999 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.1976, allocations: 0 / 0.7999 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006338/0.1983, allocations: 0.5299 MB / 0.8004 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1983, allocations: 3.938 kB / 0.8004 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007969/0.1991, allocations: 375.9 kB / 0.8007 GB, free: 11.2 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.00193/0.201, allocations: 1.51 MB / 0.8022 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002233/0.2013, allocations: 287.9 kB / 0.8025 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2013, allocations: 4.062 kB / 0.8025 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.2014, allocations: 169.6 kB / 0.8027 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.2017, allocations: 37.09 kB / 0.8027 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007836/0.2095, allocations: 7.366 MB / 0.8099 GB, free: 1.797 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.2099, allocations: 0.8236 MB / 0.8107 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001157/0.211, allocations: 444.8 kB / 0.8111 GB, free: 0.5469 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000602/0.2116, allocations: 367.2 kB / 0.8115 GB, free: 192 kB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.2116, allocations: 0 / 0.8115 GB, free: 192 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.807/2.019, allocations: 21.25 MB / 0.8322 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002921/2.019, allocations: 328.3 kB / 0.8325 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.164/4.183, allocations: 4 kB / 0.8325 GB, free: 10.76 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)