Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 105 kB / 16.52 MB, free: 6.656 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.00159/0.001591, allocations: 198.7 kB / 17.44 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 241.1 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.72/0.72, allocations: 115.3 MB / 406.6 MB, free: 6.426 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 59.91 kB / 493.6 MB, free: 0.8008 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4307/0.432, allocations: 76.17 MB / 0.5564 GB, free: 36.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001874/0.434, allocations: 0.5952 MB / 0.557 GB, free: 35.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009955/0.435, allocations: 0.788 MB / 0.5578 GB, free: 35.24 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.307e-05/0.435, allocations: 0.9375 kB / 0.5578 GB, free: 35.24 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.756e-05/0.435, allocations: 0 / 0.5578 GB, free: 35.24 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.899e-06/0.4351, allocations: 1.812 kB / 0.5578 GB, free: 35.24 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.4353, allocations: 16.34 kB / 0.5578 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.858e-05/0.4353, allocations: 4.219 kB / 0.5578 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.828e-05/0.4354, allocations: 0 / 0.5578 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.664e-05/0.4354, allocations: 1.344 kB / 0.5578 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.4356, allocations: 19.61 kB / 0.5578 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.355e-06/0.4356, allocations: 0 / 0.5578 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.229e-06/0.4356, allocations: 3.875 kB / 0.5578 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.085e-05/0.4356, allocations: 3.938 kB / 0.5578 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.337e-05/0.4357, allocations: 0 / 0.5578 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 3.056e-05/0.4357, allocations: 1.438 kB / 0.5578 GB, free: 35.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.4357, allocations: 0 / 0.5578 GB, free: 35.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.4357, allocations: 0 / 0.5578 GB, free: 35.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.4357, allocations: 0 / 0.5578 GB, free: 35.23 MB / 446.1 MB 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.0002693/0.436, allocations: 314 kB / 0.5581 GB, free: 34.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.436, allocations: 13.34 kB / 0.5581 GB, free: 34.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.823e-05/0.4361, allocations: 4.406 kB / 0.5581 GB, free: 34.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.031e-05/0.4362, allocations: 161.3 kB / 0.5583 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.4362, allocations: 384 / 0.5583 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.4362, allocations: 2.75 kB / 0.5583 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.061e-05/0.4363, allocations: 31.58 kB / 0.5583 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.4363, allocations: 5.922 kB / 0.5583 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.597e-06/0.4363, allocations: 1.094 kB / 0.5583 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.4363, allocations: 1.344 kB / 0.5583 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.807e-05/0.4363, allocations: 1.312 kB / 0.5583 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002536/0.4366, allocations: 378.4 kB / 0.5587 GB, free: 34.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.916e-05/0.4367, allocations: 171 kB / 0.5589 GB, free: 34.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.133e-05/0.4367, allocations: 86.55 kB / 0.5589 GB, free: 33.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.4367, allocations: 80.69 kB / 0.559 GB, free: 33.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.4368, allocations: 109.7 kB / 0.5591 GB, free: 33.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.4368, allocations: 0 / 0.5591 GB, free: 33.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.377e-05/0.4368, allocations: 26.95 kB / 0.5591 GB, free: 33.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.4369, allocations: 129.5 kB / 0.5593 GB, free: 33.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.269e-05/0.437, allocations: 92.17 kB / 0.5594 GB, free: 33.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.261e-06/0.437, allocations: 25.7 kB / 0.5594 GB, free: 33.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.493e-05/0.437, allocations: 83.48 kB / 0.5595 GB, free: 33.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.346e-06/0.437, allocations: 0 / 0.5595 GB, free: 33.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.53e-05/0.437, allocations: 17.48 kB / 0.5595 GB, free: 33.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.782e-05/0.4371, allocations: 310.8 kB / 0.5598 GB, free: 33.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.109e-05/0.4371, allocations: 7.969 kB / 0.5598 GB, free: 33.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.689e-06/0.4371, allocations: 9.375 kB / 0.5598 GB, free: 33.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.42e-05/0.4371, allocations: 6.938 kB / 0.5598 GB, free: 33.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4372, allocations: 3.938 kB / 0.5598 GB, free: 33.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.138e-05/0.4373, allocations: 34.52 kB / 0.5598 GB, free: 33.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.4373, allocations: 6.5 kB / 0.5598 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4373, allocations: 0.5625 kB / 0.5598 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.4373, allocations: 0.5625 kB / 0.5598 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.219e-05/0.4374, allocations: 2.406 kB / 0.5598 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.4374, allocations: 0.8125 kB / 0.5598 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.213e-05/0.4374, allocations: 5.469 kB / 0.5598 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.4374, allocations: 1.578 kB / 0.5598 GB, free: 33 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * 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 6.807e-05/0.4375, allocations: 197.5 kB / 0.56 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.066e-05/0.4375, allocations: 102.3 kB / 0.5601 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.115e-05/0.4376, allocations: 113.6 kB / 0.5602 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.225e-05/0.4376, allocations: 180.2 kB / 0.5604 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.14e-05/0.4376, allocations: 179.6 kB / 0.5606 GB, free: 32.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.217e-05/0.4377, allocations: 185.4 kB / 0.5608 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.4378, allocations: 401.4 kB / 0.5611 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.191e-05/0.4378, allocations: 108.1 kB / 0.5612 GB, free: 31.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.866e-05/0.4379, allocations: 109 kB / 0.5613 GB, free: 31.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.4e-05/0.4379, allocations: 177.5 kB / 0.5615 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.7e-05/0.4379, allocations: 187 kB / 0.5617 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-05/0.438, allocations: 177.4 kB / 0.5619 GB, free: 30.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.03e-05/0.438, allocations: 178.3 kB / 0.562 GB, free: 30.65 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.263e-05/0.4381, allocations: 312.9 kB / 0.5623 GB, free: 30.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.293e-05/0.4382, allocations: 191.8 kB / 0.5625 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/0.4382, allocations: 182 kB / 0.5627 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.774e-05/0.4383, allocations: 103.1 kB / 0.5628 GB, free: 29.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.4383, allocations: 185 kB / 0.563 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.4383, allocations: 103.7 kB / 0.5631 GB, free: 29.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.069e-05/0.4384, allocations: 78.19 kB / 0.5631 GB, free: 29.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4384, allocations: 0 / 0.5631 GB, free: 29.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002136/0.4386, allocations: 1.344 kB / 0.5631 GB, free: 29.46 MB / 446.1 MB 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 (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0001284/0.4387, allocations: 183 kB / 0.5633 GB, free: 29.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.023e-05/0.4388, allocations: 6.688 kB / 0.5633 GB, free: 29.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4388, allocations: 0.9375 kB / 0.5633 GB, free: 29.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.4388, allocations: 3.938 kB / 0.5633 GB, free: 29.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.4391, allocations: 0.5237 MB / 0.5638 GB, free: 28.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001844/0.4393, allocations: 174.1 kB / 0.564 GB, free: 28.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.4394, allocations: 0.6712 MB / 0.5647 GB, free: 27.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.905e-05/0.4395, allocations: 12.47 kB / 0.5647 GB, free: 27.86 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4395, allocations: 1.281 kB / 0.5647 GB, free: 27.86 MB / 446.1 MB Notification: Performance of Templates: time 0.001671/0.4412, allocations: 319.7 kB / 0.565 GB, free: 27.86 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)