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.001027/0.001027, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005212/0.005212, allocations: 171.2 kB / 16.27 MB, free: 6.652 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.427/1.427, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.505/1.505, allocations: 252 MB / 0.5105 GB, free: 4.656 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.0005357/0.0005358, allocations: 12 kB / 0.6249 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4356/0.4361, allocations: 106.3 MB / 0.7288 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001261/0.4374, allocations: 0.9838 MB / 0.7297 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004898/0.4423, allocations: 3.484 MB / 0.7331 GB, free: 6.895 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.677e-05/0.4424, allocations: 0 / 0.7331 GB, free: 6.895 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.117e-05/0.4424, allocations: 0 / 0.7331 GB, free: 6.895 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.002327/0.4448, allocations: 0.7749 MB / 0.7339 GB, free: 6.117 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 7.832e-05/0.4449, allocations: 23.97 kB / 0.7339 GB, free: 6.094 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.789e-05/0.4449, allocations: 39.89 kB / 0.7339 GB, free: 6.055 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.031e-05/0.445, allocations: 0 / 0.7339 GB, free: 6.055 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.117e-05/0.445, allocations: 4 kB / 0.7339 GB, free: 6.051 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.929e-05/0.4451, allocations: 62.56 kB / 0.734 GB, free: 5.988 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.547e-06/0.4451, allocations: 0 / 0.734 GB, free: 5.988 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002197/0.4473, allocations: 1.447 MB / 0.7354 GB, free: 4.539 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.4475, allocations: 153.2 kB / 0.7356 GB, free: 4.391 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.272e-05/0.4476, allocations: 54.92 kB / 0.7356 GB, free: 4.332 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002218/0.4498, allocations: 1.113 MB / 0.7367 GB, free: 3.219 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.4498, allocations: 0 / 0.7367 GB, free: 3.219 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.404e-06/0.4498, allocations: 0 / 0.7367 GB, free: 3.219 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.4498, allocations: 4 kB / 0.7367 GB, free: 3.215 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.0007448/0.4506, allocations: 0.5228 MB / 0.7372 GB, free: 2.645 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.4506, allocations: 16.02 kB / 0.7372 GB, free: 2.629 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.4507, allocations: 0.9375 kB / 0.7372 GB, free: 2.629 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.4508, allocations: 168.3 kB / 0.7374 GB, free: 2.426 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.4508, allocations: 4.312 kB / 0.7374 GB, free: 2.422 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.4509, allocations: 8.062 kB / 0.7374 GB, free: 2.414 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.4511, allocations: 165.6 kB / 0.7376 GB, free: 2.246 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.4511, allocations: 0 / 0.7376 GB, free: 2.246 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.4511, allocations: 4 kB / 0.7376 GB, free: 2.242 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.4511, allocations: 3.938 kB / 0.7376 GB, free: 2.238 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002079/0.4513, allocations: 283.9 kB / 0.7378 GB, free: 1.961 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002814/0.4516, allocations: 289.6 kB / 0.7381 GB, free: 1.629 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.4518, allocations: 158.5 kB / 0.7383 GB, free: 1.465 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.4519, allocations: 148.8 kB / 0.7384 GB, free: 1.316 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.314e-06/0.4519, allocations: 0 / 0.7384 GB, free: 1.316 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.4519, allocations: 30.56 kB / 0.7384 GB, free: 1.277 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.031e-06/0.4519, allocations: 0 / 0.7384 GB, free: 1.277 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.00042/0.4524, allocations: 461.5 kB / 0.7389 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.4524, allocations: 51.41 kB / 0.7389 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.4525, allocations: 165.8 kB / 0.7391 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.4525, allocations: 25.7 kB / 0.7391 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.465e-05/0.4526, allocations: 80.14 kB / 0.7392 GB, free: 484 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.4526, allocations: 0 / 0.7392 GB, free: 484 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-05/0.4526, allocations: 13.72 kB / 0.7392 GB, free: 464 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.4527, allocations: 319 kB / 0.7395 GB, free: 136 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.4528, allocations: 144 kB / 0.7396 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.453, allocations: 139.9 kB / 0.7398 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.4532, allocations: 284.8 kB / 0.74 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4532, allocations: 0 / 0.74 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002454/0.4534, allocations: 317.5 kB / 0.7403 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.4535, allocations: 4 kB / 0.7404 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.4535, allocations: 0 / 0.7404 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.4535, allocations: 96 / 0.7404 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.353e-05/0.4535, allocations: 12 kB / 0.7404 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.4536, allocations: 0 / 0.7404 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.986e-05/0.4536, allocations: 11.91 kB / 0.7404 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.4537, allocations: 0 / 0.7404 GB, free: 15.23 MB / 0.5606 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.0001031/0.4538, allocations: 173.8 kB / 0.7405 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.348e-06/0.4538, allocations: 7.844 kB / 0.7405 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002814/0.4541, allocations: 316.7 kB / 0.7408 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.4541, allocations: 0 / 0.7408 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.4541, allocations: 4.031 kB / 0.7409 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.4541, allocations: 0 / 0.7409 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002162/0.4543, allocations: 293.6 kB / 0.7411 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.4543, allocations: 0 / 0.7411 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.4543, allocations: 3.938 kB / 0.7411 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4543, allocations: 0 / 0.7411 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.4543, allocations: 3.938 kB / 0.7411 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4544, allocations: 0 / 0.7411 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4544, allocations: 4 kB / 0.7411 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.4546, allocations: 340.9 kB / 0.7415 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-05/0.4547, allocations: 89.09 kB / 0.7416 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.896e-05/0.4547, allocations: 0 / 0.7416 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.75e-05/0.4548, allocations: 0 / 0.7416 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.01e-05/0.4548, allocations: 0 / 0.7416 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.4548, allocations: 0 / 0.7416 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.064e-05/0.4549, allocations: 151.2 kB / 0.7417 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4549, allocations: 0 / 0.7417 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008218/0.4558, allocations: 391.9 kB / 0.7421 GB, free: 13.39 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.001638/0.4574, allocations: 0.6863 MB / 0.7427 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002544/0.4577, allocations: 283.9 kB / 0.743 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.4577, allocations: 0 / 0.743 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.4578, allocations: 173.6 kB / 0.7432 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.458, allocations: 5.344 kB / 0.7432 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.4592, allocations: 1.012 MB / 0.7442 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.4596, allocations: 0.8146 MB / 0.745 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.216e-05/0.4596, allocations: 8 kB / 0.745 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.026e-05/0.4596, allocations: 15.42 kB / 0.745 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of SimCode: time 6.52e-07/0.4596, allocations: 0 / 0.745 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of Templates: time 0.01393/0.4736, allocations: 8.083 MB / 0.7529 GB, free: 2.367 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: