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.001102/0.001102, allocations: 109.2 kB / 17.02 MB, free: 6.121 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.001123/0.001123, allocations: 194.9 kB / 17.97 MB, free: 5.211 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.3/1.3, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7187/0.7187, allocations: 115.1 MB / 406.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.91 kB / 494.8 MB, free: 15.8 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3012, allocations: 76.15 MB / 0.5576 GB, free: 36.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001557/0.3028, allocations: 0.5238 MB / 0.5581 GB, free: 36.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006902/0.3035, allocations: 0.7726 MB / 0.5589 GB, free: 35.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.222e-05/0.3035, allocations: 3.375 kB / 0.5589 GB, free: 35.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.435e-05/0.3035, allocations: 0 / 0.5589 GB, free: 35.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.388e-06/0.3036, allocations: 0 / 0.5589 GB, free: 35.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000252/0.3038, allocations: 27.59 kB / 0.5589 GB, free: 35.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.426e-05/0.3039, allocations: 2.312 kB / 0.5589 GB, free: 35.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.883e-05/0.3039, allocations: 1.125 kB / 0.5589 GB, free: 35.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.193e-05/0.3039, allocations: 2.312 kB / 0.5589 GB, free: 35.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.304, allocations: 19.34 kB / 0.5589 GB, free: 35.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.171e-06/0.3041, allocations: 1.312 kB / 0.5589 GB, free: 35.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.687e-06/0.3041, allocations: 1.281 kB / 0.5589 GB, free: 35.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.165e-06/0.3041, allocations: 3.938 kB / 0.5589 GB, free: 35.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.35e-05/0.3041, allocations: 4.828 kB / 0.5589 GB, free: 35.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 3.118e-05/0.3041, allocations: 1.594 kB / 0.5589 GB, free: 35.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.3041, allocations: 5 kB / 0.5589 GB, free: 35.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3041, allocations: 3.938 kB / 0.5589 GB, free: 35.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.3042, allocations: 0 / 0.5589 GB, free: 35.61 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.0001672/0.3043, allocations: 308.8 kB / 0.5592 GB, free: 35.26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.3044, allocations: 10.56 kB / 0.5593 GB, free: 35.26 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.009e-05/0.3044, allocations: 3.047 kB / 0.5593 GB, free: 35.26 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.53e-05/0.3044, allocations: 161.1 kB / 0.5594 GB, free: 35.06 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-06/0.3045, allocations: 5.688 kB / 0.5594 GB, free: 35.06 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.3045, allocations: 1.719 kB / 0.5594 GB, free: 35.06 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.188e-05/0.3045, allocations: 29.56 kB / 0.5594 GB, free: 35.03 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.3045, allocations: 2.531 kB / 0.5594 GB, free: 35.03 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.3046, allocations: 3.938 kB / 0.5595 GB, free: 35.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.3046, allocations: 1 kB / 0.5595 GB, free: 35.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.427e-05/0.3046, allocations: 1.281 kB / 0.5595 GB, free: 35.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001701/0.3048, allocations: 384.5 kB / 0.5598 GB, free: 34.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.767e-05/0.3048, allocations: 170.5 kB / 0.56 GB, free: 34.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.26e-05/0.3048, allocations: 80.14 kB / 0.5601 GB, free: 34.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.3048, allocations: 76.66 kB / 0.5601 GB, free: 34.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.3049, allocations: 111.6 kB / 0.5602 GB, free: 34.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.323e-06/0.3049, allocations: 4.859 kB / 0.5602 GB, free: 34.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 5.558e-05/0.3049, allocations: 35.14 kB / 0.5603 GB, free: 34.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.305, allocations: 131.4 kB / 0.5604 GB, free: 33.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.807e-05/0.305, allocations: 95.86 kB / 0.5605 GB, free: 33.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.408e-06/0.305, allocations: 27.02 kB / 0.5605 GB, free: 33.85 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.298e-05/0.305, allocations: 80.14 kB / 0.5606 GB, free: 33.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.256e-06/0.3051, allocations: 1.125 kB / 0.5606 GB, free: 33.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.182e-05/0.3051, allocations: 16.53 kB / 0.5606 GB, free: 33.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.543e-05/0.3051, allocations: 311.9 kB / 0.5609 GB, free: 33.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.183e-06/0.3051, allocations: 2.25 kB / 0.5609 GB, free: 33.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.799e-06/0.3051, allocations: 5.188 kB / 0.5609 GB, free: 33.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.871e-05/0.3052, allocations: 7.797 kB / 0.5609 GB, free: 33.42 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3052, allocations: 4.469 kB / 0.5609 GB, free: 33.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.245e-05/0.3052, allocations: 39.17 kB / 0.561 GB, free: 33.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.3053, allocations: 4.281 kB / 0.561 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3053, allocations: 2.125 kB / 0.561 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.3053, allocations: 1.344 kB / 0.561 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.131e-05/0.3053, allocations: 1.156 kB / 0.561 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.3053, allocations: 1.156 kB / 0.561 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.077e-06/0.3054, allocations: 0 / 0.561 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.3054, allocations: 3.344 kB / 0.561 GB, free: 33.38 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 4.078e-05/0.3054, allocations: 185.1 kB / 0.5612 GB, free: 33.19 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.351e-05/0.3055, allocations: 105.5 kB / 0.5613 GB, free: 33.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.883e-05/0.3055, allocations: 123 kB / 0.5614 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-05/0.3055, allocations: 178.1 kB / 0.5615 GB, free: 32.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.115e-05/0.3055, allocations: 181.3 kB / 0.5617 GB, free: 32.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.837e-05/0.3056, allocations: 181.2 kB / 0.5619 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.3057, allocations: 409 kB / 0.5623 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/0.3057, allocations: 104.3 kB / 0.5624 GB, free: 31.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.072e-05/0.3057, allocations: 102.1 kB / 0.5625 GB, free: 31.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.899e-05/0.3057, allocations: 181.5 kB / 0.5626 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.3057, allocations: 179.9 kB / 0.5628 GB, free: 31.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.812e-05/0.3058, allocations: 181.2 kB / 0.563 GB, free: 31.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-05/0.3058, allocations: 179.4 kB / 0.5632 GB, free: 31.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.56e-05/0.3059, allocations: 315.6 kB / 0.5635 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.502e-05/0.3059, allocations: 183.1 kB / 0.5636 GB, free: 30.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.3059, allocations: 184.4 kB / 0.5638 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.122e-05/0.306, allocations: 107.2 kB / 0.5639 GB, free: 30.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.303e-05/0.306, allocations: 177.6 kB / 0.5641 GB, free: 30.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.306, allocations: 107.2 kB / 0.5642 GB, free: 29.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.673e-05/0.306, allocations: 78.55 kB / 0.5643 GB, free: 29.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.306, allocations: 0 / 0.5643 GB, free: 29.85 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002144/0.3063, allocations: 2.094 kB / 0.5643 GB, free: 29.85 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 8.529e-05/0.3064, allocations: 181.9 kB / 0.5644 GB, free: 29.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 4.671e-05/0.3064, allocations: 3.844 kB / 0.5644 GB, free: 29.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3064, allocations: 0.5 kB / 0.5644 GB, free: 29.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.3064, allocations: 1.781 kB / 0.5644 GB, free: 29.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.3067, allocations: 467.2 kB / 0.5649 GB, free: 29.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001363/0.3068, allocations: 153.7 kB / 0.565 GB, free: 29.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.767e-05/0.3069, allocations: 0.6717 MB / 0.5657 GB, free: 28.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.207e-06/0.3069, allocations: 1.344 kB / 0.5657 GB, free: 28.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.226e-05/0.3069, allocations: 7.438 kB / 0.5657 GB, free: 28.35 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3069, allocations: 0 / 0.5657 GB, free: 28.35 MB / 446.1 MB Notification: Performance of Templates: time 0.001719/0.3087, allocations: 185.7 kB / 0.5659 GB, free: 28.33 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)