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.007337/0.007337, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001449/0.001449, allocations: 190.4 kB / 16.67 MB, free: 5.98 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.413/1.413, allocations: 205.1 MB / 222.5 MB, free: 4.395 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.574/1.574, allocations: 251.7 MB / 0.5094 GB, free: 3.027 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.001565/0.001565, allocations: 78.08 kB / 0.7258 GB, free: 8.984 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.235, allocations: 104.7 MB / 0.8281 GB, free: 180 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002712/0.2377, allocations: 1.26 MB / 0.8293 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00547/0.2432, allocations: 3.351 MB / 0.8326 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.201e-05/0.2433, allocations: 0 / 0.8326 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.577e-05/0.2434, allocations: 0 / 0.8326 GB, free: 11.54 MB / 0.6544 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 7.0.3-maint.7.0.x/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/ThermalResponseFactors/gFunction.mo:2:1-281: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 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 'Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.gFunction'. Notification: Performance of NFTyping.typeBindings: time 0.002795/0.2462, allocations: 1.004 MB / 0.8336 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 9.078e-05/0.2463, allocations: 31.91 kB / 0.8336 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.596e-05/0.2464, allocations: 16 kB / 0.8336 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.311e-05/0.2464, allocations: 4 kB / 0.8336 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.535e-05/0.2465, allocations: 11.97 kB / 0.8336 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.861e-05/0.2465, allocations: 17.28 kB / 0.8336 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.649e-06/0.2465, allocations: 0 / 0.8336 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002196/0.2487, allocations: 1.447 MB / 0.8351 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.2489, allocations: 145.2 kB / 0.8352 GB, free: 8.867 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.889e-05/0.2489, allocations: 3.938 kB / 0.8352 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002038/0.251, allocations: 1.08 MB / 0.8362 GB, free: 7.781 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.251, allocations: 4 kB / 0.8363 GB, free: 7.777 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.264e-06/0.251, allocations: 0 / 0.8363 GB, free: 7.777 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.271e-05/0.251, allocations: 0 / 0.8363 GB, free: 7.777 MB / 0.6544 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.000958/0.252, allocations: 0.5334 MB / 0.8368 GB, free: 7.199 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.2521, allocations: 12.02 kB / 0.8368 GB, free: 7.188 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.999e-05/0.2521, allocations: 12.88 kB / 0.8368 GB, free: 7.176 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.2523, allocations: 164.3 kB / 0.837 GB, free: 6.977 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.2523, allocations: 384 / 0.837 GB, free: 6.977 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.2523, allocations: 4.125 kB / 0.837 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.2525, allocations: 173.6 kB / 0.8371 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.2525, allocations: 0 / 0.8371 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.2525, allocations: 0 / 0.8371 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.2525, allocations: 0 / 0.8371 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002536/0.2528, allocations: 283.9 kB / 0.8374 GB, free: 6.52 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003071/0.2531, allocations: 289.6 kB / 0.8377 GB, free: 6.188 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.2533, allocations: 162.5 kB / 0.8378 GB, free: 6.02 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.2534, allocations: 148.8 kB / 0.838 GB, free: 5.871 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.2534, allocations: 0 / 0.838 GB, free: 5.871 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.2535, allocations: 34.56 kB / 0.838 GB, free: 5.828 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.2535, allocations: 0 / 0.838 GB, free: 5.828 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0004531/0.2539, allocations: 449.5 kB / 0.8384 GB, free: 5.383 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.254, allocations: 63.34 kB / 0.8385 GB, free: 5.309 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.2541, allocations: 161.8 kB / 0.8386 GB, free: 5.141 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.2541, allocations: 29.95 kB / 0.8387 GB, free: 5.105 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.764e-05/0.2542, allocations: 84.14 kB / 0.8388 GB, free: 5.02 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.2542, allocations: 3.906 kB / 0.8388 GB, free: 5.016 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/0.2542, allocations: 13.72 kB / 0.8388 GB, free: 4.996 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.2544, allocations: 314.8 kB / 0.8391 GB, free: 4.68 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.2545, allocations: 144 kB / 0.8392 GB, free: 4.539 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.2546, allocations: 139.9 kB / 0.8393 GB, free: 4.402 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.2548, allocations: 288.8 kB / 0.8396 GB, free: 4.117 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.2548, allocations: 3.984 kB / 0.8396 GB, free: 4.113 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000255/0.2551, allocations: 313.5 kB / 0.8399 GB, free: 3.801 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.2551, allocations: 4 kB / 0.8399 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2551, allocations: 3.938 kB / 0.8399 GB, free: 3.793 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.2552, allocations: 0 / 0.8399 GB, free: 3.793 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.35e-05/0.2552, allocations: 7.984 kB / 0.8399 GB, free: 3.785 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2553, allocations: 0 / 0.8399 GB, free: 3.785 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.764e-05/0.2553, allocations: 7.938 kB / 0.8399 GB, free: 3.777 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.2553, allocations: 0 / 0.8399 GB, free: 3.777 MB / 0.6544 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.0001076/0.2555, allocations: 173.8 kB / 0.8401 GB, free: 3.598 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.242e-05/0.2555, allocations: 3.938 kB / 0.8401 GB, free: 3.594 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003168/0.2558, allocations: 320.6 kB / 0.8404 GB, free: 3.27 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.2558, allocations: 0 / 0.8404 GB, free: 3.27 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2558, allocations: 0 / 0.8404 GB, free: 3.27 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2558, allocations: 0 / 0.8404 GB, free: 3.27 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.2561, allocations: 293.6 kB / 0.8407 GB, free: 2.934 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.2561, allocations: 0 / 0.8407 GB, free: 2.934 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.11e-07/0.2561, allocations: 0 / 0.8407 GB, free: 2.934 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2561, allocations: 4.031 kB / 0.8407 GB, free: 2.93 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.2561, allocations: 0 / 0.8407 GB, free: 2.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2561, allocations: 3.938 kB / 0.8407 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2561, allocations: 0 / 0.8407 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002755/0.2564, allocations: 341 kB / 0.841 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.401e-05/0.2564, allocations: 85.09 kB / 0.8411 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.12e-05/0.2565, allocations: 0 / 0.8411 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.122e-05/0.2566, allocations: 0 / 0.8411 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.332e-05/0.2566, allocations: 4.031 kB / 0.8411 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.2566, allocations: 4 kB / 0.8411 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.903e-05/0.2567, allocations: 151.2 kB / 0.8413 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2567, allocations: 0 / 0.8413 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009801/0.2577, allocations: 383.8 kB / 0.8416 GB, free: 1.941 MB / 0.6544 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.00197/0.2597, allocations: 0.6877 MB / 0.8423 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002922/0.26, allocations: 287.8 kB / 0.8426 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.26, allocations: 0 / 0.8426 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.2601, allocations: 169.6 kB / 0.8427 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.2603, allocations: 3.938 kB / 0.8427 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.2616, allocations: 0.9222 MB / 0.8436 GB, free: 15.91 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.2621, allocations: 0.8222 MB / 0.8444 GB, free: 15.06 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 2.312e-05/0.2621, allocations: 4 kB / 0.8444 GB, free: 15.06 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.069e-05/0.2621, allocations: 11.44 kB / 0.8445 GB, free: 15.05 MB / 0.67 GB Notification: Performance of SimCode: time 2.5e-07/0.2621, allocations: 0 / 0.8445 GB, free: 15.05 MB / 0.67 GB Notification: Performance of Templates: time 0.0223/0.2845, allocations: 8.277 MB / 0.8525 GB, free: 6.816 MB / 0.67 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)