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.001342/0.001342, allocations: 106 kB / 16.41 MB, free: 6.461 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.001161/0.001161, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.353/1.353, allocations: 222.9 MB / 241 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.002345/0.002344, allocations: 288 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9719/0.9719, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 95.86 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5008/0.5029, allocations: 86.98 MB / 0.7671 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001982/0.505, allocations: 0.5348 MB / 0.7676 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.5061, allocations: 0.7805 MB / 0.7684 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.074e-05/0.5061, allocations: 0 / 0.7684 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.344e-05/0.5061, allocations: 3.938 kB / 0.7684 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.494e-06/0.5062, allocations: 0 / 0.7684 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003124/0.5065, allocations: 19.98 kB / 0.7684 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.877e-05/0.5065, allocations: 7.875 kB / 0.7684 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.683e-05/0.5066, allocations: 3.984 kB / 0.7684 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.735e-05/0.5066, allocations: 4 kB / 0.7684 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.5068, allocations: 23.92 kB / 0.7684 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.616e-06/0.5068, allocations: 0 / 0.7684 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.729e-06/0.5068, allocations: 0 / 0.7684 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.139e-05/0.5068, allocations: 0 / 0.7684 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.907e-05/0.5068, allocations: 0 / 0.7684 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 4.907e-05/0.5069, allocations: 3.984 kB / 0.7684 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.5069, allocations: 0 / 0.7684 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.375e-06/0.5069, allocations: 0 / 0.7684 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.5069, allocations: 0 / 0.7684 GB, free: 2.566 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.0003273/0.5073, allocations: 319.6 kB / 0.7687 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.5073, allocations: 8.031 kB / 0.7687 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.374e-05/0.5074, allocations: 4.938 kB / 0.7688 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.5075, allocations: 164.4 kB / 0.7689 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.5075, allocations: 384 / 0.7689 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-06/0.5075, allocations: 384 / 0.7689 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.5076, allocations: 30.25 kB / 0.7689 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.5076, allocations: 4.172 kB / 0.7689 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.5077, allocations: 7.938 kB / 0.769 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.5077, allocations: 4 kB / 0.769 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.116e-05/0.5077, allocations: 3.938 kB / 0.769 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003522/0.508, allocations: 371.5 kB / 0.7693 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.5082, allocations: 177.1 kB / 0.7695 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.082e-05/0.5082, allocations: 84.14 kB / 0.7696 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.99e-05/0.5083, allocations: 79.28 kB / 0.7696 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.459e-05/0.5083, allocations: 113.8 kB / 0.7697 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 1.001e-06/0.5083, allocations: 0 / 0.7697 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 8.064e-05/0.5084, allocations: 25.7 kB / 0.7698 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.716e-05/0.5085, allocations: 134.6 kB / 0.7699 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.919e-05/0.5086, allocations: 93.86 kB / 0.77 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.5087, allocations: 25.7 kB / 0.77 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.239e-05/0.5087, allocations: 80.14 kB / 0.7701 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-06/0.5087, allocations: 0 / 0.7701 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.5088, allocations: 21.62 kB / 0.7701 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.5089, allocations: 310.8 kB / 0.7704 GB, free: 332 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.07e-05/0.5089, allocations: 3.984 kB / 0.7704 GB, free: 328 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.472e-06/0.5089, allocations: 4 kB / 0.7704 GB, free: 324 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.98e-05/0.509, allocations: 12.98 kB / 0.7704 GB, free: 308 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.509, allocations: 0 / 0.7704 GB, free: 308 kB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001183/0.5091, allocations: 33.64 kB / 0.7705 GB, free: 268 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.5091, allocations: 11.94 kB / 0.7705 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.5091, allocations: 0 / 0.7705 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.5091, allocations: 0 / 0.7705 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.217e-05/0.5092, allocations: 0 / 0.7705 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.5092, allocations: 0 / 0.7705 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.222e-05/0.5092, allocations: 3.656 kB / 0.7705 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-06/0.5092, allocations: 8.031 kB / 0.7705 GB, free: 248 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 0.0001073/0.5094, allocations: 193 kB / 0.7707 GB, free: 44 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.939e-05/0.5094, allocations: 104.9 kB / 0.7708 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.174e-05/0.5095, allocations: 106 kB / 0.7709 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.858e-05/0.5096, allocations: 184.2 kB / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.609e-05/0.5097, allocations: 176.3 kB / 0.7712 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.34e-05/0.5098, allocations: 188.2 kB / 0.7714 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.5101, allocations: 405.1 kB / 0.7718 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.144e-05/0.5101, allocations: 101 kB / 0.7719 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.452e-05/0.5102, allocations: 104.9 kB / 0.772 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.284e-05/0.5102, allocations: 180.2 kB / 0.7721 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-05/0.5103, allocations: 188.3 kB / 0.7723 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.011e-05/0.5104, allocations: 180.2 kB / 0.7725 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.251e-05/0.5105, allocations: 176.3 kB / 0.7727 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.5107, allocations: 315.7 kB / 0.773 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.347e-05/0.5108, allocations: 182.1 kB / 0.7731 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.716e-05/0.5109, allocations: 188.2 kB / 0.7733 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.948e-05/0.511, allocations: 101.3 kB / 0.7734 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.016e-05/0.5111, allocations: 188.1 kB / 0.7736 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-05/0.5111, allocations: 105 kB / 0.7737 GB, free: 12.73 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.115e-05/0.5112, allocations: 79.28 kB / 0.7738 GB, free: 12.65 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5112, allocations: 0 / 0.7738 GB, free: 12.65 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002257/0.5114, allocations: 4.094 kB / 0.7738 GB, free: 12.65 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.0001644/0.5116, allocations: 178.5 kB / 0.7739 GB, free: 12.46 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.437e-05/0.5117, allocations: 4 kB / 0.7739 GB, free: 12.46 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5117, allocations: 3.938 kB / 0.774 GB, free: 12.45 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.5117, allocations: 0 / 0.774 GB, free: 12.45 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004704/0.5121, allocations: 459.7 kB / 0.7744 GB, free: 12 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002561/0.5124, allocations: 182 kB / 0.7746 GB, free: 11.79 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.5128, allocations: 0.669 MB / 0.7752 GB, free: 11.09 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.025e-05/0.5128, allocations: 7.438 kB / 0.7752 GB, free: 11.09 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.5128, allocations: 0 / 0.7752 GB, free: 11.09 MB / 0.545 GB Notification: Performance of Templates: time 0.001943/0.5147, allocations: 332.1 kB / 0.7755 GB, free: 10.77 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)