Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.005069/0.005069, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001237/0.001237, allocations: 197.6 kB / 16.68 MB, free: 5.93 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.251/1.251, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00202/0.00202, allocations: 292.8 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8969/0.8969, allocations: 169.3 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 91.86 kB / 0.6815 GB, free: 6.906 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.381, allocations: 86.98 MB / 0.7664 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001437/0.3824, allocations: 0.5384 MB / 0.7669 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007793/0.3832, allocations: 0.7766 MB / 0.7677 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.336e-05/0.3832, allocations: 0 / 0.7677 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.093e-05/0.3833, allocations: 0 / 0.7677 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.511e-06/0.3833, allocations: 4 kB / 0.7677 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.3835, allocations: 19.92 kB / 0.7677 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.48e-05/0.3836, allocations: 8 kB / 0.7677 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.158e-05/0.3836, allocations: 3.984 kB / 0.7677 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.13e-05/0.3836, allocations: 0 / 0.7677 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.3838, allocations: 19.92 kB / 0.7678 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.184e-06/0.3838, allocations: 0 / 0.7678 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 3.397e-06/0.3838, allocations: 0 / 0.7678 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.075e-06/0.3838, allocations: 3.938 kB / 0.7678 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.363e-05/0.3838, allocations: 4 kB / 0.7678 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 3.768e-05/0.3839, allocations: 7.984 kB / 0.7678 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3839, allocations: 0 / 0.7678 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3839, allocations: 0 / 0.7678 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.3839, allocations: 0 / 0.7678 GB, free: 2.496 MB / 0.5294 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.0002342/0.3841, allocations: 311.6 kB / 0.7681 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.3842, allocations: 12.03 kB / 0.7681 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.315e-05/0.3842, allocations: 0.9375 kB / 0.7681 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.873e-05/0.3843, allocations: 160.4 kB / 0.7682 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.3843, allocations: 4.375 kB / 0.7682 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.665e-06/0.3843, allocations: 384 / 0.7682 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.736e-05/0.3844, allocations: 38.19 kB / 0.7683 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.82e-06/0.3844, allocations: 192 / 0.7683 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.3844, allocations: 3.938 kB / 0.7683 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3844, allocations: 0 / 0.7683 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.406e-05/0.3844, allocations: 0 / 0.7683 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002499/0.3847, allocations: 379.5 kB / 0.7686 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.218e-05/0.3847, allocations: 177 kB / 0.7688 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.901e-05/0.3848, allocations: 84.14 kB / 0.7689 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.3848, allocations: 79.27 kB / 0.769 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.394e-05/0.3849, allocations: 113.9 kB / 0.7691 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 3.387e-06/0.3849, allocations: 4 kB / 0.7691 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 6.017e-05/0.3849, allocations: 29.7 kB / 0.7691 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.385, allocations: 130.6 kB / 0.7692 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.936e-05/0.3851, allocations: 93.8 kB / 0.7693 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.3851, allocations: 29.7 kB / 0.7694 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.491e-05/0.3851, allocations: 80.14 kB / 0.7694 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.3851, allocations: 0 / 0.7694 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/0.3851, allocations: 13.62 kB / 0.7694 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.183e-05/0.3852, allocations: 323 kB / 0.7698 GB, free: 256 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.316e-06/0.3853, allocations: 4 kB / 0.7698 GB, free: 252 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.328e-06/0.3853, allocations: 0 / 0.7698 GB, free: 252 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.089e-05/0.3853, allocations: 4.859 kB / 0.7698 GB, free: 244 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3853, allocations: 0 / 0.7698 GB, free: 244 kB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.612e-05/0.3854, allocations: 37.64 kB / 0.7698 GB, free: 200 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.3854, allocations: 4 kB / 0.7698 GB, free: 196 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.3854, allocations: 0 / 0.7698 GB, free: 196 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.3854, allocations: 4.094 kB / 0.7698 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.133e-05/0.3855, allocations: 7.938 kB / 0.7698 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.3855, allocations: 0 / 0.7698 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.045e-05/0.3855, allocations: 3.656 kB / 0.7698 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.3855, allocations: 3.938 kB / 0.7698 GB, free: 180 kB / 0.5294 GB 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 9.395e-05/0.3856, allocations: 193 kB / 0.77 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.734e-05/0.3857, allocations: 105 kB / 0.7701 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.736e-05/0.3857, allocations: 113.9 kB / 0.7702 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.273e-05/0.3858, allocations: 176.3 kB / 0.7704 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-05/0.3858, allocations: 176.3 kB / 0.7705 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.872e-05/0.3859, allocations: 188.2 kB / 0.7707 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.3861, allocations: 401.2 kB / 0.7711 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.762e-05/0.3861, allocations: 104.9 kB / 0.7712 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.031e-05/0.3862, allocations: 109 kB / 0.7713 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-05/0.3862, allocations: 180.2 kB / 0.7715 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.216e-05/0.3863, allocations: 180.2 kB / 0.7717 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.664e-05/0.3864, allocations: 176.3 kB / 0.7718 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.975e-05/0.3864, allocations: 188.2 kB / 0.772 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.3866, allocations: 307.8 kB / 0.7723 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.587e-05/0.3866, allocations: 186 kB / 0.7725 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.1e-05/0.3867, allocations: 180.3 kB / 0.7726 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.099e-05/0.3868, allocations: 105.2 kB / 0.7727 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.3868, allocations: 184.2 kB / 0.7729 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.589e-05/0.3869, allocations: 113 kB / 0.773 GB, free: 12.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.665e-05/0.3869, allocations: 75.28 kB / 0.7731 GB, free: 12.59 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.593e-06/0.3869, allocations: 0 / 0.7731 GB, free: 12.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002024/0.3871, allocations: 3.938 kB / 0.7731 GB, free: 12.59 MB / 0.545 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 (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.0001156/0.3872, allocations: 178.5 kB / 0.7733 GB, free: 12.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 4.886e-05/0.3873, allocations: 4.094 kB / 0.7733 GB, free: 12.39 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3873, allocations: 4.062 kB / 0.7733 GB, free: 12.39 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.3873, allocations: 0 / 0.7733 GB, free: 12.39 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.3876, allocations: 467.3 kB / 0.7737 GB, free: 11.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001535/0.3878, allocations: 148.3 kB / 0.7739 GB, free: 11.76 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/0.388, allocations: 0.669 MB / 0.7745 GB, free: 11.07 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.037e-05/0.388, allocations: 4 kB / 0.7745 GB, free: 11.06 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.258e-05/0.388, allocations: 11.38 kB / 0.7745 GB, free: 11.05 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.388, allocations: 0 / 0.7745 GB, free: 11.05 MB / 0.545 GB Notification: Performance of Templates: time 0.001636/0.3897, allocations: 192.5 kB / 0.7747 GB, free: 10.91 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)