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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_maint.7.0.x_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_maint.7.0.x_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.00109/0.00109, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001365/0.001365, allocations: 192.6 kB / 16.13 MB, free: 6.605 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.345/1.345, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.494/1.494, allocations: 251.6 MB / 0.5088 GB, free: 3.312 MB / 414.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.002427/0.002427, allocations: 63.91 kB / 0.6216 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5169/0.5193, allocations: 104.7 MB / 0.7238 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002753/0.5221, allocations: 1.319 MB / 0.7251 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005563/0.5277, allocations: 3.549 MB / 0.7286 GB, free: 8.281 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.265e-05/0.5278, allocations: 0 / 0.7286 GB, free: 8.281 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 6.175e-05/0.5279, allocations: 0 / 0.7286 GB, free: 8.281 MB / 0.545 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.002473/0.5304, allocations: 0.7724 MB / 0.7294 GB, free: 7.504 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 8.019e-05/0.5305, allocations: 19.98 kB / 0.7294 GB, free: 7.484 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.995e-05/0.5306, allocations: 35.95 kB / 0.7294 GB, free: 7.449 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.034e-05/0.5306, allocations: 3.984 kB / 0.7294 GB, free: 7.445 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.883e-05/0.5306, allocations: 7.938 kB / 0.7294 GB, free: 7.438 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.5308, allocations: 62.56 kB / 0.7295 GB, free: 7.375 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.5308, allocations: 0 / 0.7295 GB, free: 7.375 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002257/0.533, allocations: 1.447 MB / 0.7309 GB, free: 5.926 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001574/0.5332, allocations: 153.2 kB / 0.731 GB, free: 5.777 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.08e-05/0.5333, allocations: 25.28 kB / 0.7311 GB, free: 5.754 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001631/0.5349, allocations: 1.109 MB / 0.7321 GB, free: 4.645 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.5349, allocations: 0 / 0.7321 GB, free: 4.645 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.61e-07/0.5349, allocations: 4 kB / 0.7322 GB, free: 4.641 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.535, allocations: 0 / 0.7322 GB, free: 4.641 MB / 0.545 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.0007565/0.5357, allocations: 0.5305 MB / 0.7327 GB, free: 4.062 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.5358, allocations: 16.03 kB / 0.7327 GB, free: 4.047 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.236e-05/0.5358, allocations: 4.922 kB / 0.7327 GB, free: 4.043 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.5359, allocations: 164.3 kB / 0.7328 GB, free: 3.844 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.536, allocations: 4.359 kB / 0.7328 GB, free: 3.84 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.536, allocations: 8.125 kB / 0.7329 GB, free: 3.832 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.5362, allocations: 169.6 kB / 0.733 GB, free: 3.66 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.5362, allocations: 0 / 0.733 GB, free: 3.66 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.5362, allocations: 4 kB / 0.733 GB, free: 3.656 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.5362, allocations: 0 / 0.733 GB, free: 3.656 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002051/0.5364, allocations: 283.9 kB / 0.7333 GB, free: 3.379 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002735/0.5367, allocations: 293.7 kB / 0.7336 GB, free: 3.043 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.5368, allocations: 158.5 kB / 0.7337 GB, free: 2.879 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.5369, allocations: 148.8 kB / 0.7339 GB, free: 2.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.338e-06/0.537, allocations: 4 kB / 0.7339 GB, free: 2.727 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.537, allocations: 34.5 kB / 0.7339 GB, free: 2.684 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.537, allocations: 0 / 0.7339 GB, free: 2.684 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0003957/0.5374, allocations: 461.5 kB / 0.7343 GB, free: 2.227 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.5374, allocations: 51.41 kB / 0.7344 GB, free: 2.164 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.5376, allocations: 169.8 kB / 0.7346 GB, free: 1.988 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.5376, allocations: 25.7 kB / 0.7346 GB, free: 1.957 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.903e-05/0.5376, allocations: 80.14 kB / 0.7347 GB, free: 1.875 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.5377, allocations: 0 / 0.7347 GB, free: 1.875 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/0.5377, allocations: 9.719 kB / 0.7347 GB, free: 1.859 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.527e-05/0.5378, allocations: 319.1 kB / 0.735 GB, free: 1.539 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.5379, allocations: 139.9 kB / 0.7351 GB, free: 1.402 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.826e-05/0.538, allocations: 139.9 kB / 0.7352 GB, free: 1.266 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.5382, allocations: 292.7 kB / 0.7355 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5382, allocations: 0 / 0.7355 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003185/0.5386, allocations: 317.5 kB / 0.7358 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.5386, allocations: 5.719 kB / 0.7358 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.5386, allocations: 0 / 0.7358 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.5386, allocations: 4.094 kB / 0.7358 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.848e-05/0.5387, allocations: 4 kB / 0.7358 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.5387, allocations: 3.984 kB / 0.7358 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.417e-05/0.5388, allocations: 7.844 kB / 0.7358 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.5388, allocations: 0 / 0.7358 GB, free: 0.6367 MB / 0.545 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.0001207/0.5389, allocations: 170.7 kB / 0.736 GB, free: 472 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.022e-05/0.5389, allocations: 3.938 kB / 0.736 GB, free: 468 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002994/0.5392, allocations: 324.6 kB / 0.7363 GB, free: 136 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.5393, allocations: 0 / 0.7363 GB, free: 136 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5393, allocations: 4.031 kB / 0.7363 GB, free: 132 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-06/0.5393, allocations: 0 / 0.7363 GB, free: 132 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.5395, allocations: 289.6 kB / 0.7366 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.5395, allocations: 0 / 0.7366 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.32e-07/0.5396, allocations: 0 / 0.7366 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.5396, allocations: 0 / 0.7366 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.5396, allocations: 4 kB / 0.7366 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.5396, allocations: 3.984 kB / 0.7366 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5396, allocations: 0 / 0.7366 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.5398, allocations: 348.9 kB / 0.7369 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.5399, allocations: 77.11 kB / 0.737 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.937e-05/0.54, allocations: 7.984 kB / 0.737 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.665e-05/0.54, allocations: 0 / 0.737 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.482e-05/0.5401, allocations: 0 / 0.737 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.5401, allocations: 0 / 0.737 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.485e-05/0.5402, allocations: 155.2 kB / 0.7372 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5402, allocations: 0 / 0.7372 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008394/0.541, allocations: 387.9 kB / 0.7375 GB, free: 14.8 MB / 0.5606 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.001626/0.5427, allocations: 0.6814 MB / 0.7382 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002674/0.5429, allocations: 287.8 kB / 0.7385 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.5429, allocations: 4 kB / 0.7385 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.5431, allocations: 169.6 kB / 0.7386 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.5434, allocations: 3.938 kB / 0.7386 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.5448, allocations: 1.002 MB / 0.7396 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005269/0.5453, allocations: 0.8185 MB / 0.7404 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.989e-05/0.5453, allocations: 8 kB / 0.7404 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.125e-05/0.5454, allocations: 11.44 kB / 0.7404 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.5454, allocations: 0 / 0.7404 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of Templates: time 0.01456/0.56, allocations: 8.161 MB / 0.7484 GB, free: 3.715 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)