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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 105.1 kB / 16.36 MB, free: 5.961 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.001802/0.001802, allocations: 191.1 kB / 17.3 MB, free: 5.57 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.391/1.391, allocations: 205.1 MB / 223.2 MB, free: 4.051 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.692/1.692, allocations: 292.3 MB / 0.5496 GB, free: 12.74 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.001431/0.001431, allocations: 76.84 kB / 0.673 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1975, allocations: 114.5 MB / 0.7848 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002357/0.1999, allocations: 1.261 MB / 0.786 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004522/0.2045, allocations: 3.351 MB / 0.7893 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.302e-05/0.2045, allocations: 0 / 0.7893 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.62e-05/0.2046, allocations: 0 / 0.7893 GB, free: 8.105 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/ThermalResponseFactors/gFunction.mo:2:1-295:14:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.gFunction' contains a call to impure function 'Modelica.Math.Matrices.solve'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:261:3-308:15:writable] Warning: Pure function 'Modelica.Utilities.Strings.findLast' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/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 'Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.gFunction'. Notification: Performance of NFTyping.typeBindings: time 0.002376/0.207, allocations: 1.001 MB / 0.7903 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 8.077e-05/0.207, allocations: 27.91 kB / 0.7903 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.414e-05/0.2071, allocations: 8 kB / 0.7903 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.151e-05/0.2072, allocations: 15.98 kB / 0.7903 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.213e-05/0.2072, allocations: 7.984 kB / 0.7904 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.964e-05/0.2073, allocations: 21.22 kB / 0.7904 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.2073, allocations: 0 / 0.7904 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001977/0.2093, allocations: 1.439 MB / 0.7918 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.2094, allocations: 149.2 kB / 0.7919 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.905e-05/0.2094, allocations: 4 kB / 0.7919 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.2108, allocations: 1.096 MB / 0.793 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2108, allocations: 0 / 0.793 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2108, allocations: 4 kB / 0.793 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.2108, allocations: 0 / 0.793 GB, free: 4.328 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.000656/0.2115, allocations: 0.5344 MB / 0.7935 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.2115, allocations: 8.031 kB / 0.7935 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.405e-05/0.2116, allocations: 0.9375 kB / 0.7935 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.2117, allocations: 172.3 kB / 0.7937 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.2117, allocations: 384 / 0.7937 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.2117, allocations: 4.125 kB / 0.7937 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.2119, allocations: 173.6 kB / 0.7939 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.212, allocations: 0 / 0.7939 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.212, allocations: 3.938 kB / 0.7939 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.212, allocations: 0 / 0.7939 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/0.2122, allocations: 275.9 kB / 0.7941 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002725/0.2125, allocations: 293.6 kB / 0.7944 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.2126, allocations: 158.5 kB / 0.7946 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.2127, allocations: 148.8 kB / 0.7947 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.226e-06/0.2127, allocations: 4 kB / 0.7947 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.2128, allocations: 30.56 kB / 0.7947 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.2128, allocations: 0 / 0.7947 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0003943/0.2132, allocations: 461.5 kB / 0.7952 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.2132, allocations: 51.41 kB / 0.7952 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.2133, allocations: 165.8 kB / 0.7954 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.2133, allocations: 25.7 kB / 0.7954 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.186e-05/0.2134, allocations: 84.39 kB / 0.7955 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.2134, allocations: 4 kB / 0.7955 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.2134, allocations: 13.72 kB / 0.7955 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.531e-05/0.2135, allocations: 310.8 kB / 0.7958 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.544e-05/0.2136, allocations: 139.9 kB / 0.7959 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.953e-05/0.2137, allocations: 143.9 kB / 0.7961 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.2139, allocations: 284.8 kB / 0.7963 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2139, allocations: 4.062 kB / 0.7964 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002205/0.2141, allocations: 321.5 kB / 0.7967 GB, free: 368 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.2142, allocations: 11.94 kB / 0.7967 GB, free: 356 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.2142, allocations: 0 / 0.7967 GB, free: 356 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.2142, allocations: 0 / 0.7967 GB, free: 356 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.642e-05/0.2142, allocations: 0 / 0.7967 GB, free: 356 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.2143, allocations: 4 kB / 0.7967 GB, free: 352 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.465e-05/0.2143, allocations: 0 / 0.7967 GB, free: 352 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.2143, allocations: 0 / 0.7967 GB, free: 352 kB / 0.6075 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 9.565e-05/0.2144, allocations: 170.5 kB / 0.7968 GB, free: 172 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.102e-05/0.2145, allocations: 7.938 kB / 0.7968 GB, free: 164 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002813/0.2148, allocations: 320.7 kB / 0.7971 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.2148, allocations: 0 / 0.7971 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2148, allocations: 3.938 kB / 0.7972 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.2148, allocations: 7.984 kB / 0.7972 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.215, allocations: 289.5 kB / 0.7974 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.215, allocations: 4 kB / 0.7974 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.02e-07/0.215, allocations: 0 / 0.7974 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.215, allocations: 0 / 0.7974 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.215, allocations: 4.031 kB / 0.7974 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.2151, allocations: 0 / 0.7974 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2151, allocations: 0 / 0.7974 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.2153, allocations: 348.9 kB / 0.7978 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.2154, allocations: 81.02 kB / 0.7979 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.043e-05/0.2154, allocations: 0 / 0.7979 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.645e-05/0.2155, allocations: 4 kB / 0.7979 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.949e-05/0.2155, allocations: 4.031 kB / 0.7979 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.2156, allocations: 0 / 0.7979 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.951e-05/0.2156, allocations: 151.2 kB / 0.798 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.2156, allocations: 0 / 0.798 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008995/0.2165, allocations: 383.9 kB / 0.7984 GB, free: 14.5 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.001554/0.2181, allocations: 0.6865 MB / 0.799 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002799/0.2184, allocations: 283.9 kB / 0.7993 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2184, allocations: 0 / 0.7993 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.2185, allocations: 165.7 kB / 0.7995 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.2188, allocations: 7.875 kB / 0.7995 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.2198, allocations: 0.926 MB / 0.8004 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.2202, allocations: 0.8224 MB / 0.8012 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.825e-05/0.2202, allocations: 3.25 kB / 0.8012 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.72e-05/0.2203, allocations: 11.44 kB / 0.8012 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of SimCode: time 4.11e-07/0.2203, allocations: 3.938 kB / 0.8012 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of Templates: time 0.01356/0.2338, allocations: 8.282 MB / 0.8093 GB, free: 3.375 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile (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 & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)